zend-feed icon indicating copy to clipboard operation
zend-feed copied to clipboard

Add functions to get Media (images/videos/audios) from entry description/contents

Open rajjanorkar opened this issue 7 years ago • 8 comments

Just check now a days feed entries have images/videos/contents can we have few functions to extract that details?

e.g : http://sportbild.bild.de/rss/vw-startseite/vw-startseite-45028186,sort=1,view=rss2.sport.xml

rajjanorkar avatar Oct 23 '17 14:10 rajjanorkar

@rajjanorkar

can we have few functions to extract that details?

You can extend the reader yourself, because zend-feed has a plugin system. Please check the documentation: "zend-feed – Extending Feed and Entry APIs". There will you find an example how to register a new namespace and read the specific elements. All relevant elements are described here: "Media RSS Specification".

froschdesign avatar Oct 24 '17 07:10 froschdesign

Thank you @froschdesign, i am still in learning phase looking forward to contribute to this space.

rajjanorkar avatar Nov 11 '17 09:11 rajjanorkar

I'm sorry, the last code example in documentation doesn't work anymore. (See: #44) Here can you find a workaround: https://github.com/zendframework/zend-feed/issues/54#issuecomment-343411994

froschdesign avatar Nov 11 '17 10:11 froschdesign

FWIW, MRSS is exactly the extension I've been working with, though I've only looked at thumbnails/images in my implementation. Would be great to have that in core since it seems to be popular and is very useful.

Synchro avatar Nov 13 '17 17:11 Synchro

hi @Synchro thats nice, if you dont mind can you share your extension and that will be starting point for others.

rajjanorkar avatar Nov 13 '17 21:11 rajjanorkar

I will add the support for one of the next minor releases; 2.13 or 2.14. This includes the full Media RSS specification with unit tests and documentation.

Help is always welcome! 😃

froschdesign avatar Mar 04 '19 21:03 froschdesign

This repository has been closed and moved to laminas/laminas-feed; a new issue has been opened at https://github.com/laminas/laminas-feed/issues/9.

weierophinney avatar Dec 31 '19 21:12 weierophinney