WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] feed validation in 1.3 - not at start... (17 posts)

  1. Beel
    Member
    Posted 9 years ago #

    I don't know when this first occurred, but my rss feed no longer validates. Evidently there is an errant space before <?xml and I cannot figure out where it is coming from. Anyone else have this problem or any idea how to find and fix the problem?

  2. Hm, assuming that your feed are at the usual /wordpress/wp-rss2.php, etc, I'm getting "Not a gzipped file (Server response declares Content-Encoding: gzip; misconfigured server?)". Try disabling or enabling gzip compression. Here's the validation url: http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.billhayes.us%2Fwordpress%2Fwp-rss2.php

  3. Have you tried altering either wp-feed or wp-rss2, which ever has the extra space?

  4. Beel
    Member
    Posted 9 years ago #

    Yep, can't seem to find where the extra space comes from, hence my question here (just in case someone else has "been there done that").

  5. Have you tried uploading a new wp-feed or wp-rss2 file? Heh, there has to be a solution, right?

  6. Beel
    Member
    Posted 9 years ago #

    Yes, I have done all the obvious things. The first thing I did was go to the CVS and re-download the files (I serve off my computer) and then started dl'ing older versions to see where it might have "broken" - no go. It was a lot easier to track down problems when just wp-rss2 was involved.

  7. Interesting, validator still says you have the parsing error, but my browser is displaying the feed just fine now (something it didn't do a 1/2 hour ago).

  8. Beel
    Member
    Posted 9 years ago #

    I can tell this is going to be one of those issues that resolves itself some day (hopefully) without my ever knowing what the cause is. I was kinda hoping other 1.3a users were having this problem (sorry ya'll) but I guess not.
    If anybody comes across anything, please remember to post back here. I'd like to figure this out before I wear a bald spot in my head. ;-)

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

    The very very first character of your index.php is a space.
    Could that be it ?

  10. Beel
    Member
    Posted 9 years ago #

    Shoot, no. The feed doesn't work with any of my themes, either so it must be a file in the root directory - but I have re-downloaded them all. It is has to be something obvious otherwise it wouldn't be this difficult for me to find ;-). But thanks for the thought.

  11. Ryan Boren
    WordPress Dev
    Posted 9 years ago #

    In 1.3, all permalinks are directed to the index.php in home/root. index.php includes wp-blog-header.php, which does all of the redirection for themes, feeds, and trackbacks. So, extra stuff in index.php before the inclusion of the blog header can screw up all pages loaded thereafter.

  12. Beel
    Member
    Posted 9 years ago #

    Yep, thanks, but I am using themes so the index page in the root directory is straight from the CVS. That was one of my first thoughts so it was one of the files I re-downloaded, but still no go. I have sifted through all the files involved in the redirects and I just don't see anything in them that might be causing the problem :(

  13. Beel
    Member
    Posted 9 years ago #

    Well, like I said - it happened. The feed now is "fixed" so I am left wondering what was wrong and what changed. I did download a couple of files updated in the CVS today, any chance one of those was the culprit??

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

    It be a gremlin :)

  15. litlnemo
    Member
    Posted 9 years ago #

    "Sorry, in 1.3 one no longer links directly to the file"
    Is this going to break existing feed URLs or am I misunderstanding?

  16. Beel
    Member
    Posted 9 years ago #

    Ah, I thought you might have an answer to my question... reread rboren's post. Those with permalinks will just have the link redirected but as for those who link directly to the file - yes, I suppose so but this is still alpha and may be dealt with before its release.

  17. Beel
    Member
    Posted 9 years ago #

    Well, I checked the new files I downloaded from the CVS and could find nothing to explain the "self" correction of the RSS feed - dang I hate unsolved mysteries! Anyway, the gremlin must also have been responsible for the spam comments I have been getting for the past couple of weeks 'cuz they're gone, too. (pleeeze say I didn't just jinx myself ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.