Nikolai Weibull
10/13/2004 9:49:00 PM
* Francis Hwang <sera@fhwang.net> [Oct 13, 2004 23:10]:
> Also, is it possible to use this to do parsing of multiple feeds each
> of a different version? Require "rss/2.0" seems to force me to use 2.0
> parsing for all my feeds, but what if I'm parsing a bunch of feeds with
> different versions?
Straight from Tutorial.en from rss-0.0.9:
Include this if you want to handle RSS 0.9x/1.0/2.0:
require 'rss/1.0'
require 'rss/2.0'
You don't need including it because of RSS 2.0 includes RSS 0.9x:
require 'rss/0.9'
Sure, there's no documentation in /usr/lib/ruby/1.8, but there's
certainly documentation available. Look for rss on raa. Didn't take
much work. Good luck,
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}