On: 2005/09/17 Viewed: 87984 times

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

Current version : 1.99 for WordPress 2.5+ Incoming version 2.0 with an easier to customize admin panel.

Features

  • 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 "Next page" links
    Similarly, you can split posts in pages, with <!--nextpage-->. By default, feeds only show the first page and give no link for the rest. Why not have the same "Read more" link within your feed ?
  • 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 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 a list of related posts
    Improve connectivity between your feed and your site : why not add, at the end of each RSS item, a list of related posts your readers may have missed ?
  • Add a link for Technorati's Cosmos
    Why not add a handy link to quickly check who's linking to your post ?
  • Add a "Add to del.icio.us" link
    Let your readers bookmark your entries right from within their RSS reader
  • Add anything
    There's so many stuff you could think of that I just can't list them all :)

Download

You know the story : download, edit the beginning, upload to your server, activate. Next section details everthing that can be edited.

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

Configure

Edit the beginning of the plugin (the source itself is fairly well documented, most users can just stop reading here now :)

$wp_ozh_betterfeed['split']
Set to 1 (one) if you want your feed to obey the <!--more--> tag and add a "Read more" link.
Set to 0 (zero) otherwise (print whole post, as in Wordpress default behavior)

$wp_ozh_betterfeed['multipage']
Set to 1 (one) if you want your feed to smartly hanlde multiple page posts (with <!--nextpage-->), i.e. provide a "Read More" link as well (Wordpress default behavior does not special in this case, just displays first part and nothing else)

Now edit your custom strings : "read more" link, custom footer, number of comments. In each of these strings, you are allowed to use the following "template tags" :

  • %%blogname%% : blog name (My Weblog)
  • %%blogurl%% : blog url (http://myblog.com/)
  • %%posttitle%% : post title (Hello World)
  • %%posturl%% : post url (http://myblog.com/archives/2001/02/03/hello-world/ or http://myblog.com/?p=1337)
  • %%id%% : post ID (its number, i.e. 1337 in above example)
  • %%date[Y]%% : date / time of post, where pattern within brackets follows PHP date() syntax
  • %%categories%% : list of commas separated category names the post is filed in
  • %%categorylinks%% : list of commas separated category links the post is filed in
  • %%comments%% : number of comments
  • %%comments_text%% : text for 0, 1 or xx comments (see below)
  • %%readmore%% : "Read more" link text, if applicable (see below)
  • %%wordcount%% : total number of words in a post
  • %%wordcount_remain%% : number of words in second part after the split
  • %%author_first%% : author's firstname
  • %%author_last%% : author's lastname
  • %%author_nick%% : author's nickname

Use these tokens to create your own strings for the following :

$wp_ozh_betterfeed['readmore']
Defines text for the "Read more" link, if applicable (empty otherwise)
Suggested :

CODE:
  1. (...)<br/>Read the rest of <a href="%%posturl%%">%%posttitle%%</a> (%%wordcount_remain%% words)

$wp_ozh_betterfeed['footer']
Defines you custom footer that will be added after every RSS items.
Suggested :

CODE:
  1. <p>%%readmore%%</p>
  2. <hr noshade style="margin:0;height:1px" />
  3. <p>&copy; %%author_nick%% for <a href="%%blogurl%%">%%blogname%%</a>, %%date[Y]%%. |
  4.     <a href="%%posturl%%">Permalink</a> |
  5.     <a href="%%posturl%%#comments">%%comments_text%%</a></p>
  6. <p>Add to <a href="http://del.icio.us/post?url=%%posturl%%&amp;title=%%posttitle%%">del.icio.us</a></p>
  7. <p>Search blogs linking this post with <a href="http://www.technorati.com/search/%%posturl%%" title="Search on Technorati">Technorati</a></p>
  8. <p>Want more on these topics ? Browse the archive of posts filed under %%categorylinks%%.</p>

$wp_ozh_betterfeed['0comment'] = "No comment";
$wp_ozh_betterfeed['1comment'] = "One comment";
$wp_ozh_betterfeed['Xcomments'] = "% comments";
Define replacement for %%comments_text%% when there is no, one or more than one comment. The '%' sign is replaced by actual number of comments in the last string.

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.

License

This plugin is released under the terms of the SMYF License. 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 !)

Metastuff

This page "Wordpress Plugin : Better Feed" was posted on 17/09/2005 at 11:28 pm
Watch this discussion : Comments RSS 2.0. You can trackback this post from your own site

232 Blablas

    Pages: « 12 3 4 5 6 7 [8] 9 10 11 12 » Show All

  1. 141
    Rob United States »
    thought, on 23/Oct/07 at 7:16 am # :

    This is a great plugin. Works great with WP 2.3. You can checkout our snazy new formatted feed at http://www.neatostuff.com/

    Thanks!

  2. 142
    Improve Your Better Feed: Wordpress Plug... United States »
    pingback on 25/Oct/07 at 7:51 pm # :

    [...] can do this fairly easily using Better Feed, which improves your feed in a number of ways. It [...]

  3. 143
    Five Favorite Wordpress Plugins United States »
    pingback on 29/Oct/07 at 7:04 pm # :

    [...] Feed PlanetOzh’s plugin, BetterFeed, allows you to automatically make some neat changes to your RSS feed. Why would you care about [...]

  4. 144
    http://i167.photobucket.com/albums/u131/... United States »
    pingback on 31/Oct/07 at 1:56 pm # :

    [...] a FeedBurner plugin such as Better Feed WordPress plugin provide a Permalink to your post and other powerful options to personalize the [...]

  5. 145
    WordPress Plugins Spotlight for 10.29.07... United States »
    pingback on 02/Nov/07 at 3:59 am # :

    [...] Better Feed - Brought to you by Ozh - this plugin puts your RSS Feed on steroids! It allows you to enhance your feeds with several highly customisable features. [...]

  6. 146
    Wordpress eklentisi : Better Feed at Mav... United States »
    pingback on 05/Nov/07 at 11:19 am # :

    [...] öğe kullanılarak okuyuculara bloğunuza gelmeden çeşitli seçenekler sunmak mümkün. Wordpress eklentilerinden Better Feed ile beslemenize birçok özellik [...]

  7. 147
    DazzlinDonna United States »
    replied, on 10/Nov/07 at 9:32 pm # :

    I'm using this now on 2 blogs. For now, it's pretty plain and simple, but the reason I wanted it, was so I could occasionally give bonus material to subscribers, or put in "secret info" just for subscribers. So, when it's time for those things, I'll add that in as well.

    You can see the plain versions currently at:

    SEO Scoop feed and DazzlinDonna feed. The second one hasn't had a new post since installing the plugin, so you won't see it until at least tomorrow.

    Thanks very much for the great plugin. Just what I needed.

  8. 148
    outman China »
    commented, on 12/Nov/07 at 9:56 am # :

    Great!Thanks for your sharing

  9. 149
    Manele Romania »
    wrote, on 12/Nov/07 at 2:43 pm # :

    Thank you for this plugin! now my server is not overloaded so much and i'm happy! thank you again!

  10. 150
    24h Blog » Blog Archive » Ad... United States »
    pingback on 14/Nov/07 at 4:40 am # :

    [...] Better Feed [...]

  11. 151
    5 Plugins to get more out of your feeds ... United States »
    pingback on 19/Nov/07 at 9:45 pm # :

    [...] are a place where you can have copyright notices, site navigation, about us options and more. Better Feed is a superb plugin that allows you to add copyright notices, read more links, links to categories [...]

  12. 152
    CJ Australia »
    wrote, on 20/Nov/07 at 3:49 am # :

    Bonjour Ozh!

    I have all the other features of your plugin installed and working nicely. But I'm struggling to get rid of these damned "More" links (ironic considering thats the reason I installed it).

    $wp_ozh_betterfeed['split'] is set to zero - but alas the more links are still appearing. Is there anything else I should be aware of? Or any known conflicts with other plugins?

    The wordpress feed is: http://devone.theroar.com.au/feed

    Any help would be appreciated.

    CJ

  13. 153
    Ozh France »
    commented, on 20/Nov/07 at 9:53 pm # :

    CJ » Actually, back when I coded this plugin, WordPress' behavior was the opposite (show full post in feed and don't comply to the "read more" jump) so this plugin feature was made to force feeds to break. I need to recode it to do it the other way round now :)

  14. 154
    CJ Australia »
    said, on 21/Nov/07 at 5:43 am # :

    Ok - Thanks for the quick reply.

    A bientot!

    CJ

  15. 155
    Mihai Romania »
    thought, on 21/Dec/07 at 3:05 pm # :

    Great plugin,it works ;)

  16. 156
    James United States »
    thought, on 24/Dec/07 at 8:03 am # :

    Great plugin. Using it on GameIndependent (or I will be, when I fix the feed). Gonna add it to all my WP sites.

  17. 157
    James United States »
    said, on 28/Dec/07 at 6:47 am # :

    Double posting here, but thought I'd offer: If you're interested, I'd like to add an admin options page so I don't have to edit the code.

  18. 158
    Ozh France »
    said, on 28/Dec/07 at 10:13 am # :

    James » Sure, that would be cool :)

  19. 159
    João Leitão Morocco »
    thought, on 06/Jan/08 at 3:24 am # :

    Greetings!

    thanks for this great feed plugin. I love your flag in the comment section, to identify where people are from. Can you tell me the name of that plug in please?

    thank you

  20. 160
    Ozh France »
    said, on 07/Jan/08 at 10:28 pm # :

    João Leitão » It's my "IP to Nation" plugin.

Pages: « 12 3 4 5 6 7 [8] 9 10 11 12 » Show All

Leave a Reply

Comment Guidelines or Die

  • HTML: You can use these tags: <a href=""> <em> <i> <b> <strong> <blockquote>
  • Posting code: Post raw code (no <> &lt; etc) within appropriate tags : [php][/php], [css][/css], [html][/html], [js][/js], [sql][/sql], [xml][/xml], or generic [code][code]
  • Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar.
  • Spam: Various spam plugins on patrol. I'll put pins in a Voodoo doll if you spam me.
  • I will mark as Spam test comments, all comments with SEO names (ie "My Cool Online Shop" instead of "Joe") or containing forum-like signatures.

Close
E-mail It