Skip to content

Instantly share code, notes, and snippets.

@atduskgreg
Created November 30, 2008 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atduskgreg/30390 to your computer and use it in GitHub Desktop.
Save atduskgreg/30390 to your computer and use it in GitHub Desktop.
include("/Users/greg/code/textual/jquery-1.2.6.js")
Electron.Feeds = function() {
Neutron.addMenu('Feeds', Neutron.menuCount() - 2);
Neutron.addMenuItem('Feeds', 'Atomicity Blog', function() {
url = "http://feeds.dailykos.com/dailykos/index.xml"
$.getJSON("http://ejohn.org/apps/rss2json/?url=" + encodeURIComponent(url) + "&t="+(new Date()).getTime()+ "&callback=?", function(data){
window.currentBuffer.text(data.content);
return false;
})
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment