cardmagic / simple-rss

A simple, flexible, extensible, and liberal RSS and Atom reader for Ruby. It is designed to be backwards compatible with the standard RSS parser, but will never do RSS generation.
https://github.com/cardmagic/simple-rss
Other
225 stars 68 forks source link

No support for multiple tags inside each item #10

Open maxweisel opened 12 years ago

maxweisel commented 12 years ago

<item>     <category>News</category>     <category>Music</category> </item>

the second category replaces the first.

ie:

feed.items.each { |entry| puts entry.category }

will only print the last category