Forums

[resolved] Adding RSS support to feed? (5 posts)

  1. rcdailey
    Member
    Posted 2 years ago #

    Hello,

    I figured out how to add a feed button to my side-bar, but in Firefox it usually shows an RSS icon in the address bar when it recognizes a feed on a blog. My blog does not cause firefox to display this Icon. Can someone tell me how to make it do this? Thanks.

  2. spawnsyxx9
    Member
    Posted 2 years ago #

    Firefox does sometimes not completely refresh after you've changed a setting on a page. To see if it is current go to the page, press the "shift" key and click on the "refresh" button. I've had to do this with several sites to see new content.

  3. rcdailey
    Member
    Posted 2 years ago #

    Check it out for yourself:
    http://www.robert-dailey.com/

    Notice how in the address bar of Firefox, there is no RSS icon. I'm testing with Firefox 3.5. Note that I'm not referring to the RSS icon on my sidebar.

  4. iridiax
    Member
    Posted 2 years ago #

    Add this to your theme's header.php between the opening and closing head tags:

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

  5. rcdailey
    Member
    Posted 2 years ago #

    iridiax, that works perfectly. Thank you.

    I'm using the "Gray and Square" theme, and I'm surprised the author doesn't have that in there by default. It's such a simple change, I wish it was in there.

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.