12 Enable per-post comments feeds

For 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.

Technorati Tags: | | | |

Author: Amanda Kennedy

Amanda is a professional blogger and web designer living in Sheffield, United Kingdom.

In addition to curating Blogger Buster, you can find Amanda on Twitter, Facebook or add her to your circle on Google+.

Like to share?

You may also like to subscribe to Blogger Buster's RSS feed or receive free email updates of our latest posts.

12 Comments:

  1. 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;)

    ReplyDelete
  2. 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!

    ReplyDelete
  3. 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-

    ReplyDelete
  4. 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!

    ReplyDelete
  5. 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

    ReplyDelete
  6. vaw i use it.
    at http://www.ceoxi.com and http://ffb.ceoxi.com and http://blog.ceoxi.com

    ReplyDelete
  7. Hello this is Brianna visiting first time to this site and find it very interesting. I really like to join it.

    --

    brianna

    SEO

    ReplyDelete
  8. I am thoroughly convinced in this said post. I am currently searching for ways in which I could enhance my knowledge in this said topic you have posted here. It does help me a lot knowing that you have shared this information here freely. I love the way the people here interact and shared their opinions too. I would love to track your future posts pertaining to the said topic we are able to read.

    ReplyDelete
  9. Thanks for taking the time to discuss this, I feel strongly about information and love learning more on this. If possible, as you gain expertise, It is extremely helpful for me. would you mind updating your blog with more information

    ReplyDelete
  10. There 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!

    ReplyDelete
  11. great site, it is useful! thank you for your sharing! vd

    ReplyDelete

Great! You've decided to leave a comment! Please bear in mind that comments are often moderated and that rel="nofollow" is in use and spammy comments will be deleted. Let's have a meaningful conversation instead. Thanks for stopping by!

Browse through the Archives

All existing posts are still available to view while I'm working on the site, albeit seen in a much simpler interface. Feel free to browse through the archives to find tutorials, templates and articles to help you build a better blog:

Blog Archive

© Blogger Buster 2010 Home | About | Contact | Hire Me