Parse the thumbnail url though Defaulthandler in android




Below is the single item from XML :
<item>
<guid>http://ift.tt/1B0KbtW;
<title>10 Things You Need Before European Markets Open</title>
<link>http://ift.tt/16PSFuM;
<pubDate>Wed, 24 Dec 2014 02:52:00 -0500</pubDate>
<media:thumbnail url="http://ift.tt/1B0KbKd" />
<media:credit>REUTERS/Dylan Martinez</media:credit>
</item>


As you have noticed all the tags have end tags accept media:thumnnail and i have to parse the attribute url value from it.


No comments:

Post a Comment