Forums / Developer / RSS Import doesn't work with HTML in feed

RSS Import doesn't work with HTML in feed

Author Message

Nathan Sharp

Friday 13 May 2005 7:21:30 am

If you try to import an RSS feed that contains HTML, such as most of the feeds off of livejournal.com (one chosen truly at random: http://www.livejournal.com/users/evillorelei/data/rss ), the cronjobs/rssimport.php will hang and eventually time out, or crash.

I have traced the problem to attempting to load the html into an ezxmltext datatype and was able to get around the problem by modifying the code to use the text2xml function defined here: http://www.ez.no/ez_publish/documentation/development/importing_attribute_data (actually, I ended up using my version of that function in my ezobjectcreator class in this package: http://www.ez.no/community/contribs/hacks/object_creator )

This to me looks like a bug, would it be appropriate to open a Bug Report on the site here?

Frederik Holljen

Friday 13 May 2005 7:25:04 am

It would indeed. Your report is very accurate so it should be relatively easy to fix.

Nathan Sharp

Friday 13 May 2005 9:01:15 am

The newly created bug:

http://ez.no/community/bugs/rss_import_doesn_t_work_with_html_in_feed