• None of the <?php bloginfo(‘rss_url’); ?> tags seem to be working (including the atom and rss2 tags) — it produces a URL like domain.com/index.php/feed/, which doesn’t validate as a live feed. Hard-coding the feed as domain.com/wp-feed.php works, but I’d rather not hardcode if I don’t have to.

    Any ideas?

Viewing 15 replies - 1 through 15 (of 17 total)
  • In the header section of your main blog page make sure your feed information looks like the following:

    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />

    <link rel=”alternate” type=”application/rdf+xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />

    <link rel=”service.feed” type=”application/atom+xml” title=”Atom0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />

    i also have rss feed problems!
    when i click to the link, it said “feed is not a registered protocol” what does that mean? thanks

    see this forum thread for help.

    If you post a link to the site in question, people will be more able to help as they can see the problem.

    Thread Starter autumneve

    (@autumneve)

    I suppose I should mention that it’s WP 1.5.

    The <link rel… etc> syntax is correct, it just produces the wrong feed URL.

    In the header:

    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />

    —————-
    and the sidebar:

    Thread Starter autumneve

    (@autumneve)

    let’s try that again:

    sidebar:


    <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>

    <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>

    Moderator James Huff

    (@macmanx)

    autumneve, the /feed/ permalinks do produce valid feeds. In fact, most of us them. If we had a link to your site, we could actually help you.

    stchatterbox, the problem you are experiencing is due to the new (and not yet assimilated) feed: protocol. This protocol should (technically) launch your favorite news reader and either subscribe to or check the feed for new articles. You can find removal instructions here: https://www.ads-software.com/support/topic/29291#post-164887

    Thread Starter autumneve

    (@autumneve)

    There’s no need to be nasty.

    https://autumneve.com/blog/index.php/feed/

    https://autumneve.com/blog/index.php/comments/feed/

    Both go to a blank page instead of the xml tree. Neither validate in feedvalidator.org, and return:
    Server returned HTTP Error 304: Not Modified

    https://autumneve.com/blog/wp-feed.php validates just fine, however.

    Moderator James Huff

    (@macmanx)

    My apologies, I wasn’t trying to be nasty. You’re running into a bug with WordPress v1.5.1. Please upgrade to v1.5.1.2 to fix your problem (and a few security holes as well).

    https://www.ads-software.com/download/

    Thread Starter autumneve

    (@autumneve)

    Thank you, it all seems to be working now.

    plus, the XHTML link is not working either, any clues? thanks

    OK, when I click on the “RSS” link at the bottom of my blog I get an error message that says “
    This XML file does not appear to have any style information associated with it. The document tree is shown below.”

    Yet when I use a sidebar RSS reader add-on to FireFox I can see the entries, though the link that gets put into my bookmark files produces the same error as above.

    How do I fix that or do I need to? I’m not sure I want people to see code by clicking on a link in the blog.

    The bloginfo tags for rss_url, rss2_url and atom_url are broken for both name-and-date-based and numeric permalinks. Default permalinks work correctly. I haven’t tested custom permalinks.

    This is in a completely generic installation of WordPress 2.0.4, except for the permalink option.

    well no, in general they aren’t. But we’d love to see a link to help you troubleshoot your problem.

    Here’s a link:

    https://www.warmroom.com/unfinished/

    Here’s the template code:

    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />

    Here’s the source with Date-and-name-based permalinks:

    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”https://www.warmroom.com/unfinished/feed/&#8221; />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”https://www.warmroom.com/unfinished/feed/rss/&#8221; />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”https://www.warmroom.com/unfinished/feed/atom/&#8221; />

    Here’s the source with default permalinks:

    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”https://www.warmroom.com/unfinished/?feed=rss2&#8243; />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”https://www.warmroom.com/unfinished/?feed=rss&#8221; />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”https://www.warmroom.com/unfinished/?feed=atom&#8221; />

    I’ll leave the site with the Date-and-name-based permalinks. Anything else?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘bloginfo / RSS feeds’ is closed to new replies.