开发者

How to get Rss image from parser

开发者 https://www.devze.com 2023-03-16 17:40 出处:网络
I am parsing rss and display it in android device. I can able to parse title, description, date and link. but whenever i tried to get image URL i cant able to get image url, i only getting null. I am

I am parsing rss and display it in android device. I can able to parse title, description, date and link. but whenever i tried to get image URL i cant able to get image url, i only getting null. I am not sure how to get image from rss feed. if anyone know how to get image from rss, please guide me. Thanks for valuabl开发者_Python百科e replies.


First step, you might want to check: http://cyber.law.harvard.edu/rss/rss.html and see that you are asking the right fields.

Also, you can use http://pipes.yahoo.com as a service to transform the rss to json and then your life will be easier on the client/andriod side.


If you are using SAX parser and its for android, please look into your RSSHandler file and add support for the media:content tag.

0

精彩评论

暂无评论...
验证码 换一张
取 消