Syndic8-Ruby 0.1.0

March 21, 2004

Here's a set of quick Ruby bindings for Syndic8.com (via XML-RPC). Using these bindings is dirt simple; here's some sample code:

require 'syndic8'
search_str = 'cooking'

begin
  s = Syndic8.new
  s.find(search_str).each { |feed| p feed }
rescue
  puts "Error: #$!"
end

You can also run Syndic8-Ruby from the command-line. Here's an example:

$ ruby ./syndic8.rb bread | head -4
"Andy's Spot (BlackCat)","http://blackcat.editthispage.com/xml/rss.xml"
"ANN.lu","http://www.ann.lu/ANN.rdf"
"bread, coffee, chocolate, yoga","http://home.earthlink.net/~frelkins/blogger_rss.xml"
"Breadcrumbs","http://ovocyte.tripod.com/crumbs/crumbs_rss.xml"
"Bring your best, I can take it","http://www.livejournal.com/users/wonderbreadjn/data/rss"

Syndic8-Ruby: tarball, signature.