Download & Extend

HTML in feed contents not rendering properly

Project:SimpleFeed
Version:5.x-3.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I'm having problems with html rendering in simplefeed.

It seems that html in feed content is appearing without the brackets around the tags, eg. instead of "Only local images are allowed.", I'm getting just "img". This is making my feeds look an absolute mess - basically it looks like a load of nonsense with the google news feeds having so much code in them.

I have all my filters set to full html, so that shouldn't be a problem. Could someone shed some light on this possibly?

This issue also occurred with the core aggregator module, so I'm guessing it's not an issue with simplefeed, but maybe my drupal settings somehow? I hoping it's an easy fix.

Thanks.

Comments

#1

I have this bug too in 6.x-dev.
What I already tested:
* RSS files is valid and haven't changed since 5.7 and 6.4
* RSS-file contain escaped HTML which is not converted on my server
* In D6.6 on my local mashine all works fine
* All kinds of caches was cleared.
* Remove-Install of module do not give any results

#2

The same problem

#3

Category:support request» bug report

Same problem here.

Simplefeed uses SimplePie, which uses libxml. The cause seems to be a bug in libxml: tag brackets in the feed are HTML escaped, which are then "eaten" by libxml. See http://simplepie.org/wiki/faq/problematic_feeds (the entry under Blogspot).

The solution seems to be to install the latest version of SimplePie, which is 1.1.3, see http://simplepie.org/downloads/

I just installed 1.1.3 and I'm now waiting for my feeds to refresh.

So, this is not a bug in the Simplefeed module itself. However I guess the README should mention to use 1.1.3, so setting to "bug report".