FeedBundle
FeedBundle copied to clipboard
Feed reader media items
Is there support for media items in feed reader? Thanks
Hello @aarsla,
This is not done in the default hydrator but you can create your in order to support it. See: https://github.com/eko/FeedBundle#read-an-xml-feed-and-populate-an-entity
Hey @eko, thank you for a quick response!
I am already using custom hydrator but couldn't find an easy way of extracting media:content and similar tags from feed reader (eko_feed.feed.reader).
My Article class implements ItemInterface and RoutedItemInterface but I need to get media from Zend\Feed\Reader\Feed\FeedInterface $entry defined in public function hydrate(FeedInterface $feed, $entityName).
Any hints appreciated. Thank you!