Welcome Guest, Not a member yet? Register   Sign In
Parsing feed
#1

[eluser]gwood[/eluser]
Hi,

I am using the simplepie library from http://www.haughin.com/code/simplepie/ to parse a feed.

I am able to set up everything right and get the feed title and description working. But the problem is I am not able to get the image url. How to parse it? The feed I am using is http://feed.zazzle.com/rss?qs=hello .. It has a tag called media:thumbnail but if I use the function get_thumbnail or get_thumbnails ..it shows an error saying Fatal error: Call to undefined method SimplePie_Item::get_thumbnail().
Cany anyone check the feed and let me know how to do it. I am not really expert in this thing and hence confised a lot.????
#2

[eluser]gwood[/eluser]
Never mind! Solved it!
http://simplepie.org/wiki/reference/simp..._thumbnail




Theme © iAndrew 2016 - Forum software by © MyBB