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.
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 :
-
(...)<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 :
-
<p>%%readmore%%</p>
-
<hr noshade style="margin:0;height:1px" />
-
<p>© %%author_nick%% for <a href="%%blogurl%%">%%blogname%%</a>, %%date[Y]%%. |
-
<a href="%%posturl%%">Permalink</a> |
-
<a href="%%posturl%%#comments">%%comments_text%%</a></p>
-
<p>Add to <a href="http://del.icio.us/post?url=%%posturl%%&title=%%posttitle%%">del.icio.us</a></p>
-
<p>Search blogs linking this post with <a href="http://www.technorati.com/search/%%posturl%%" title="Search on Technorati">Technorati</a></p>
-
<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
232 Blablas
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 … 12 » Show All
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 … 12 » Show All
wrote, on 02/Apr/06 at 12:55 am # :
Sarit: of course. Check my feed as an example. Of course resync your feedburner feed to reflect changes immediately.
pingback on 02/Apr/06 at 3:52 am # :
[...] The “Delicious Phase” began late last night with a desire to provide an easy method for readers like you to add MacManX.com’s posts and pages to your del.icio.us bookmarks. I began the rather lengthy process of implementing the “Delicious Phase” by replacing Angsuman’s Feed Copyrighter plugin with Ozh’s Better Feed plugin. Ozh’s plugin allows me to present MacManX.com’s RSS feed with a copyright notice similar to the one formerly provided by Angsuman’s plugin and an “Add to: del.icio.us” link under every post, as well as other useful features. Once Ozh’s plugin was properly configured and activated, I then began the long task of adding the “Add to: del.icio.us” link to Rin’s template files in order to make it appear under every post and almost every page here at MacManX.com. The completion of this specific task did not occur until sometime during the dark hours of the morning, mostly because I was very indecisive about the final placement of the link. [...]
thought, on 02/Apr/06 at 10:40 am # :
Well, in that case- you're a genius :)
That's exactly what I've been looking for!
Thanks.
pingback on 08/Apr/06 at 11:35 am # :
[...] Als tussenoplossing heb ik de Betterfeed Plugin geinstalleerd. Deze plugin voegt o.a. een link toe naar het commentaar (Geen Reacties, 1 Reactie, 2 Reacties enz.). Dit betekent dan in ieder geval dat in RSS lezers als Bloglines het bericht na ieder toegevoegd commentaar weer “nieuw” wordt en opduikt in de lijst met ongelezen berichten. Ooit vond ik dat overigens vervelend gedrag, maar tegenwoordig stel ik dat juist op prijs, zodat ik de discussie n.a.v. een bericht kan volgen. Als u dit storend of juist wenselijk vindt, meldt het dan a.u.b.! Ik ben benieuwd naar uw mening! [...]
pingback on 08/Apr/06 at 6:32 pm # :
[...] השתמשו בפל×גין BetterFeed של Ozh על ×ž× ×ª להוסיף תוכן ומידע × ×•×¡×¤×™× ×¢×œ ×”×¤×•×¡×˜×™× ×©×œ×›× ×›×ž×• מספר התגובות, חיפוש ×‘×˜×›× ×•×¨×˜×™ והוספה לדלישס, כל ×–×” ×¢"×™ הפעלה פשוטה של הפל×גין. [...]
commented, on 09/Apr/06 at 9:28 pm # :
If I have a thumbnail picture in my daily entry, will this plugin allow me to publish that thumbnail to my RSS feed and have it show up in feed readers?
I have been trying and trying to figure out how to do that and just... can't. Argh.
commented, on 10/Apr/06 at 9:39 pm # :
Ozh, thank you for the great plugin. I have been using it for several months now and have found it very useful. Props out.
said, on 21/Apr/06 at 8:07 am # :
Exactly what I needed! Thanks so much!
(Tipped you a few bucks for all the time you saved me tonight.)
Amit
http://www.photojojo.com
replied, on 11/May/06 at 7:12 pm # :
This is a clever enhancement to WP. Thank you.
While I agree that full feeds are often better, there are occasions when a split feed is preferred. I make heavy use of category feeds in WP for our "News & Events" blog. When one of these category feeds is being consumed on a main page to show the latest news and events, I want it to show a teaser in order to save space. On the other hand, when one of these category feeds is being consumed by a page that is designed for printing, I want full feeds. Is there a way to selectively apply the Better Feed mojo to some feeds and not others?
commented, on 16/May/06 at 3:29 pm # :
Another question I have is how to change the date format to e.g. Dutch format. I already have the language file for Dutch installed in Wordpress.
thought, on 16/May/06 at 3:31 pm # :
Sorry, my first question was how to completely remove the "Comments" line from the RSS feed.
Great plug-in!
commented, on 19/May/06 at 10:56 am # :
In the meantime I got the solution via the Wordpress forums:
Edit the wp-rss2.php file, and remove the comments line in there.
wrote, on 24/Jun/06 at 8:19 pm # :
hi! that's a quite good plugin. I am using it and wanted to say thanks. And my recommendation about the comment counts would be not to use. People can encourage their readers to use comment feeds.
said, on 10/Aug/06 at 1:15 am # :
Thanks for this plugin! It was exactly what I was looking for.
SMYF: http://feeds.feedburner.com/Mymoneyblog
said, on 18/Aug/06 at 2:31 pm # :
Hi Ozh
Nice plugin except I am having the asme problems as outlined in comment 56 above.
Feeds from:
http://www.redcardinal.ie/feed/rss/
are not being parsed correctly while from:
http://www.redcardinal.ie/feed/
and
http://www.redcardinal.ie/feed/atom/
your plugin is doing the trick. I use Google reader and only seems interested in picking up the 0.92 feed which isn't parsing the correct feed.
Any ideas pls?
replied, on 20/Aug/06 at 10:43 am # :
Hi again Ozh
Forget about my post above - it seems to have settled itself.
Maybe Wordpress caches the RSS feed file?
Anyhow, thanks for the plugin!
thought, on 20/Aug/06 at 11:34 am # :
Hmm
Sorry I spoke too soon.
RSS 0.92 still spitting out the old WP feed... :(
thought, on 29/Aug/06 at 11:31 pm # :
Hello! I’m looking for a plugin that lets me show a different Number Of Posts in the feed, depending on which category it is. For example my “News†feed will be the usual 10 posts limit, but the “Podcast†feed will show “-1″ posts (or, ALL the posts in that category, whether it’s 12 posts or 40).
Can you add this feature, or is there another way?
said, on 15/Sep/06 at 8:24 pm # :
I love this script, it works awesome. They only problem that I have with using it, is that neither the full post or the "read more" excerpt are being shown. I have changed both settings (on/off if you will), but still only get the excerpts. I also don't get any errors. Any ideas on what could be wrong? Full post feeds are essential to the business that I am trying to start.
replied, on 23/Sep/06 at 5:20 am # :
Its pretty useful plugin... thank you..