adding search engine feeds to netnewswire
Published 2008-02-01 @ 11:48
Tagged toys, thoughts
This adds uniform search across blogdigger, yahoo, and google. findory is dead. feedster and daypop simply suck and weren’t worth all the timeouts.
tell application "NetNewsWire"
activate
set search_terms to {"%22Eric+Hodel%22", "%22Ryan+Davis%22", "ImageScience", "ParseTree", "RubyInline", "ZenHacks", "autotest", "image_science", "ruby+heckle", "ruby+obfuscator", "ruby2c", "vlad+ruby", "zenspider", "zentest"}
repeat with search_term in search_terms
set the_url to "http://www.blogdigger.com/rss.jsp?queryString=" & search_term & "&sortby=date&days=20"
subscribe to the_url
set the_url to "http://news.search.yahoo.com/news/rss?p=" & search_term
subscribe to the_url
set the_url to "http://blogsearch.google.com/blogsearch_feeds?hl=en&tab=wb&q=" & search_term & "&ie=utf-8&num=10&output=rss"
subscribe to the_url
-- dead
-- set the_url to "http://www.findory.com/rss/Blogs?q=" & search_term
-- subscribe to the_url
-- sucks
-- set the_url to "http://feedster.com/search.php?q=" & search_term & "&sort=date&ie=UTF-8&limit=15&type=rss"
-- subscribe to the_url
-- sucks
-- set the_url to "http://www.daypop.com/search?q=" & search_term & "&s=1&c=10&t=a&o=rss"
-- subscribe to the_url
end repeat
end tell