WordPress.org

Ready to get started?Download WordPress

Forums

RSS Feed Error (22 posts)

  1. Sphyr
    Member
    Posted 9 years ago #

    My RSS feed is invalid, according to Sharpreader.
    Trying to read this feed:
    http://www.chasingthewind.net/wordpress/wp-rss2.php
    gives an error, "Your feed appears to be encoded as "utf-8", but your server is reporting "US-ASCII"
    Trying to read this feed:
    http://www.chasingthewind.net/wordpress/wp-atom.php
    give an error, "Error reading URL: The underlying connection was closed: The server committed an HTTP protocol violation."
    How do I fix this?

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Try adding "AddDefaultCharset utf-8" to your .htaccess (without the " of course)

  3. Sphyr
    Member
    Posted 9 years ago #

    This will be new territory for me; I don't have a .htaccess file now. Do I just create a .htaccess with that one line in it? Does it go in my root folder or in my WordPress folder?

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    You can create one with just that line yes, and you could put in either root or the wp folder.

  5. marvin
    Member
    Posted 9 years ago #

    wp-rss2.php, line10:
    header('Content-type: application/xml', true);

  6. Sphyr
    Member
    Posted 9 years ago #

    Ah, I was just going to report back that I moved the .htaccess to \WordPress and the root with no appreciable results.
    I changed the wp-rss2.php line above and now my RSS feed validates. Thanks!

  7. Anonymous
    Unregistered
    Posted 9 years ago #

    I changed the wp-rss2.php line but it didn't help. The feed that I am having problems with is http://technospin.org/wordpress/wp-rss2.php.
    Any ideas?

  8. Anonymous
    Unregistered
    Posted 9 years ago #

    The feed URL picked up a "period" so here it is again: http://technospin.org/wordpress/wp-rss2.php

  9. Anonymous
    Unregistered
    Posted 9 years ago #

    No although I definitely appreciate your trying to help. Newsgator and IntraVnews both are having problems with it. They both report a server committed an HTTP protocol violation.
    Do you have any other suggestions?

  10. None that I can really think of. My freed reader is picking it up right too.

  11. Scratch that, try selecting the option for WordPress to gzip your feeds when requested. It's a long shot, but you never know.

  12. Anonymous
    Unregistered
    Posted 9 years ago #

    No luck. I'd hate to have to switch to something other than WordPress.

  13. This is really odd though. My feed readers do pickup your feed, and FeedValidator says it's fine. I suppose you could try a complete delete-and-reinstall of all files except the ones you've modified (index.php).

  14. Hm, you might want to try bringing your XHTML up to standards, that may fix what ever's going on. http://validator.w3.org/check?uri=http%3A%2F%2Ftechnospin.org%2Fwordpress%2F

  15. Anonymous
    Unregistered
    Posted 9 years ago #

    It was worth a shot but I fixed the XHTML (and had to make things less "pretty" because of strange tags WordPress was inserting) but it still fails. I even upgraded to the latest version of WordPress. I think it may be time to switch.

  16. Anonymous
    Unregistered
    Posted 9 years ago #

    I'm having exactly the same problem... feedvalidator says it's valid, but newsreaders give me the same error you mention (ie Server committed http protocol error)

  17. I'd probably send a support email to your hosting company before switching, I've recommended all that I can.

  18. Anonymous
    Unregistered
    Posted 9 years ago #

    No luck. The hosting company claims that they have made no changes. I even removed all of my weblog entries but it still doesn't work.

  19. Anonymous
    Unregistered
    Posted 9 years ago #

    Now I just completely broke the site by removing links...

  20. Anonymous
    Unregistered
    Posted 9 years ago #

    Changing "Last Modified" to "Last-Modified" in wp-blog-header.php did the trick. Kudos the great folks at http://pete99.net for their help.
    Will this change make it into the next version of WordPress?

  21. Anonymous
    Unregistered
    Posted 9 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic