sorry, I posted to early. uggh.
I am trying to get my RSS to work and I get the following message.
XML Parsing Error: syntax error
Line Number 1, Column 31:<?xml version=”1.0″ encoding=”‘.get_settings(‘blog_charset’).'”?>
I am working on Mac OS 10.2.8 and with Firefox 1.0
Login to your blog and go to Options/Reading. What do you have in the “Encoding for pages and feeds” field? If nothing is there (that’s what it looks like), try utf-8 .
For some reason that line is outputting the
get_settings()function as literal text. Make sure it looks like this in the wp-rss2.php file:
<?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; ?>
Hi, I am also having trouble with my RSS fee.
It looks like it is looking for a file in a feeds/atom folder.
I don’t have such a directory.
I don’t know what I changed, but somehow my RSS doesn’t work anymore.
Can anyone tell from the error you get what the problem is?
Or is there a place I can download the original clean files it is looking for to upload?
Macenstein, you have attempted to create a
/feed/atom/directory. You need to remove these.
/feed/atom/are virtual (non-existant) directories which provide a “pretty” way of linking to your dynamically generated feeds. If you create
/feed/atom/directories, the feeds will not work.
Macmanx, thanks, but i only added those when the regular way stopped working. Obvioulsy I don’t know what I am doing. But I ave removed those and it still doesn’t work.
Yes, do a search on the error received:
“Warning: Cannot modify header information – headers already sent in wp-rss2.php on line 10”
Evidently some “white space” has crept in at least one file so the index’s redirect to wp-rss2.php gets boinked. Your actual feed, however, is fine (as of this moment ;):
- The topic ‘RSS not working?’ is closed to new replies.