# Parse rss feeds with multiple enclosures per item

**URL:** <https://www.ruby-forum.com/t/parse-rss-feeds-with-multiple-enclosures-per-item/196962>\
**Category:** Ruby\
**Created:** [May 17, 2009, 11:55am UTC](https://www.ruby-forum.com/t/parse-rss-feeds-with-multiple-enclosures-per-item/196962 "2009-05-17T11:55:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 17, 2009, 11:55am UTC](https://www.ruby-forum.com/t/parse-rss-feeds-with-multiple-enclosures-per-item/196962/1 "2009-05-17T11:55:40Z")

</div>

Hi,

Does anybody know how I may parse an rss feed with multiple enclosures  
per item.

I ve tried the ruby build in rss class, but that one only seems to  
support one enclosure per item?

Thanks a lot in advance…  
Volker

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 17, 2009, 12:07pm UTC](https://www.ruby-forum.com/t/parse-rss-feeds-with-multiple-enclosures-per-item/196962/2 "2009-05-17T12:07:58Z")

</div>

Hi,

In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
“Parse rss feeds with multiple enclosures per item” on Sun, 17 May  
2009 18:55:08 +0900,  
“removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Does anybody know how I may parse an rss feed with multiple enclosures  
> per item.
> 
> I ve tried the ruby build in rss class, but that one only seems to  
> support one enclosure per item?

Could you show an example RSS?

It seems that the RSS 2.0 specification doesn’t say multiple  
enclosures are acceptable:  
[RSS 2.0 Specification (Current)](http://www.rssboard.org/rss-specification#ltenclosuregtSubelementOfLtitemgt)

Thanks,
