On: 2005/09/17 Viewed: 88010 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: « 1 2 3 4 [5] 6 7 8 9 10 1112 » Show All

  1. 81
    novovo.net » FeedBurner United States »
    pingback on 30/Oct/06 at 4:25 pm # :

    [...] There’s also the ability to monetize your feed. While it is tempting to just leave all the work to the automated service, you should consider the fact that you’d have a lot more freedom to choose if you’d use your own ads. For that i recommend using the Better Feed plugin. [...]

  2. 82
    10 WordPress Plugins you just gotta have... United States »
    pingback on 31/Oct/06 at 5:27 pm # :

    [...] 2. Better Feed If you’ve got my RSS feed, you’ll see all the dodads and widgets at the bottom of the post. That’s from Better Feed, and it’s a plugin that adds whatever you want to posts in your feed. One of the first and favorite plugins I’ve found for WordPress. [...]

  3. 83
    Forum Feedback - Ideas Welcome - Page 4 ... Ireland »
    pingback on 01/Nov/06 at 10:41 am # :

    [...] Wordpress Plugin : Better Feed « planetOzh You have to do a little editing in the plugin editor and it doesn't rotate ads but you can put pretty much anything you want. __________________ .: Search Engine Optimisation Ireland | Catering Company Dublin :. [...]

  4. 84
    Better Feed WordPress Plugin United States »
    pingback on 03/Nov/06 at 9:43 am # :

    [...] Go to the Better Feed WordPress plugin page for more info. [...]

  5. 85
    TheWheeler Serbia and Montenegro »
    wrote, on 03/Nov/06 at 2:19 pm # :

    This is really "the feed on steroids"! Splendid job! Thank you for sharing!

  6. 86
    bernabauer.com - Problemas no RSS! $%@#$... United States »
    pingback on 11/Nov/06 at 5:07 pm # :

    [...] Quem puder me ajudar e ao Bruno também, aqui vai um pouco de informação. Não tenho script especial para gerar o feed como o Bruno. Uso a boa e velha funcionalidade nativa do wordpress para gerar o feed. Uso um plugin chamado Feedburner Feed Replacement 2.02, o plugin Better Feed e um módulo do meu plugin de anúncios para gerenciar links de textos nos feed, mas este está atualmente desativado. [...]

  7. 87
    GFansBlog » Blog Archive » W... United States »
    pingback on 16/Nov/06 at 4:55 pm # :

    [...] 阅读全文:Wordpress Plugin : Better Feed Explore posts in the same categories: 互联网 >>> Tags: wordpress, plugin [...]

  8. 88
    Milan Europe »
    thought, on 24/Nov/06 at 6:33 pm # :

    Thanks a lot for this. It looks extremely helpful.

  9. 89
    guy United States »
    said, on 25/Nov/06 at 4:57 am # :

    I am looking for a plugin that can post RSS content in an article on a blog so it appears just like any other blog post, say once a day. If it caches 10-15 at a time thats fine too as long as it only places one blog post at a time.

    Will this plugin handle my needs or is there something else I need?

  10. 90
    YAMB.BETA² » Bastelstunde: Supe... Germany »
    pingback on 29/Nov/06 at 4:50 am # :

    [...] Ich will nur spielen! Konkret mit dem Wordpress-Plugin „Better Feed“ von Ozh. Das Feature-Set rockt, Kommentar des Autors: „Your feeds, on steroid.“ Die Funktionen im Überblick: [...]

  11. 91
    Best Wordpress Plugins – sig2feed United States »
    pingback on 11/Dec/06 at 9:19 pm # :

    [...] This feature is very useful because it will discourage sploggers to steal your feed and it will also increase your page views if people click on the link you put on the footer of your feed. There are other plugins out there providing the customization of the feed (check Better Feed for instance) but sig2feed was the most user-friend I could find, check it out. December 11th, 2006 under Wordpress | +del.icio.us +Digg +reddit [...]

  12. 92
    Money VS Debt - Documenting My Travels T... United States »
    pingback on 04/Jan/07 at 4:29 am # :

    [...] First link I’ve found via mymoneyblog.com was an awesome plugin thats going to help me out trumendiously awesome plugin! [...]

  13. 93
    corpodibacco Italy »
    said, on 10/Jan/07 at 1:54 pm # :

    Hi, I'm using your plugin here: http://www.italyisfalling.com/feed/
    and I am very satisfied.
    It would be perfect if this plugin would also address optionally the 'relative URI' feed problem, which is common in wordpress and which feedvalidator castigates (for example the IE7 feed reader doesn't work with relative URI in feeds). That would make it the 'pefect feed' plugin :)

  14. 94
    [MacStansbury] United States »
    trackback on 14/Jan/07 at 4:20 am # :

    5 ways to more deliciousness, day 4: Licensing

    This is one in a series of posts for mastery of del.icio.us and assumes you have a working knowledge of the system. For a complete listing of all you can do with del.icio.us, read through the help documentation. This sounds...

  15. 95
    wordpress info Lithuania »
    trackback on 30/May/07 at 1:04 pm # :

    Pridėkite daugiau informacijos į blogo feedus...

    Informacijos srautai (angliškai feeds, toliau feedai) yra labiausiai besiplečianti interneto technologija pasaulyje. Kodėl? Tai technologija, kai informacija pati ateina pas skaitytoją. Pavyzdžiui aš labai daug informacijos gaunu per feedų skait...

  16. 96
    A Better Feed :: Avi Alkalay United States »
    pingback on 15/Jun/07 at 8:42 am # :

    [...] can’t sleep, so I configured a better feed for my blog.   « Sun uses ODF [...]

  17. 97
    Avi Alkalay Brazil »
    said, on 15/Jun/07 at 8:48 am # :

    I have a better feed now. http://avi.alkalay.net/feed/

    I use feed for categories and man other stuff. So I miss this features:

    - Ability to change the feed title, to possibly include the category name.
    - Ability to provide feeds of multiple categories combined. So if I have categories A, B and C on my blog, I'd like to have a single feed URL for posts on category A or B, but not C.

    Than you

  18. 98
    Daugiau kontekstinÄ—s informacijos ti... Lithuania »
    pingback on 21/Jun/07 at 1:14 pm # :

    [...] Better Feed. Šis įskiepis leidžia išplėsti WordPress pateikiamą RSS srautą papildoma informaciją. Pagrindinė jo savybė yra ta, kad į kiekvieno straipsnio pabaigą galima įtraukti kokią tik nori informaciją. Jis supranta HTML sintaksę ir turi kelis kintamuosius, kuriais pateikiama dinaminė informacija. Didžiausia jo blogybė ta, kad viską reikia rašyti į .php failą, o tai labai nepatogu paprastiems naudotojams. [...]

  19. 99
    我的Better Feed修改æ... United States »
    pingback on 27/Jun/07 at 4:55 pm # :

    [...]   Better Feed是一款可以自定义添加Feed内容的插件,不过他没有管理页面,修改设置的话需要修改插件本身(52行-61行之间)。这里贴下我的修改方案,例子可以查看我的Feed页面。 [...]

  20. 100
    Wordpress Blog + Making Money : Canada »
    pingback on 28/Jun/07 at 11:12 pm # :

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

Pages: « 1 2 3 4 [5] 6 7 8 9 10 1112 » 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