Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

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

Open
rajjanorkar opened this issue Oct 23, 2017 · 8 comments

Comments

@rajjanorkar
Copy link
Contributor

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

@froschdesign
Copy link
Member

froschdesign commented Oct 24, 2017

@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".

@rajjanorkar
Copy link
Contributor Author

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

@froschdesign
Copy link
Member

I'm sorry, the last code example in documentation doesn't work anymore. (See: #44)
Here can you find a workaround: #54 (comment)

@Synchro
Copy link
Contributor

Synchro commented Nov 13, 2017

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.

@rajjanorkar
Copy link
Contributor Author

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

@alfredleo
Copy link

A simple workaround parsing-rss-file-with-zend-2-feed-i-cant-get-media-tag

@froschdesign
Copy link
Member

froschdesign commented Mar 4, 2019

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! 😃

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-feed; a new issue has been opened at laminas/laminas-feed#9.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants