Some New RSS Feed Features
27 Feb 2006 in WordPress by GarrickI just added a few, hopefully, useful links (comments, trackback, email, digg) to the RSS feed of Garrick Van Buren .com and my other blogs.
If you’re running WordPress and want to do the same (something like Feedburner’s FeedFlare), here’s the code I’m using:
< ?\php comments_popup_link(__('0 Comments'), __('1 Comment'), __('% Comments')); ?> | < \a href="\php trackback_url() ?>” rel=”trackback”>Trackback< \/a> |
< \a href="mailto:?Subject=[\php str_replace(" ", "%20", bloginfo_rss('name')); ?>]%20< ?\php str_replace(" ", "%20", the_title_rss()); ?>&Body=< ?\php str_replace(" ", "%20", the_author()); ?>%20said%20something%20interesting%20at%20%20< ?\php permalink_single_rss() ?>“>Email This< \/a> | < \a href="http://www.digg.com/submit?phase=2&url=< ?\php permalink_single_rss() ?>“>Digg It< \/a>
Be sure to remove the "\" to unescape the tags. I put it right after the < ?\php the_content() ?> tag.
Add a Comment
Related Entries
- I’m Demoing The FeedSeeder Project @ MinneBar 07
- Wanted: An iTunes Alternative
- RSS is Advertising, Not a Channel for Advertising
- Applications and Features I’m Interested In
- The Performance Power of MySQL Index
