Format RSS content to proper HTML



For example you can see in here http://ift.tt/1ymGezp


a forum thread's xml is like this



<description>
<!--QuoteBegin-DonDropUrSoap+Nov 29 2014, 07:01 AM--><div class='quotetop'>QUOTE(DonDropUrSoap &#064; Nov 29 2014, 07:01 AM)</div><div class='quotemain'><!--QuoteEBegin-->nani? nxtime i&#39;ll directly put the original link <!--emo&:peace:--><img src='http://ift.tt/Skf6yP' border='0' style='vertical-align:middle' alt='icon_rolleyes.gif' /><!--endemo--><br />[right][snapback]71709233[/snapback][/right]<br /><!--QuoteEnd--></div><!--QuoteEEnd--><br />ha...now can see...thx...I just give positive feedbacks, yours and Md11 most of the time image cannot see one.
</description>


I want to make this as json then use as restful api call but I can't proceed with above the format. Any idea how to make them proper ? convert them to html?


No comments:

Post a Comment