Page 1 of 1

RSS Aggregator: Superfluous HTML tags?

Posted: Wed Jan 04, 2006 11:21 pm
by hollow
Hello,
please have a look at http://planet.mausdompteur.de/index.php ... 14251.html

As you can see, there is HTML in the entry that is not parsed, but shown in it's full beauty. What did I do wrong? Does the 'Transform HTML in Comments' Markup plugin work, or is it really only working on comments?

Regards,
Harald

Posted: Thu Jan 05, 2006 3:08 am
by judebert
I'd guess it only works on comments, but I don't know for sure.

I can put HTML in my entries with no problem. I do it all the time. I'd bet one of your markup plugins (under Configure Plugins->Event Plugins)is causing you trouble. I'd remove them, one at a time, until the front page shows decent entries. Then I'd put them all back and see if there's some kind of configuration for the offending one.

Posted: Thu Jan 05, 2006 1:12 pm
by garvinhicking
I think this is a problem of the RSS feed you import. What's that feeds URL? He seems to notproperly encode his HTML.

Regards,
Garvin

Posted: Thu Jan 05, 2006 2:21 pm
by judebert
Hey Garvin,

How did you know that was an RSS aggregator? I completely missed it. I'd like to be able to tell next time.

Thanks,
Judebert

Posted: Thu Jan 05, 2006 5:07 pm
by Guest
You can't really tell, without knowing it. The categories sidebar plugin is an indicator, but apart from that I just remembered that this "Planet" was a Aggregator installation from a previous posting.,..

Regards,
Garvin

Posted: Sat Jan 07, 2006 3:05 pm
by hollow
Well, the topic points out I am talking about the RSS aggregator, no?
Anyway, I might need to write a filter to either reconvert those tags or strip than. Would that be too difficult?

Posted: Sat Jan 07, 2006 4:51 pm
by judebert
Should be dirt simple. PHP has an htmlentities function that converts escaped characters back into HTML. Sounds like it'll do exactly what you're looking for!

Posted: Sat Jan 07, 2006 6:46 pm
by garvinhicking
Hollow: The problem is that you shouldn't fix that problem on your side.

If you revert all HTML entities back to HTML code, you'll also convert entities which were properly encoded on right blogs! IF other blogs use entities to denote sourcecode, you'll convert it back to real HTML in your aggregator.

So by fixing that one buggy blog, you'll break all correct aggregated blogs.

Regards,
Garvin