From 0e2eef386b38f2a72fac2a85e56bb98d9f005f0e Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sat, 10 Jan 2009 12:43:45 -0500 Subject: [PATCH] todo for a ubiquity shortcut --- hound/TODO.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/hound/TODO.txt b/hound/TODO.txt index 7d525b739..9bf0f8720 100644 --- a/hound/TODO.txt +++ b/hound/TODO.txt @@ -16,6 +16,26 @@ A simpler and jQuery based UI: http://jx.myofiz.com/ http://jx.myofiz.com/feedreader.html +Add a Ubiquity verb: +CmdUtils.CreateCommand({ + name: "subscribe", + description: "Subscribe to a feed for the current page in Google Reader", + help: "Subscribe to a feed for the current page in Google Reader (does same thing as their bookmarklet)", + execute: function(tags) { + var document = context.focusedWindow.document; + var b=document.body; + var GR________bookmarklet_domain='http://www.google.com'; + if (b&&!document.xmlVersion) { + void(z=document.createElement('script')); + void(z.src='http://www.google.com/reader/ui/subscribe-bookmarklet.js'); + void(b.appendChild(z)); + } else { + location = 'http://www.google.com/reader/view/feed/' + encodeURIComponent(location.href); + } + } +}) + + Resources: http://www.protocolostomy.com/2008/11/21/help-me-pick-a-new-feed-reader/ http://www.readwriteweb.com/archives/opera_96_launches_now_includes_magazine_style_rss.php -- 2.11.0