Enable per-post comments feeds
September 06, 2007 Filed under: Customize your Blogger Template, Feeds and Syndication 5 CommentsFor a while now, I've been wondering how to enable the feed link for per-post comments in order to allow readers to subscribe to the comments for a particular post they are interested in. From what I'd read in the Blogger help groups, the only method was to create a link for each individual post including that particular post's ID number. Which would have been very tedious! However, today I finally figured out a much simpler methos, so you can simply add a bit of code to your post footer which will easily enable your readers to subscribe to the comments of a particular post of interest!
To create the link which will enable readers to subscribe to the comments of a particular post, you will need to ensure you have enabled post pages in your blog settings. If you haven't already done this, go to Settings>Archiving in your Blogger dashboard and set "Enable post pages" to "yes".
Next, find this section in your Blogger template:
<p><data:post.body/></p>Just after this line, paste the following section of code, replacing "yourblogurl" with the url of your blog:
<p><a expr:href='"http://yourblogurl/feeds/" + data:post.id + "/comments/default"'>Post Comments Feed</a></p>
This will enable the default Atom feed for the per-post comments. If you prefer to link to the RSS comments, you should paste this section of code instead:
<p><a expr:href='"http://yourblogurl.com/feeds/" + data:post.id + "/comments/default?alt=rss"'>Post Comment Feed</a></p>You can change the link text ("Post Comment Feed")to anything you like, such as "Subscribe to comments for this post".
Preview your template to ensure that you haven't upset the layout of your posts, then save your template and view your blog. You should now see this new link appear just beneath each of your blog posts. When you click on this link, you will be taken to a page which features the comments feed for only this particular post with the option to subscribe to this particular feed.
Discuss "Enable per-post comments feeds"
Comments? Questions? Let us know what you think! Join the discussion >>













My name is Amanda Fazani and I write Blogger Buster to help other Blogger users make the most of their Blogger blogs.
Hey Amanda...I just installed this on my blog but I have a couple of questions. Can the font be made smaller? It's really big and bulky and can it be moved any lower? It's right underneath my post--it almost looks like a sponsored link or something.
http://acowboyswife.blogspot.com
By the way, THANK YOU for the link;)
Hello Lori,
Sure you can change the style of the link to look however you want. The easiest way will be to add style to either the paragraph container, or the anchor link itself, like this example: <p style="font-size: 80%; text-decoration: underline; font-color: #ffcc00;"> [content and link here] </p>.
You can move the link elsewhere in your post. A good place would be in the post footer, where the comments and author information is held. If you like, you can even move this above the post itself!
If there is a specific place you would like to feature the link, let me know and I'll be better able to advise how to achieve this.
Hope this info is helpful to you!
Hi. I've tried using this tutorial to build a widget in my sidebar that shows the per-item comments feed on item pages and all comments feed on item pages. However, it refuses to generate the blog.id-code. Does it have to be inside the blog post widget to work?
My blog is http://actingnow.blogspot.com. I'm afraid it's all in Norwegian, but the link in question is the third feed link in the third widget of my left sidebar. Appreciate if you can help.
-Kjetil-
Good grief, and I was scratching my head how to obtain the dang unique number that's in the URL of the comments feed! Thanks! It was so simple - post.id !!!
I'm glad you had this post up or I'd really be tearing my hair out (whatever that's left anyway)! Thanks!
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat
Promosyon Tekstil imalat