Access enclosures link and size in Daos/MySql/Items.php?
Hi Mohi,
selfoss uses SimplePie for fetching the RSS feed. get_enclosure is a function from SimplePie and returns a SimplePie_Enclosure object. This offers following functions:
http://simplepie.org/wiki/reference/simplepie_enclosure/start
You have to check whether the enclosure object is available. I'm not sure, but I think some podcast feed just offers a simple link. In this case you don't get any further information without downloading the mp3/video file.
I hope this helps
Regards
Tobi
Complete thread:
- Access enclosures link and size in Daos/MySql/Items.php? -
mohisanisel,
2013-07-12, 16:24
- Access enclosures link and size in Daos/MySql/Items.php? -
tobi,
2013-07-13, 19:01
- Access enclosures link and size in Daos/MySql/Items.php? - mohisanisel, 2013-07-14, 12:45
- Access enclosures link and size in Daos/MySql/Items.php? -
tobi,
2013-07-13, 19:01