The MU forums have moved to WordPress.org

Feed does not validate (19 posts)

  1. alaskanbob
    Member
    Posted 17 years ago #

    I've searched and read all of the threads on this topic. I've looked for blank spaces and I've run out of ideas. I don't have any plugins installed. Here is the results from http://feedvalidator.org. What would cause a blank line at the beginning?

    Sorry

    This feed does not validate.

    *

    Server returned HTTP Error 404: Not Found [help]

    *

    line 2, column 0: XML parsing error: <unknown>:2:0: xml declaration not at start of external entity [help]

    <?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/wordpress-mu ...

    Source: http://allalaskans.com/comments/feed/

    1.
    2. <?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/wordpress-mu-1.0" -->
    3. <rss version="2.0"
    4. xmlns:content="http://purl.org/rss/1.0/modules/content/">
    5. <channel>
    6. </channel>
    7. </rss>

  2. drmike
    Member
    Posted 17 years ago #

    Simple. You don't have a feed there. The URL is incorrent. What are you trying to poll? Are you trying to poll the comments for your main blog or the comments for all of your subblogs?

  3. alaskanbob
    Member
    Posted 17 years ago #

    I didn't realize I needed to do anything more to set up the feeds. I'm using the default links in the footer.

    I'd like to have a feeds for new blogs, posts to individual blogs, and comments. Did I miss something in the setup? If you can point me to the documentation, I'll try and work it out myself.

    Thanks for the help.

  4. drmike
    Member
    Posted 17 years ago #

    You don't have anything else to setup. You just don't have a feed at that URL.

    For the individual blogs like http://allalaskans.com/anchorage/ you have them in the regular place. In this case:

    http://allalaskans.com/anchorage/feed/

    You don't have any posts yet on your main blog. Therefore you don't have any feeds yet for that. That's probably why you're getting a 404 for it.

  5. alaskanbob
    Member
    Posted 17 years ago #

    I guess I'm just dumb as a post, because I'm not getting this at all. I posted and made a reply in the main blog and I'm still getting the same error when trying to access the feed

    "XML Parsing Error: xml declaration not at start of external entity
    Location: http://allalaskans.com/feed/
    Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?>"

    I have the same error in http://allalaskans.com/anchorage/2006/11/14/test-post/feed/

    I know it has to be something really simple I'm missing.
    ^

  6. lunabyte
    Member
    Posted 17 years ago #

    I see the error. Something strange is going on.

    I wonder if the file wasn't uploaded in the wrong mode or something maybe?

    Try overwriting it with a fresh one, maybe.

  7. alaskanbob
    Member
    Posted 17 years ago #

    Which file should I upload lunabyte?

  8. lunabyte
    Member
    Posted 17 years ago #

    Should be the rss2 file. wp-rss2.php or something like that.

    It's a long shot, but you never know.

  9. alaskanbob
    Member
    Posted 17 years ago #

    well I downloaded the latest wpmu.zip, extracted

    wp-rss.php
    wp-rss2.php
    wp-feed.php
    wp-commentsrss2.php
    wp-atom.php
    wp-includes/rss.php
    wp-includes/feed.php
    I opened each one and made sure there were no extra lines or spaces at the end then uploaded them in ASCII.

    Still have the same error and still have what appears to be a blank line inserted to start the feed.

    Any other ideas? Please?

    Bob

  10. andrea_r
    Moderator
    Posted 17 years ago #

    1) you shouldn't have to do anything to set a default feed, other than have posts like drmike said.

    2) look at the files *on the server*. See if there are any blank lines there.

    I have an ftp program that likes to add blank lines to files. :-/

    Oddly enough, in Bloglines both feeds show fine.

  11. alaskanbob
    Member
    Posted 17 years ago #

    The feeds are there, just not valid xml.

    What files should I check on the server specifically? The same ones I listed above or are there others that could be the culprit?

    Thanks for the help.

    Bob

  12. andrea_r
    Moderator
    Posted 17 years ago #

    I honestly have no idea. I doubt it's something specifically buggy in MU though, or a bunch of us would have the same issue.

  13. alaskanbob
    Member
    Posted 17 years ago #

    Bloglines and Google both accept and display them as valid feeds.

    I guess I just go through file by file looking for extra spaces.

    If anyone thinks of another idea, please let me know.

    Bob

  14. dieguisherrera
    Member
    Posted 16 years ago #

    I have the same problem. It seems that there is a blank line at the top of all files in WPMU. I don't know what its the cause. Did anybody know who can I eliminate that lines?

  15. dbasulto
    Member
    Posted 16 years ago #

    i´m having the same error!

    All of a sudden, on a WPMU 1.25a install, the feeds stopped working. I say "all of a sudden" because they were working and i didn´t changed anything related to feed files.

    Not even WPMU Sitewide feed (plugin) is working. Same for regular rss2/atom feeds for any of the blogs under my MU install.

    any ideas on how to debug/fix this?

  16. andrea_r
    Moderator
    Posted 16 years ago #

    By not working, what exactly do you mean? Not updating? Can you view anything on the feed pages themselves?

    There is a cache of feeds stored in the db, so find those and delete and see if that helps. They are in the options tables, and they will be marked as rss_tonsofnonsense. Sometimes that helps.

  17. dbasulto
    Member
    Posted 16 years ago #

    andrea_r, debugging a little bit i figured out it was a blank space at the beginning added by a plugin.

  18. softlord
    Member
    Posted 16 years ago #

    Which plugin was it, dbasulto?

  19. mmeme
    Member
    Posted 15 years ago #

    This has been driving me crazy - I finally know which plugin was causing this error for me...

    Advanced Category Excluder

About this Topic

  • Started 17 years ago by alaskanbob
  • Latest reply from mmeme