February 01, 2006
Minor update to script to deal with situations where the Atom item description/content is delivered with HTML entities escaped (all HTML rendered like:<img src="http://www.bigsite.com/cool/pix23545.jpg"> <a href="http://www.bigsite.com/">go</> <br>Which does not render with the HTML display option on. The code is updated on the main Maricopa site only as we plan to invoke a larger update that addresses the CSS class naming mentioned previously. This new fix is an easy edit for existing scripts. Around line 254, replace:
if ($item['content']['encoded']) { $my_blurb = $item['content']['encoded'];with
if ($item['content']['encoded']) { $my_blurb = html_entity_decode ( $item['content']['encoded'], ENT_NOQUOTES);This merely decodes the escaped HTML entities (except quotes, they should display as desired in escaped format).
Hi
I have tried similar thing to show content of others website on my blogger.com's account.I have used javascript to parse RSS/atom content.you may check it on my blog.Not something perfect bt just a try to make myown life easier.Its free and one can install it easily on his website.Details re here:
http://kadnan.blogspot.com/2006/04/fetch-da-feed-ajax-based-feed-reader.html
Posted by Adnan Siddiqi at April 29, 2006 03:34 PM