Forums

RSS Feed Error (22 posts)

  1. Sphyr
    Member
    Posted 4 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. podz
    Support Maven
    Posted 4 years ago #

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

  3. Sphyr
    Member
    Posted 4 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. podz
    Support Maven
    Posted 4 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 4 years ago #

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

  6. Sphyr
    Member
    Posted 4 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 4 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 4 years ago #

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

  9. macmanx
    Member
    Posted 4 years ago #

  10. Anonymous
    Unregistered
    Posted 4 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?

  11. macmanx
    Member
    Posted 4 years ago #

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

  12. macmanx
    Member
    Posted 4 years ago #

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

  13. Anonymous
    Unregistered
    Posted 4 years ago #

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

  14. macmanx
    Member
    Posted 4 years ago #

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

  15. macmanx
    Member
    Posted 4 years ago #

    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

  16. Anonymous
    Unregistered
    Posted 4 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.

  17. Anonymous
    Unregistered
    Posted 4 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)

  18. macmanx
    Member
    Posted 4 years ago #

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

  19. Anonymous
    Unregistered
    Posted 4 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.

  20. Anonymous
    Unregistered
    Posted 4 years ago #

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

  21. Anonymous
    Unregistered
    Posted 4 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?

  22. Anonymous
    Unregistered
    Posted 4 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic