« How to Write A Successful Gay Fiction Novel | Home | Baker's Dozen »

Feed Tampering
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:

<title>< ?php the_title_rss() ?>;</title>
<link>link_single_rss() ?></link>
<comments><?php comments_link(); ?></comments>

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

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

No Comments

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

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

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


RSS feed for comments on this post. |

Sorry, the comment form is closed at this time. Send me an e-mail if you wish to comment on this closed entry.


It's me!Name's Karsh. 28. Country-born, city-raised, college educated. Writer. Artist. Musician. Mathematician. E-Media hotshot. Blasphemous Hater. Need a website? Hit me up.

PayPal | Amazon Wishlist

Search
 

Main Menu
About
Advertise
Contact
Random Post

Alltop, confirmation that I kick ass
Text Link Ads

Archives


Syndication
RSS 2.0
Atom 0.3
Blogcast RSS Feed


Credits and Copyright
Proudly powered by WordPress. All content © 2003-2010 Karsh.
Theme based from Bionic Jive from Theron Parlin.