|
Posted on 10/16/04 @ 11:32 pm
Per a suggestion from EJ, I'm going to try my hand at getting together a Wordpress RSS feed that includes full text and comments. Granted, my blog does have a feed for just comments (see?), I was thinking it should be easy to show the feed PLUS the comments since most of Wordpress's tags are through PHP. On first glance at the code, I see the RSS feed utilizes the wfw namespace elements, so in external blog readers, the comments probably just terrace from the main post (which is cool with me). But I know in Bloglines, that ain't happening. So a little more diving. Part of the code looks like this:
After consulting the Wordpress Wiki, I found the <? php comment_text ?> and the <? php comment_text_rss ?> tags, both of which should work if substituted in the <comments> loop here. So I changed it. Keep your fingers crossed. UPDATE: I'll also study this to see if I can gain a little more insight. Perhaps the answer lies in the CDATA tag? Hmm.... UPDATE: With Monkie's help, I've been able to tweak the RSS 2.0 feed to include comments. Of course, since this pulls directly from my modified wp-comments.php, things could look a little ugly. I'll check once Bloglines picks up this update. Filed under: Technology Comments: Comments Off
|




What on Earth did you just say? You know I don't understand that techno babble!
I saw "feed" and came running. Don't tempt a fat chick.
Said by Elle — October 16, 2004 @ 11:37 pm
I just did this with my WP blog. I could help if you're interested. It's not terribly complicated. Mostly you'd be dealing with the wp-comments.php, the rss php files (obviously), and I did a lil tweaking to some of the functions ins wp-include/template-functions-comments.php. But that's only one way to do it.
Said by Monkie — October 17, 2004 @ 1:07 am
I see you got the RSS feed, with comments and the ability to post, working just as you want. Shows up just fine in my Bloglines.
Said by Carla — October 18, 2004 @ 7:25 am