On: 2005/09/17 Viewed: 87975 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. 181
    'nother marco Germany »
    wrote, on 08/Apr/08 at 5:48 pm # :

    desperately waiting for your update, too

  2. 182
    marco Germany »
    replied, on 09/Apr/08 at 6:53 am # :

    Lets motivate Ohz'y a bit by doing cheerleader things *GIVE ME AN O!*

  3. 183
    marco Germany »
    said, on 09/Apr/08 at 10:16 am # :

    Yay ... 1.99 is there - thanks for updating Ozh. One problem anyway: with 1.99 activated and using Windows Live Writer as xmlrpc client i get blogger.getusersblog error now.

  4. 184
    marco Germany »
    said, on 09/Apr/08 at 11:36 am # :

    ...hmmm .. and feed seems to screwed up as soon as i enable the default betterfeed settings ... malformed xml ...

  5. 185
    'nother marco Germany »
    commented, on 09/Apr/08 at 12:19 pm # :

    cooool! version 1.1 works for me, my deepest thanks!!!

  6. 186
    Generazione Internet Italy »
    wrote, on 10/Apr/08 at 8:52 am # :

    Hi, thank you very much for the plugin, it's really useful in wp 2.5! I was looking for these features from a lot of time (since the 2.5 version was released). I'll post an article in my blog about your plugin (in italian language). (i just writed something on your others plugins). Bye!

  7. 187
    Wordpress 2.5 e feeds RSS parziali: con ... Italy »
    pingback on 10/Apr/08 at 10:21 am # :

    [...] a BetterFeed: prima di installarlo, va configurato tramite l’utilizzo di un editor di testo, sul proprio [...]

  8. 188
    Scott United States »
    replied, on 12/Apr/08 at 2:00 am # :

    Does this PI work with the Feedburner redirection plug in? As soon as I enable that PI, I get pull feeds again, as soon as I turn it off, I get the Better Feed style feeds.

    Maybe this is just an issue of FeedBurner needs to update their pull from me and it has not happened yet?

  9. 189
    Ozh France »
    commented, on 12/Apr/08 at 9:37 am # :

    Scott » this plugin modifies your feed. Then, feedburner copies your feed, regardless of what happens to it before, so of course they can live together. I'm using both here on this blog. Feedburner will reflect changes either on next update, or if you resync (feedburner -> troubleshootize : resync)

  10. 190
    ??.??? » [??]??100?Wordpress???? China »
    pingback on 13/Apr/08 at 11:56 am # :

    [...] 85?Better Feed???Feed??? [...]

  11. 191
    The Best Blogging Software (WordPress) +... United States »
    pingback on 13/Apr/08 at 3:39 pm # :

    [...] Better Feed 1.99 » Ozh (url) Your feeds, on steroid. Add a footer with a copyright, “Add to delicious”, the number of comments… Add anything to your feed. For WordPress 2.5+ [...]

  12. 192
    WordPress?? » Blog Archive »... United States »
    pingback on 14/Apr/08 at 9:37 am # :

    [...] 85?Better Feed???Feed??? [...]

  13. 193
    » Feed RSS Wordpress 2.5: Ripristi... Italy »
    pingback on 14/Apr/08 at 12:01 pm # :

    [...] è molto semplice: Vi basterà recarvi alla seguente pagina e salvare il primo file (txt) con estensione .php. Una volta terminata questa procedura, caricate [...]

  14. 194
    aobodo.com » Blog Archive » ... United States »
    pingback on 14/Apr/08 at 1:24 pm # :

    [...] 85?Better Feed???Feed??? [...]

  15. 195
    Andrei Ukraine »
    wrote, on 14/Apr/08 at 7:02 pm # :

    Thank you very much for this plugin!

  16. 196
    human Europe »
    replied, on 15/Apr/08 at 5:05 pm # :

    Dude, this plugin rocks. Especially now, because the wordpress team changed the -more- thingy in 2.5.

  17. 197
    mysticalforum.com Israel »
    replied, on 15/Apr/08 at 5:29 pm # :

    Yes, definitely thank you so much for this plug in. I have been trying to get my feed back from the feedburner monster and have been looking for ways to dress it up (comments, bookmarks etc.) However - I do have a silly question...

    Could you explain in simplet terms how to format the php script for non-programmer types? i.e. where if & how I need to configure the perma link, site url & how to format the whole thing, digg url etc.... I think I configured as per your instructions, but nothing is showing up... Thanks!

  18. 198
    rusty-halo.com » Blog Archive &raq... United States »
    pingback on 17/Apr/08 at 8:26 am # :

    [...] people are reading it with FeedBurner. They’ve got a WordPress plugin here. I also installed BetterFeed to put a custom footer on my feed [...]

  19. 199
    Skylog » Blog Archive » link... Italy »
    pingback on 17/Apr/08 at 8:30 am # :

    [...] Better Feed (tags: wordpress plugin) [...]

  20. 200
    Guide Geek: come avere il controllo tota... United States »
    pingback on 17/Apr/08 at 2:01 pm # :

    [...] Effettuare il download di Better Feed dal sito dell’autore e scompattare il contenuto dell’archivio Zip in una nuova [...]

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