public
Rubygem
Fork of jmhodges/rfeedparser
Description: rFeedParser is a translation of the Universal Feed Parser from Python into Ruby. It has nearly the exact same behavior.
Homepage: http://rfeedparser.rubyforge.org
Clone URL: git://github.com/technomancy/rfeedparser.git
info on the :strict and :loose args in #parse
Jeff Hodges (author)
Sat Oct 27 23:45:05 -0700 2007
commit  6641886a30c238d3af15056de1231792de46cca0
tree    c1d278bfed6e6a94e9c2214aa6d93c5e34ddfaed
parent  622302b8a4eeec2400bf1e57b9fa64262bc787ad
...
13
14
15
16
 
17
18
19
...
33
34
35
 
 
36
37
38
...
13
14
15
 
16
17
18
19
...
33
34
35
36
37
38
39
40
0
@@ -13,7 +13,7 @@
0
             # The above is new in 0.9.94
0
             fp = FeedParser.parse(a_url_file_stream_or_string)
0
             
0
- # These next four lines are equivalent!
0
+ # These next four lines are equivalent.
0
             fp.entries.each{ |e| puts e.title }
0
             fp.entries.each{ |e| puts e['title'] }
0
             fp['entries'].each{ |e| puts e.title }
0
@@ -33,6 +33,8 @@ longer accessible from the top level. You can still find it at
0
 <code>FeedParser.py2rtime</code></p>
0
         <p>More documentation can be found over at the <a href="http://feedparser.org/docs/">Feed Parser documentation</a> site.</p>
0
         
0
+ <p>There is one extra thing. You can subclass <code>StrictFeedParser</code> or <code>LooseFeedParser</code> and pass it to <code>FeedParser#parse</code> with the keys <code>:strict</code> and <code>:loose</code> and your subclass will be used to parse the feeds in its respective case.</p>
0
+
0
         <p>The latest release can is <a href="http://rubyforge.org/frs/?group_id=3309">0.9.94</a> and you can track new releases, send bug reports or just yell at me belligerently over at the <a href="http://rubyforge.org/projects/rfeedparser/">rFeedParser project page</a>.</p>
0
 
0
         <h2>Depedencies and Installation</h2>

Comments

    No one has commented yet.