Preparing a html string for rss

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Anyone have/know of a function that will clean a html string of all
tags and invalid characters, ready for an RSS feed in iso-8859-1

I'm using strip_tags at present but it's not catching things like euro
signs which is stopping my feed from validating.


Re: Preparing a html string for rss

Ciaran wrote:
Quoted text here. Click to load it

Try mb_convert_encode to convert to US-ASCII

Site Timeline