Feedtinkery

I'm screwing with my RSS templates tonight. So far, I've changed the comments feed to include the title of the entry each comment was posted on - 'cause I dunno about you, but I find a context-free stream of recent comments to be exceptionally irritating. I should put in some forking something, too, so this change doesn't apply to the comments feeds of individual entries (where it would be redundant).

Market research: Does anybody actually use the comments RSS feeds? Would you, if I made 'em better in some way? I used to have a feed of recent entries + their comments, is it worth reviving that format?

There's a code snippet below the fold, and I'm also writing a more general article on feed customization.

Here's what I changed in wp-commentsrss2.php:

<item>
<?php
$title = get_the_title($comment->comment_post_ID);
$title = apply_filters('the_title', $title);
$title = apply_filters('the_title_rss', $title);
?>

<title><?php comment_author_rss() ?> on <?php echo $title ?></title>

Bold stuff is new.

yami · 19:04 · 2 May 2020

5 Comments to 'Feedtinkery'

  1. Well, I don’t read anyone’s feeds at all, so I guess I’m an irrelevant datum. ;)

  2. Really? Once I started with the RSS, there was no going back…

  3. Every once in an odd while, I check the feed from Scrappleface I had added to my “My Yahoo” page (don’t ask me *why* — I read Yahoo’s list, I recognized the name, I clicked…), but otherwise, I’m pretty much a old Luddite regarding such matters…

  4. Hmm. New hypothesis: feed readers tend not to comment as much.

  5. I’m mostly RSS — where I comment less — but, for some reason, your blog is on the list of ones that are still “check the site by hand and add to RSS when you think of it”.

Leave a Reply