On: 2005/09/17 Viewed: 87986 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. 121
    设计|生活|å... United States »
    pingback on 24/Aug/07 at 11:08 am # :

    [...] 这是84昨天摆弄Better Feed时突然想到的主意,这个位置插入的一句话链接可以出售给赞助商(理想状态),或者跟不同话题领域的优秀博客以相同方式互相交换推介,如果哪位朋友有意(有意购买或者有意交换推介)可以联系84. 为了要照顾读者的感受,这个部分的广告或者推介限制为简洁的一句话,字数不作严格限制,但是最好不会超过一行. [...]

  2. 122
    A little place of calm » Blog Arch... United States »
    pingback on 08/Sep/07 at 6:48 pm # :

    [...] have downloaded and installed the Better Feed plugin, tinkered with it a little. I hope it will encourage my LiveJournal readers to come to my [...]

  3. 123
    Add a Footer to Your RSS Feed: 7 Practic... United States »
    pingback on 10/Sep/07 at 1:00 pm # :

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

  4. 124
    How To: Add Copyright Notices To Your Bl... United States »
    pingback on 10/Sep/07 at 7:51 pm # :

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

  5. 125
    WordPress: 2.2.3 ÅŸi alte lucruri nota... Romania »
    pingback on 11/Sep/07 at 8:42 am # :

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

  6. 126
    All For Web » 改进feedç... Canada »
    pingback on 11/Sep/07 at 11:05 am # :

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

  7. 127
    5 praktiski piemÄ“ri kā uzlabot RS... Latvia »
    pingback on 12/Sep/07 at 2:13 pm # :

    [...] Signature PostPost Better Feed ©Feed [...]

  8. 128
    Most Usefull Wordpress Plugins To Optimi... United States »
    pingback on 15/Sep/07 at 11:35 am # :

    [...] Wordpress Plugin : Better Feeds - Adds related posts,read more links,next page links,copyright message feed sponsorship links, no. of comments, technorati cosmos, del.icio.us links and many others to feeds. I do not use this as the bookmarking links (generated by share this plugin which i use) automatically appears in feeds, still this is a great plugin. [...]

  9. 129
    我喜欢的几款... United States »
    pingback on 15/Sep/07 at 12:48 pm # :

    [...] Better Feed - 自由控制feed输出,可以添加版权信息 [...]

  10. 130
    又扯 WordPress 插件 at... United States »
    pingback on 17/Sep/07 at 4:41 am # :

    [...] Arctic’s Better Feed [...]

  11. 131
    JooIT | JooIT 博客更新... China »
    pingback on 17/Sep/07 at 3:28 pm # :

    [...] 针对RSS优化,使用Better Feed插件,在RSS中每篇文章下方超级连接显示文章分类Tag、文章版权、作者等信息; [...]

  12. 132
    List of my favorite wordpress plugins-To... United States »
    pingback on 20/Sep/07 at 11:51 am # :

    [...] Better Feed – control your feed freely, add copyright information in the end of feed. [...]

  13. 133
    Obez Blog » Wordpress Plugins &... Turkey »
    pingback on 24/Sep/07 at 1:18 pm # :

    [...] and manage Custom Fields on the fly. Better Feed allows you to enhance your feeds with several highly customisable features. [...]

  14. 134
    shtikl.com » Please Stop Talking Germany »
    pingback on 27/Sep/07 at 8:56 am # :

    [...] to any cartoon by clicking on the appropriate link under it. I even altered the RSS-feed (via the Better Feed-plugin) so you can reach the mail-function from your [...]

  15. 135
    Better Feed a wordpress plugin United States »
    pingback on 29/Sep/07 at 10:12 pm # :

    [...] WordPress Punters! For the WordPress plugin Better Feed has been updated with new features by its creator Ozh. And the new features might just improve your [...]

  16. 136
    WordPressWire.com » Top WordPress ... United States »
    pingback on 01/Oct/07 at 4:54 pm # :

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

  17. 137
    My favorite WordPress Plug-ins & Res... Germany »
    pingback on 04/Oct/07 at 1:00 am # :

    [...] Better Feed - Allows you to enhance your feeds with several highly customisable features. [...]

  18. 138
    Makadco Blog » Blog Archive »... United States »
    pingback on 10/Oct/07 at 10:41 pm # :

    [...] and manage Custom Fields on the fly. Better Feed allows you to enhance your feeds with several highly customisable features. [...]

  19. 139
    Manele Noi Romania »
    said, on 11/Oct/07 at 9:17 am # :

    I tested your plugin and is really nice. This Help me a lot with my blog! Thank You!

  20. 140
    我的WorldPress插件è... United States »
    pingback on 12/Oct/07 at 9:13 am # :

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

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