Subscribing to comment feeds in WordPress

February 9, 2006 on 9:41 pm | In Coding | 6 Comments

Like a lot of ex-20six-ers I’ve moved to WordPress and am still getting to grips with it (ooh, the raw power!).

One of the things I miss from 20six is being subscribed to any comments once you’ve made a comment in someone else’s blog. I have a few ideas on how to fix that – but that’s for another day. Today I’m going to tell you how you can keep track of comments.

The sharp-eyed amongst you might have already noticed that WordPress is quite good at providing RSS feeds. For blogs you can generally find the feed for the whole blog at [blog address]/feed/ – for example my article feed is here: http://technobubble.info/feed/
But here comes the clever bit – you can also get a feed of comments for each post in a blog, again usually by adding /feed/ on the end of the address.

So, what do do with all these feeds? Well I use Bloglines, which is a fee web service that will give you a simple web page full of all the feeds you are subscribed to. You can just go to Bloglines and (once registered) add a feed from the post URL – it will figure out the /feed/ bit by itself.

However, if you want to tinker with your WordPress blog and make it a teeny bit easier for people to do, you can edit your theme to put a direct link to Bloglines that will add your comments feed. I’ve done it for my site – see at the bottom of this article there will be a line that says something like “RSS feeds for comments on this post. Add Comment Feed to Bloglines.”

So, you need to find which file in your theme to edit. For my theme is was comments.php, but it can vary. Just find whichever line talks about RSS feeds for comments and stick it near there. The magical bit of PHP code you need to add is:

<a href="http://www.bloglines.com/sub/
<?php echo comments_rss(); ?>">
Add Comment Feed to <abbr title="Bloglines in an online RSS feed syndication service">Bloglines</abbr>.</a>

This will put a link on your page that readers can click on and go straight to the right bit of bloglines. the ?php bit just finds the link to the comment feed and then adds it to the Bloglines subscribe address, which is http://www.bloglines.com/sub/[link-to-subscribe]

Anyway – hope that’s clear. I might share more of my “things I’ve worked out about WordPress” here if people are interested? Hopefully it will be of help us make lovely blogs!

6 Comments »

RSS feed for comments on this post. Add Comment Feed to Bloglines. TrackBack URI

  1. You are clever, Bubb! I’m still faffing around with basics over at my gaff, but this looks like a top tool :o )

    Comment by Katja — 10 February 2006 #

  2. [...] Now I just need to work out how to make my comment feeds show up correctly in it and I’ll be happy [...]

    Pingback by technobubble.info » Internet Explorer 7 beta 2 — 10 February 2006 #

  3. Hey Bubb! Thanks for your 20six backing-up tool. I’ve now backed up my blog and have started a new one at WordPress.

    Quick question for you, though, there were only a handful of my 20six images in the Images folder once backed up. Have I missed something out? No matter, I’m very grateful for having had the chance to back up three years worth of writing, which is the most important thing. I owe you a pint or ten. Cheers! :)

    Comment by Davey Mac — 13 February 2006 #

  4. Did I tell you that you are a genius? Did I say thank you very much for your backing up tool? I am an ingrate and you are the spirit of the web. Thank you. I am planning something and your work will be invaluable. May I suggest that you and Bobble set up a little on line wedding list and you may, just, find your generosity mildly rewarded by some of the grateful masses.

    Comment by belgianwaffle — 13 March 2006 #

  5. Hello fellow Ex-20sixer !! What I’ve done is, I’ve installed a WordPress plugin on my blog, so if you want to ‘subscribe to comments’ you tick a box, and any new comment on that post is emailed to you. You can find it here: http://www.scriptygoddess.com/archives/2004/06/03/wp-subscribe-to-comments/

    Drop over to my blog if you want to see how it works !!

    Comment by Boao — 30 June 2006 #

  6. Boao: that’s a cunning addition, I like that.

    You should also check out http://www.cocomment.com/ as another way of managing comments.

    It’s a system that basically submits your comment to a central server as well as to the site where you made it, so you can see it & others comments together. It’s not perfect as it does require people to have registered, but it’s not bad…

    Comment by bubb — 30 June 2006 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Creative Commons License This work is licensed under a Creative Commons Attribution 2.5 License.
Powered by WordPress with Pool theme design by Borja Fernandez, modified by bubb.
Entries and comments feeds. Valid XHTML and CSS. ^Top^