alexdebril / rss-atom-bundle

RSS and Atom Bundle for Symfony
MIT License
139 stars 49 forks source link

Additional field #60

Closed waldemarnt closed 9 years ago

waldemarnt commented 9 years ago

Hello guys, i'm using your bundle, is a good bundle. But in my XML have a different field named "image", have a way to parse this field without change the bundle code? Tnx!

alexdebril commented 9 years ago

Hi,

Thanks for your feedback. Usually images are embedded in enclosure nodes, which is not yet implemented in rss-atom-bundle.

You need to extend rss-atom-bundle's parsers to handle image tags, as every tag names are hard coded.

Cheers,

Alex

waldemarnt commented 9 years ago

Hey mate. Tnx for your feedback, was it i did. I think dont have a dynamic way to handle this additional fields, the unique way is it that happens, we need create a own parser to handle, but this works fine.

Hugs!