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)

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.