Jump to content

PHP created RSS feed causing IE error because of '


tjhilder

Recommended Posts

Hi,

 

I have my own news script which recently got it's own RSS builder built into it.

the problem I'm having is that whenever there is a '  (example: let's, I'm) it seems to make the RSS error when viewed by IE6.

 

An invalid character was found in text content. Error processing resource 'http://www.integritynewz.com/feeds/ineconomy.xml...

 

  <description>The US economy may be set to slow in 2008, but Africa

 

is there a way around this? i.e stripping the ' from the text before inputted (basicly grabs the info from mysql and writes to a file like test_rss.xml using php)

 

 

ok so I tested it, all " and ' are replaced with htmlentities() but I'm still getting the following error..

An invalid character was found in text content. Error processing resource 'http://www.integritynewz.com/feeds/ineconomy.xml...

 

  <description>The US economy may be set to slow in 2008, but Africa

 

 

EDIT: firefox no longer works with the feeds after htmlentities() is used.. RSS feed code can be found on this text file http://www.integritynewz.com/feeds/ineconomy.txt

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.