Sunday 28 October 2007

Add "Subscribe to Comments (Atom)"

In each Blogger template, below the posts, is a link that allows readers to subscribe to your posts Atom feed. Remember when I wanted to put this feature back in my template, but couldn't figure out how? Well, I finally found out how to restore the Subscribe to Comments (Atom) feature.

Here is what you need to do if you have *ahem* misplaced yours like I did. Open your Dashboard | Template | Edit HTML and check Expand Widgets Templates. Find this code:
<!--Post feed links -->
<div class="post-feeds">
<b:loop values="data:posts" var="post">
<b:if cond="data:post.allowComments">
<b:if cond="data:post.feedLinks">
<b:include data="post.feedLinks" name="feedLinksBody">
</b:include>
</b:if>
</b:if>
PUT NEW CODE HERE
</b:loop></div>
Replace PUT NEW CODE HERE with:
<a href="http://yourblogname.blogspot.com/feeds/comments/TYPE">Subscribe to: Post Comments (Atom)</a>
Put your blog's name in, and change TYPE to full or summary.

post signature

No comments:

Post a Comment