• Resolved melissadonovan

    (@melissadonovan)


    The feed validator turns up the following error:
    Missing atom:link with rel=”self”

    Here is the recommended solution:

    If you haven’t already done so, declare the Atom namespace at the top of your feed, thus:

    <rss version=”2.0″ xmlns:atom=”https://www.w3.org/2005/Atom”&gt;

    Then insert a atom:link to your feed in the channel section. Below is an example to get you started. Be sure to replace the value of the href attribute with the URL of your feed.

    Question: I’m using WordPress 2.3.1. Where do I go to “declare the Atom namespace at the top of my feed?

    Question: Where do I go to insert an Atom link into my channel section? I haven’t seen a channel section.

    I’ve already searched troubleshooting and the forums on this topic and I’ve seen that others have the same issue. I didn’t see answers to the two questions above, just a lot of talk about the next version of WordPress.

    Thanks in advance to anyone who can offer some insight.

    Melissa Donovan
    [sig moderated]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    I didn’t see answers to the two questions above, just a lot of talk about the next version of WordPress.

    Right. Because it will be fixed in the next version of WordPress. And in the meantime, it’s not a particularly big deal. It doesn’t break anything. Don’t worry about it, upgrade when the next version comes out.

    Um, no…try again.

    At 2.3.2 and still getting the atom error. I understand that the feed files are created on the fly and that it’s a very minor error, but as they say: “The devil’s in the details”. Something this simple seems like it could be addressed, whether minimal in its impact or not in an update.

    I’m getting rather tired of the tedium of sifting through all these WordPress support threads where someone closes an issue prematurely.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    The release with the fix (2.4) got pushed back a version (to 2.5).

    If you really want to fix it yourself, then go edit the feed-rss2.php file and add it.

    However, it’s still not a particularly big deal because not having it there won’t break anything.

    And scjason: something this simple does not warrant a whole update just to fix it. Updates generally wait for important things. If you want the latest and greatest at all times, use the SVN to get the latest version, and/or follow https://trac.www.ads-software.com/ to see the latest changes.

    Thanks Otto – I just wish the documentation would include little nuggets of information like this:

    Feed Troubleshooting:

    Atom feed links can be tweaked in the feed-rss2.php file at the root of your WordPress installation.

    That’s all I’m sayin…

    Atom feed links can be tweaked in the feed-rss2.php file at the root of your WordPress installation.

    That’s all I’m sayin…

    Jason:

    (I do remember this is a closed topic. But didn’t know any other way
    of asking and I’m very hesitant to open a new topic )

    ” where is the root for the wordpress installation”

    thanks.

    That would be whatever folder you installed wordpress in…

    A new little nugget on this “closed” topic…I am not sure what the poster meant when they said to manually edit the php file because after looking at it (and I should have known this), but the php is just a server side script that says the following:

    <?php

    if (empty($wp)) {
    require_once(‘./wp-config.php’);
    wp(‘feed=rss2’);
    }

    require (ABSPATH . WPINC . ‘/feed-rss2.php’);

    ?>

    There are no areas to “edit” the channel and or link=”self” declaration at the bottom of the XML file because it is all generated on the fly. Care to follow up? ??

    thanks much Jason for the response.

    I’ve sort of given up trying to fix my WP based blog.

    I really do not know the right away of phrasing
    my doubts.

    It could be either my atom feed or rss feed that isn’t
    working properly, now I realize ;(

    at 1st I thought it was my atom feed that was not
    working properly but now it seems like it could be
    my RSS Feeds..

    **
    [ sorry for digressing away from the topic]

    when I tried listing my blog through an aggregator
    this is the reply I’m given:

    …error was: A feed could not be found at


    https://vassan.kollidam.com/feed?=rss2

    **

    the following feed code is the one I should see; for whatever reason
    The ” ? ” is in the wrong place!

    https://vassan.kollidam.com/?feed=rss2

    thanks again.

    I keep reading this over and over, but I still don’t know what the resolution is. ??

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    This is actually very straightforward to do and easy to understand.

    Two possible solutions:

    1. Ignore it. Wait for WordPress 2.5 to fix it and upgrade then. It will be out in less than a month, and anyway this “problem” doesn’t actually break anything. (RECOMMENDED)

    2. Edit the wp-includes/feed-rss2.php file (like I actually stated above) and make these code changes:

    Add the “xmlns:atom” line:

    <rss version="2.0"
    xmlns:content="https://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="https://wellformedweb.org/CommentAPI/"
    xmlns:dc="https://purl.org/dc/elements/1.1/"
    xmlns:atom="https://www.w3.org/2005/Atom"
    <?php do_action('rss2_ns'); ?>
    >

    Add this atom:link line right after the title line:

    <atom:link href="<?php bloginfo('rss2_url') ?>" rel="self" type="application/rss+xml" />

    That’s it. Problem fixed. Although I still recommend to simply NOT BOTHER with it. It’s actually TOTALLY UNIMPORTANT and will be fixed in the very next version. Just upgrade to 2.5 when it comes out. Problem solved. Really. I’m not making this up.

    I am absolutely exasperated. I tried to enter the code that you linked me over to. I’m in worse shape then when I started.

    Can someone help me? I mean, really. LIke many of you, I’m so frustrated. Why do they put a product out in the market that doesn’t work? I got so close to finishing until this error.

    I’ve been reading that everyone keeps saying a new version will fix this. But what about fixing the problem for people who are new? Is anyone else angry? I put so much effort and time into this. Its like that song, “its like winning lottery and dying the next day…..

    Please. Help ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Missing atom:link with rel=”self”’ is closed to new replies.