Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

So heres the problem Im trying to parse an xml feed with images that come from a

ID: 666784 • Letter: S

Question

So heres the problem Im trying to parse an xml feed with images that come from a media gallery.. However the feed groups all the <img src="(some Url) all under one tag..like wtf is there a way to xmlpullparse all the"src" from the following code? I also provide a snippet of my parser below the feed. ANYYY help will be appreciated!

<content:encoded>

<![CDATA[

<a href="http://www.hiphoplede.com/newposts/wilkins-street-2/"><img src="http://i1.wp.com/www.hiphoplede.com/wp-content/uploads/2015/08/wilkins-street1.jpg?resize=150%2C150" class="attachment-thumbnail" alt="ee" data-attachment-id="50" data-orig-file="http://i1.wp.com/www.hiphoplede.com/wp-content/

]]>

<![CDATA[

uploads/2015/08/wilkins-street1.jpg?resize=480%2C640" data-orig-size="480,640" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;2.4&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;iPhone 5c&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1438194295&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.12&quot;,&quot;iso&quot;:&quot;50&quot;,&quot;shutter_speed&quot;:&quot;0.0048780487804878&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="wilkins street" data-image-description="&lt;p&gt;imae&lt;/p&gt; " data-medium-file="http://i1.wp.com/www.hiphoplede.com/wp-content/uploads/2015/08/wilkins-street1.jpg?fit=300%2C300" data-large-file="http://i1.wp.com/www.hiphoplede.com/wp-content/uploads/2015/08/wilkins-street1.jpg?fit=1024%2C1024" /></a> <a href="http://www.hiphoplede.com/newposts/wilkins-side/"><img src="http://i1.wp.com/www.hiphoplede.com/wp-content/uploads/2015/08/wilkins-side.jpg?resize=150%2C150" class="attachment-thumbnail" alt="wilkins side" data-attachment-id="49" data-orig-file="http://i1.wp.com/www.hiphoplede.com/wp-content/uploads/2015/08/wilkins-side.jpg?resize=480%2C640" data-orig-size="480,640" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;2.4&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;iPhone 5c&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1438194336&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.12&quot;,&quot;iso&quot;:&quot;50&quot;,&quot;shutter_speed&quot;:&quot;0.0045454545454545&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="wilkins side" data-image-description="" data-medium-file="http://i1.wp.com/www.hiphoplede.com/wp-content/uploads/2015/08/wilkins-side.jpg?fit=300%2C300" data-large-file="http://i1.wp.com/www.hiphoplede.com/wp-content/uploads/2015/08/wilkins-side.jpg?fit=1024%2C1024" /></a> <a href="http://www.hiphoplede.com/newposts/wilkins-frt-2/"><img src="http://i2.wp.com/www.hiphoplede.com/wp-content/uploads/2015/08/wilkins-frt1.jpg?resize=150%2C150" class="attachment-thumbnail" alt="wilkins frt" data-attachment-id="48" data-orig-file="http://i2.wp.com/www.hiphoplede.com/wp-content/uploads/2015/08/wilkins-frt1.jpg?resize=480%2C640" data-orig-size="480,640" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;2.4&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;iPhone <img src="http://i2.wp.com/www.hiphoplede.com/wp-content/uploads/2015/08/wilkins-front1.jpg?resize=150%2C150" class="attachment-thumbnail" alt="wilkins front1" data-attachment-id="47" data-ori

My snippet:

but that snippet pertains to this feed:

Explanation / Answer

XMLHelper.java

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote