On: 2005/09/17 Viewed: 299873 times
Shorter URL for this page: http://ozh.in/kt

Better Feed is a plugin for WordPress that allows you to enhance your feeds with several highly customizable features.

Features

Using a convenient interface with real time preview, Better Feed will allow you to add anything below each entry in your RSS feed. It also brings back the ability to split your feed with "Read More" links, just like your blog posts.

  • Add "Read more" links
    On your site, you can split post on two parts, teaser and body, using the tag <!–more–>. Why not have a "Read more" link as well in your feed, for longer posts, or when you want to tease and keep the surprise off the feed ?
    (By the way, while I'm at it : "summary" feeds truncated after 40 words just suck big time. Read more)
  • Add a copyright notice
    Concerned with content stealers reproducing your posts automatically somewhere without giving you credit ? Why not add something like "© Joe – 2005" and a link to some neat Creative Commons License ?
  • Add the number of comments
    When you find an interesting post via your feed reader, you often have to check the website for new comments, or to subscribe to the comment feed. Why not add, at the end of every RSS item, something like "13 comments", just like in your blog frontpage ?
  • Add a "Add to del.icio.us" link
    Let your readers bookmark your entries right from within their RSS reader
  • Add a link for incoming links in Technorati or Google
    Why not add a handy link to quickly check who's linking to your post ?
  • Add anything
    There's so many stuff you could think of that I just can't list them all :)

Download

Download the plugin :
wp_ozh_betterfeed.zip
Extract and upload to your blog, preserving directory structure if any.
Note: download counter here and stats on wordpress.org may differ and reflect the number of downloads before this plugin was hosted on the plugin directory

Once you're done installing it, head to "Settings" and then "Better Feed". Everything is configured and tested from there.

Please note

A few things you might not get on first run that will save me some support:

  • If you include the number of comments in each feed item, be warned that some feed readers will display an item as "New" every time someone comments on it. It's normal, and it is how I intented it to behave so following conversation is easier than ever.
  • If you're using Feedburner, your feed won't immediately show changes after you've activated the plugin. To do so, go to your Feedburner Dashboard → Troubleshootize → Synchronize.
  • You won't notice any change if you're viewing your feed with your regular browser. Use a feed reader, or this simple service I set up especially for you: RSS 2 HTML

License

This plugin is released under the terms of the BAI & SMYF License. BAI means "Blog About It". Like the plugin? Let your readers know! SMYF stands for "Show Me Your Feed", so if you happen to use my plugin, just tell me so I can see what you've done (and maybe subscribe to your feed if it's cool !)

Shorter URL

Want to share or tweet this page? Please use this short URL: http://ozh.in/kt

Metastuff

This page "WordPress Plugin : Better Feed" was posted on 17/09/2005 at 11:28 pm
Watch this discussion : Comments RSS 2.0.

679 Blablas

  1. Webbie says:

    Has anyone successfully got this script to work while using Tweetmeme's feed button (the green retweet button) or Topsy's new version of the same?

    If I turn this script off, the code those plugins send works. When the script is on, it doesn't.

    This is such a great plugin and I want to keep using it, but I feel I am losing possible retweets from RSS only reader by not having these retweet buttons working.

  2. Loren Nason says:

    Can Gravatars be added to the feed?

  3. ??? says:

    Thanks for this great plugin :)

  4. Navjot Singh says:

    Somehow, the Preview and Help button on two of my blogs does not show. Only Editor box is shown. But in source code, Preview and Help are also mentioned. Why they have been removed? Preview feature was really helpful.

  5. Ozh says:

    Navjot Singh » problem on your side

  6. DoZ says:

    Thanks for this great plugin :)
    The only feature I did need was the support for 'read more' tag.
    It could be nice the ability to add Related Posts, as CopyFeed does.
    Could you?

  7. J. J. says:

    Followed your BAI & SMYF License :) Thanks!!

  8. Woooooooooow
    Thanks for the plugin
    It's great
    I'm using it on my site !

  9. Michael says:

    Sweet plugin, thanks a ton!

    Question: Categories don't seem to be appearing on any reader (including your test parser page). Tags are cool, but no love on the cats. Ideas? Here's the code I'm using:

    Post Tags: %%taglinks%%
    Post Categories: %%categorylinks%%

    Carry on.
    Michael

  10. Michael says:

    Alas, I have lied. Sorry for the previous post. Apparently, it's all working now. Must've been something with Feedburner/Google's cache. It was weird 'cause some changes showed up after re-syncing Feedburner, but the categories took much longer — like 6 hours.

    Anyways, all is swell and thanks for a fantastic addition to WordPress!

  11. AlpDmr says:

    Thanks for that amazing plugin, i want to ask a question.
    Is it possible to add header,footer,sidebar part of our site to feeds? I mean let our visitors see the full page as rss feed instead of just the post.Thanks right now..

  12. Ozh says:

    AlpDmr » That makes no sense at all. Your visitors using your feed want your feed.

  13. AlpDmr says:

    Yes i know but i've seen many example like that and it allows to site owners for presenting their other goods/pages etc., allows to visitors for exploring other content and it is very useful for preventing content thieving. Is it possible with your plugin?
    Regards.

  14. andrei says:

    Hi ,
    I.ve installed the plugin works great but one question. I can get the post truncated on the website which accepts the feed but the read more button is not a link on the same site, its still points to the whole post the source website.

  15. ifenwen says:

    Why I use it without any Effects?

  16. Manu says:

    Why there is a difference between the editor preview on this site and the plugin editor?

    The plugin has no preview button and no html button.

  17. Ozh says:

    Manu » it does. Remove crap plugins that conflict with their crap javascript maybe.

  18. Mark says:

    How can i add the options also to my comment feeds?

    http://www.website.com/comments/feed

    ???

  19. vottor says:

    hello,i have a problem about this.i enable this plugin,it works,but has a problem.

    the message is like this:

    This page contains the following errors:

    error on line 32 at column 30: Extra content at the end of the document
    Below is a rendering of the page up to the first error.

    i look at the page source,end the source it has these code:

    script type="text/javascript" src="http://edge.quantserve.com/quant.js"
    and so on

    could you help me?

  20. Ozh says:

    vottor » either deactive other plugins till you find the poorly coded culprit, or install firebug for firefox for more info on the javascript error

  21. Carlos says:

    One question:
    If I set up WP to just send out a summary then it only sends the excerpt, and just skips your plugin altogether, which does no good. Is there any way to get the two to work together, so the part above "read more" (in the feed) is the excerpt instead? Any ideas?
    Thanks.

  22. Ozh says:

    Carlos » Sure I have an idea.

  23. Carlos says:

    Ok, I see, but I'm not 100% agree and it depends on the blog content.
    You prefer full feeds but is there any way to make your plugin working with partial feed? Any hack?

    Thanks.

  24. I have a general question to this great plugin. Have you considered adding an option to output content in both the header and footer of the RSS feed?

  25. Ozh says:

    Edward Harrison » no, never thought of this. I think it would clutter the interface (a place to customize header, another place for footer) for practically no use (well, except yours for sure)

  26. Beto says:

    Hi Ozh. I don't really like to pester plugin authors with questions but seeing as you actively reply here it's probably worth a shot.

    So, I have a custom "gallery" theme where I'm using the Post thumbnail options to use a single image for both thumbnails and single page images and call it within The Loop (but outside the_content()) like so:

    I have tried to find out a way to get this published on the feeds (ideally at the top of each) but can't find out a way. Does it have to do not being it within the_content()? Am I out of luck? Thanks!

  27. Beto says:

    Oops, bitten by the code filter bug. Well, just imagine php tags wrapped around this:

    the_post_thumbnail( 'single-post-thumbnail' );

  28. KimC says:

    Thanks for your great plugins. I use and love several.
    Question:
    Can you confirm that this plugin works with 3.01?
    I installed Better Feed on 2 of my blogs. It works on one, but not on the other. Their other plugins are nearly identical, so I don't think it's a conflict. The main difference is one blog has been upgraded to WP 3.01, while another is still running an older version.

  29. Ozh says:

    KimC » it's easy to see that I run both this plugin and WP 3.0.1 on this blog

  30. KimC says:

    Thanks for the confirmation. After some trial and error, I discovered a conflict between Better Feed and YARP (Yet Another Related Post plugin), an older plugin that I was running on just one of my blogs.
    I chose to keep the Better plugin, of course. Will be sending you a donation as soon as I get my first paid feed ad, scout's honor!

  31. Ozh says:

    KimC » What was the conflict doing exactly? YARPP is a popular plugin, if possible I'd like to get both plugins running together nicely

  32. KimC says:

    It just seemed to keep your plugin from working – could see the related posts in my feed, but nothing from Better Feed. As soon as I deactivate YARPP, BF works perfectly.

  33. KimC says:

    Further observations on the conflict: When I clicked my rss button and looked at the feedburner feed, YARPP showed up while BF disappeared. This is what I noticed earlier.
    But in bloglines, BF seems to win. Related posts didn't show up, while BF did.

  34. reza says:

    tnks

    this plugins is very usefull

    i love it

  35. Fred says:

    I am using a plugin that links my wordpress to a phpbb forum for my comments. On my pages I inserted a "<?php if" to call from a plugin to show "# of Comments in the Forum" but this does not show up in my rss feed. Can I use "<?php if" code with your plugin?
    Thanks in advance.

  36. Kaman says:

    Hello Ozh,

    Does this plugin still work or not? It does NOT work for me.

    I saw the source code.. there is one line:
    add_filter('the_content', 'wp_ozh_betterfeed', 9999);

    I tested the function "wp_ozh_betterfeed"….this function only be called when I read the HTML page….
    NOT be called at all when I read the RSS feed….

    Please help me…thanks….

  37. kaman says:

    Hi Ozh,

    Does this plugin still work or NOT? it does not work for me.

    I read the source code. There is one line: add_filter('the_content', 'wp_ozh_betterfeed', 9999);

    I tested the function: 'wp_ozh_betterfeed'……

    This function is only be call when I display the HTML page.
    It is NOT be call when I disply the RSS feed, which means the feed does NOT change at all.

    Please help me!
    Thanks

  38. Ozh says:

    Kaman » it does work.

  39. nex says:

    Hi Ozh, the problem with YARPP is that if you enable yarpp in the feeds, and you enable "use more tag in feeds" in BF, related posts aren't displayed.
    I think it is a problem of add_filter priority: YARPP set a priority of 1200 on "the_content" filter, BF set a priority of 9999 and 999999, so your filter is executed after and truncate everything after the "more", also related posts :-)

  40. Ozh says:

    nex » OK, thanks for the report, I'll add a check for YARPP when I have some time

  41. Kaman says:

    Yes…I found the problem too…..

    The easiest way is:
    change
    add_filter(‘the_content’, ‘wp_ozh_betterfeed’, 9999);
    to
    add_filter(‘the_content’, ‘wp_ozh_betterfeed’, 1000);

    whatever number less than 1200, I choose 1000.

    Then, YARPP run after BF…..

  42. Allen says:

    Hello Ozh,
    Have u removed the "Preview" feature of the Better feed plugin?

    I can c the feed item footer editor but can't preview the footer I edited.

    Could u please add this feature back?

    thanx in advance!

  43. deeba says:

    Very new and very lost in WP and all this code. Can I include a post image in this. If yes, how?
    My feedburner needs sprucing up. Thank you!

  44. scot says:

    I would like to display a list of the various taxonomies that each post has been assigned to in the RSS. Is there a way to do this like we can for tags and categories.

  45. Jenn V. says:

    You are a genius! Thanks so much for this plug-in. I have a love-hate relationship with Feedburner, and this may have saved us. Please check out my site: http://www.dishragdiaries.com! I'll for sure mention this plug-in, and will donate, too. Cheers!

  46. Jenn V. says:

    Um… I might be losing my mind, but I can't find your donation button, which I JUST saw. Help?

  47. Ozh says:

    Jenn V. » it appears when you click the Download button, but I'll make it more obivous, I get too many mail of this type :)

  48. redgouqi says:

    I finally found what I need for my blog,thankx

  49. I am running a multi-author site (not multi-site). I'd like to be able to put a copyright notice that would automatically change to which author wrote the post in the feed. I already have the site doing this on individual posts, because our authors own their content. Can this plugin do that? Or does it automatically just use the site name or owner for copyright information?

  50. Ozh says:

    Tracey Rollison » there's an undocumented %%token%% form that you can use to pass arbitrary content: %%< ?php your_function(); ?>%% (it's not documented because I don't want code monkeys to break everything)
    So you can have a simple function in your theme's functions.php that would echo the proper copyright, and call that function from within the feed footer. Experiment, break, experiment more, succeed!

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar and sign for a free account
Spam: Various spam plugins may be activated. I'll put pins in a Voodoo doll if you spam me.