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
said, on 17/Dec/05 at 3:45 am # :
Ozh, I can't get the replaced trick to work... when I replace with the new code the quotes in the code don't close properly and things get all wacky... I tried smoothing it out by replacing with different types of quotes in the code to match what is in the plugin file but it wasn't working... could you send me the updated plugin file with the working fix?
pingback on 18/Dec/05 at 11:41 pm # :
[...] setzt man das Wordpress-Plugin Better Feed ein, was ich testhalber getan habe, sieht man zB in Bloglines folgende Zusatzangabem, die das Plugin im RSS Feed ergänzt hat: (Negativbild) [...]
pingback on 19/Dec/05 at 1:38 pm # :
[...] Mit dem Wordpress Plugin Better Feed lässt sich der RSS Feed [...]
thought, on 20/Dec/05 at 2:06 am # :
Mark » sorry, I didn't check how my comment outputted. What I meant was :
$string = str_replace('%%posttitle%%', str_replace('"','"',get_the_title()), $string);
pingback on 23/Jan/06 at 12:21 am # :
[...] Wordpress Plugin : Better Feed « planetOzh Wordpress Plugin : Better Feed « planetOzh (tags: wordpress plugin rss blog plugins blogging blogs design webdev lazysheep) [...]
wrote, on 02/Feb/06 at 6:55 am # :
Does this plug-in work with WP 2.0+? I tried to install it but didnt appear to be working correctly.
Also will this allow the display of images from our RSS Feed?
said, on 02/Feb/06 at 12:17 pm # :
Mickey » I'm using it right here.
pingback on 02/Feb/06 at 9:17 pm # :
[...] Better Feed [...]
commented, on 10/Feb/06 at 12:37 am # :
This is what i`ve looking for, gonna use it on 1 of my blog. thanks :)
pingback on 10/Feb/06 at 11:57 am # :
[...] Wordpress Plugin : Better Feed « planetOzh Better Feed is a plugin for Wordpress that allows you to enhance your feeds with several highly customisable features. [...]
commented, on 22/Feb/06 at 11:40 pm # :
If the plugin doesn't work, then change under
Options
-> Reading
-> Syndication Feeds
- >For each article show
from "Summary" to "Full Text"
Then it worked over here.
pingback on 23/Feb/06 at 2:23 am # :
[...] Impliment the Wordpress Better Feed plugin. Then you can enable readers to make a more informed choice about being forced to view your website. Also, you can configure it to show links to your products and services at the end of the feed item should you want to. [...]
thought, on 26/Feb/06 at 4:51 pm # :
Nice plug-in and it's doing on full feeds what I hacked directly into the RSS files to show on my summary (making it easier). The only thing I'd like to do is be able to keep my summaries on and have it show the footer regardless. Any thoughts on what to add to the plug-in to do this?
commented, on 27/Feb/06 at 12:40 am # :
Elana » I designed the plugin exactly to entice people to switch to full feeds. People afraid of automatic content stealing can add a copyright, people wanting to add some teasing on their webpage with a "More" tag can do the same on their feed, etc...
So, basically, I designed it exactly *not* to work with short content feeds. Because, you know, partial content feeds suck :) Plus, a short content feed with as much text in the post summary as in the footer, well, that would really suck.
So, basically, you're on your own if you want to modify it to do so.
pingback on 27/Feb/06 at 5:55 pm # :
[...] Better Feed (neu) - ein paar nützliche Zusatzinfos für RSS-Leser: Name des Autors, Permalink, Link zu den Kommentaren und deren Anzahl, Technorati-Link, um zu sehen, ob der Artikel verlinkt wurde, “Add to del.icio.us“-Link und Links zu den Kategorien sowie weitere Optionen. [...]
thought, on 05/Mar/06 at 10:40 am # :
Most of my friends are on LJ, and tend to forget to leave their little sandboxed world to comment; as a consequence, I don't see their replies. I've been meaning to do something like this for quite some time.
Just upgraded to WP 2.0, installed this plugin, and the feed displayed with /feed/ doesn't seem to have been updated. However, if I append "?feed=rss2" to my blog URL, I do get the modified feed. This might explain the "it's not working!" posts.
Any idea how to make the /feed/ URL show the correct data?
wrote, on 05/Mar/06 at 12:28 pm # :
Sam » I see no difference between your two URLs.
As for the "it's not working see no difference!" complaints, they mostly concern people who check their feed on feedburner, which actually can take a few moments to reflect changes on your actual feed.
pingback on 12/Mar/06 at 1:45 pm # :
[...] 3ã€Better Feed 增强 RSS Feed 内容。 [...]
pingback on 13/Mar/06 at 1:02 am # :
[...] i installed a new wordpress plugin yesterday. it’s called “better feed” and i am using it to do things that really should be easier to do on my own, but whatever. the principal reason that i sought it out was because it allows me to use the “quicktag” that makes a little link that says (more…), and everything before the link turns into the snippet that shows up on my rss feed, and the rest is cut off, but the link takes you to my site so that you can read the whole post, if you so choose. this is something that worked on my blog itself all along, but which didn’t export to my rss feed, which was aNNoying. it made me not use the feature, actually, because so many people read my blog through planet info that, if the whole post was going to appear there, it didn’t really matter if it was more conveniently formatted on my homepage. i didn’t want to write anything that was longer than i wanted to show up in the aggregator. [...]
said, on 01/Apr/06 at 9:16 pm # :
Do these changes have any impact on my feedburner feeds?
Meaning, if I costumize my default Wordpress feeds with this plugin, does it change the way my feedburner feeds look?