Buying Parse out Links & Text and output in XML

Discussion in 'Programming' started by bunbunx2, Sep 4, 2010.

  1. #1
    Heres the string of text that is output in source...

    
    				<li class="new"><em>Sep 3rd, 2010</em><img src="http://static.mydomain.com/images/cc/en.png" border="0" class="inlineimg" /> <a href="http://mydomain.com/read/claymore/30234969/1">Claymore 107</a><br class="spacer" /></li><li class="new"><em>Sep 2nd, 2010</em><img src="http://static.mydomain.com/images/cc/en.png" border="0" class="inlineimg" /> <a href="http://mydomain.com/read/bakuman/55407943/1">Bakuman 99</a><br class="spacer" /></li><li class="new"><em>Sep 2nd, 2010</em><img src="http://static.mydomain.com/images/cc/en.png" border="0" class="inlineimg" /> <a href="http://mydomain.com/read/katekyo_hitman_reborn/36156013/1">Katekyo Hitman Reborn! 304</a><br class="spacer" /></li><li class="new"><em>Sep 1st, 2010</em><img src="http://static.mydomain.com/images/cc/en.png" border="0" class="inlineimg" /> <a href="http://mydomain.com/read/naruto/72932747/1">Naruto 508</a><br class="spacer" /></li><li class="new"><em>Sep 1st, 2010</em><img src="http://static.mydomain.com/images/cc/en.png" border="0" class="inlineimg" /> <a href="http://mydomain.com/read/bleach/23917951/1">Bleach 418</a><br class="spacer" /></li><li><em>Aug 31st, 2010</em><img src="http://static.mydomain.com/images/cc/en.png" border="0" class="inlineimg" /> <a href="http://mydomain.com/read/fairy_tail/21943154/1">Fairy Tail 198</a><br class="spacer" /></li><li><em>Aug 26th, 2010</em><img src="http://static.mydomain.com/images/cc/en.png" border="0" class="inlineimg" /> <a href="http://mydomain.com/read/bakuman/73689723/1">Bakuman 98</a><br class="spacer" /></li><li><em>Aug 26th, 2010</em><img src="http://static.mydomain.com/images/cc/en.png" border="0" class="inlineimg" /> <a href="http://mydomain.com/read/bakuman/42528339/1">Bakuman 97</a><br class="spacer" /></li><li><em>Aug 26th, 2010</em><img src="http://static.mydomain.com/images/cc/en.png" border="0" class="inlineimg" /> <a href="http://mydomain.com/read/katekyo_hitman_reborn/75425421/1">Katekyo Hitman Reborn! 303</a><br class="spacer" /></li><li style="border:none;"><em>Aug 25th, 2010</em><img src="http://static.mydomain.com/images/cc/en.png" border="0" class="inlineimg" /> <a href="http://mydomain.com/read/naruto/19840303/1">Naruto 507</a><br class="spacer" /></li>			</ul>
    
    		</div>
    		<div class="spacer"></div>
    
    		<br />
    
    Code (markup):
    I need parse out the hyperlink and its text and then output in xml in this form... in simple is grabbing the hyperlink & its text then output in XML format. dont bother with the difference in title or link in this 2 examples.

    
    <rss>
    <channel>
    
    <item><link>http://www.somedomain.com/manga/ge_good_ending/</link><title>GE - Good Ending, Vol.06 Ch.049</title></item>
    <item><link>http://www.somedomain.com/manga/boy_of_the_female_wolf/</link><title>Boy of the Female Wolf, Vol.07 Ch.003</title></item>
    
    <item><link>http://www.somedomain.com/manga/beach_stars/</link><title>Beach Stars, Vol.05 Ch.050</title></item>
    
    </channel>
    </rss>
    
    Code (markup):
    Send me the working php code to do this changes and i will pay u by paypal.

    offer: DEAL CLOSE - done by kmap.

    Pm me the solution once tested i will pay to ur paypal, i will report here once job completed and done.
     
    Last edited: Sep 4, 2010
    bunbunx2, Sep 4, 2010 IP
  2. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #2
    Work completed
    payment recieved
    thanks

    Regards

    Alex
     
    Last edited: Sep 4, 2010
    kmap, Sep 4, 2010 IP