WordPress.org

Ready to get started?Download WordPress

Forums

RSS not working? (10 posts)

  1. stephan-h
    Member
    Posted 9 years ago #


  2. stephan-h
    Member
    Posted 9 years ago #

    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
    Location: http://www.maryandstephan.com/wordpress/wp-rss2.php
    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

    any suggestions?

  3. 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 .

  4. stephan-h
    Member
    Posted 9 years ago #

    utf-8 is set up there. any other suggestions?

  5. Kafkaesqui

    Posted 9 years ago #

    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').'"?'.'>'; ?>

  6. Macenstein
    Member
    Posted 8 years ago #

    Hi, I am also having trouble with my RSS fee.
    site is
    http://macenstein.com/default/
    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?
    thanks

  7. Macenstein, you have attempted to create a /feed/ and /feed/atom/ directory. You need to remove these. /feed/ and /feed/atom/ are virtual (non-existant) directories which provide a "pretty" way of linking to your dynamically generated feeds. If you create /feed/ and /feed/atom/ directories, the feeds will not work.

  8. Macenstein
    Member
    Posted 8 years ago #

    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.
    Any ideas?
    thanks

  9. Beel
    Member
    Posted 8 years ago #

    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 ;):
    http://macenstein.com/default/wp-rss2.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.