| Home | Article | soft | Games | christmas | holiday | 

Position: International renwen >> Article >> news >> Article: adwords
Template tags for site feeds
Article :Site Feed     Update :2007-10-14 21:37:57

Your site feed settings offer numerous options for post and comment feeds on your blog. To help your readers find links to these feeds, we've got a couple of tags you can add to your template. Newer blogs - or new templates applied to older blogs - will have these tags already, but you'll need to add them yourselves if you're using an old template from before you upgraded your Blogger account.

The first piece of code can go in your sidebar, or wherever you'd like it to appear. It looks like this:

<p id="blogfeeds"><$BlogFeedsVertical$></p>

Depending on your settings, this code will provide links to a feed of all your blogs posts, and/or a feed of all the comments on all your posts. If you're using both types of feeds, the result on your page will look like this:

Subscribe to
Comments [Atom]
Posts [Atom]

If you're using per-post comment feeds, you'll want to use this second piece of code as well. You'll probably want to put it inside the <ItemPage> tags along with the rest of your comment code. It looks like this:

<p id="postfeeds"><$BlogItemFeedLinks$></p>

This will create a link to the site feed containing comments on the current post only. Its output is similar to the previous section:

Subscribe to Post Comments [Atom]

Finally, you may have noticed that there are <p> tags with IDs around each of these Blogger tags. These are optional, but if you want to customize the format of these links, you can add some code to the style sheet in your template. To do this, find the <style> and </style> tags in your template, and add the following code between them, substituting whatever CSS you want to use:

#blogfeeds {
   [insert formatting here]
   }
#postfeeds {
   [insert formatting here]
   }

If you don't know CSS, or aren't sure what to put here, then don't worry about it. By default, it will inherit the same style as the rest of your template, which will usually look just fine.


ArticleInputer:admin    Editor:admin 
  • Back ChapterArticle:

  • Next ChapterArticle:

  • Google Chrome Screenshot leaked

    Looking firefox 3 for the Download Day buttons and banners?

    Kung Fu Panda

    John Edwards Love Child Scandal: Edwards Caught with Rielle 

    Storm threatens China's 'quake lake'

    The Enduring Mysteries of the Sun
    The latest hot
     Google Chrome Screenshot leakedNewsArticle
     Looking firefox 3 for the Download Day button
     Kung Fu Panda
     A Kiss For You..., Valentine's Day I Love
     Skylight dreams of a big 'White Christmas
     Rapper T.I. arrested before awards show
     Patent fuels Google mobile rumours
     PARALYMPIC GAMES
     Miss America 2007 Lauren Nelson
     Miss Virginia's Outstanding Teen Caitlin 
    The latest recommendation
     Google Chrome Screenshot leakedNewsArticle
     Looking firefox 3 for the Download Day button
     Kung Fu Panda
     Long River 7(Stephen Chow's CJ7 ) Gets a 
     Muscat residents cheer for flame
     Valentine's Day love in full bloom
     I Love You...,Valentine's Day I Love You 
     Happy Valentine's Day - Free Valentine
     Skylight dreams of a big 'White Christmas
     Hidden Relics Game
    Related articles
    Netcraft Phishing Site