Link tag for RSS fees - help needed

Discussion in 'HTML & Website Design' started by tb1234, Sep 20, 2006.

  1. #1
    Hi all,

    I have a news site...I have made a RSS section in that. I got one HTML tag for providing alternate document of the page. So i just need to anybody has used the same technique. the tag format is like:

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://pageofXML/" />


    So is it right format ? it may if you know better then this thn please let me know.

    Thnks in advance.
    Edit/Delete Message
     
    tb1234, Sep 20, 2006 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    Depending on the type of feed, these are what I use for my blogs. You may also think about placing an actual link to the feed if it is of interest to human visitors.

    
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="url-of-feed-here" />
    <link rel="alternate" type="application/rss+xml" title="RSS" href="url-of-feed-here" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="url-of-feed-here" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="url-of-feed-here" />
    
    Code (markup):
     
    jestep, Sep 20, 2006 IP