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
commented, on 26/Jan/08 at 4:39 pm # :
Somehow this plugin isn't working for me. Could you take a look at my feed and see if it's working for you? Thanks.
commented, on 26/Jan/08 at 8:53 pm # :
Sue » it is working fine on your feed as far as I can see.
commented, on 28/Jan/08 at 9:36 pm # :
Just wondering if this works with feeds being 'fed' through Feedburner as well?
said, on 28/Jan/08 at 9:47 pm # :
nm sorry I didn't notice there were previous pages of comments!
wrote, on 29/Jan/08 at 3:11 pm # :
Ive got to be missing something because i cant get this plugin to work. I even created a blank WP blog with no plugins except this one. I did nothing to the plugin file, then activated it.
I don't see anything with my comments. Please help.
thought, on 29/Jan/08 at 5:23 pm # :
Ok, let me update my question. The data shows up in my data feed, however, i would like the same information to display at the bottom of my posts.
Im guessing that would be a different plugin?
commented, on 29/Jan/08 at 9:53 pm # :
John » this is why it's called Better Feed, probably. For posts, you need another plugin (that would be very similar if not practically identical, obviously) or, more simply, just modify your theme to include those changes.
commented, on 30/Jan/08 at 2:01 am # :
Thanks!
wrote, on 01/Feb/08 at 2:13 pm # :
Hi,
I am having strange problem.You can check http://www.ubuntugeek.com/feed/ and i am getting everything other than related posts is there anything i need to do for this.
Thanks for your great plugin
Dave
commented, on 01/Feb/08 at 7:35 pm # :
dave » I can't even see the feed on your site
replied, on 03/Feb/08 at 8:13 pm # :
could you please check now you should be able to see and related posts are not appearing
Thanks
wrote, on 04/Feb/08 at 3:41 am # :
This is the James #157. I did go ahead and create an admin interface for the plugin. I can e-mail you the expanded version. Drop me a message.
wrote, on 20/Feb/08 at 2:31 am # :
Hello Ozh, Great Plugin!
I have a question though, I am trying to get the custom fields to work. I entered the following under the area where it says "/* The function that translate every %%stuff%% into their values */"
$string = str_replace('%%custfield%%', post_custom('key'), $string);
I am putting "%%custfield%%" between the FEEDFOOT. This doesn't seem to be working for me. Where do I put which key that I am using?
replied, on 22/Feb/08 at 7:11 am # :
Any ideas Ozh?
replied, on 05/Mar/08 at 10:56 pm # :
Ozh, thanks for this! I've been searching for a way to add a "comment at the site" footer to my rss, Thanks again!
commented, on 12/Mar/08 at 6:30 pm # :
Ozh,
Great Plugin! I can't get it to work when there is no post content. Do you know if there is a way to do this?
said, on 27/Mar/08 at 9:24 pm # :
Hi Ozh,
Thanks for this plugin! I've been able to install it and get everything working on my blog at Mechazilla.com without any trouble. However I'm having some issues with my blog at Fandomania.com. The plugin installs fine, and it all looks good, but for some reason it's not putting the Read Mores and multiple page breaks into my feeds. It is correctly inserting the footer (I modified it to just include a HR), so I know it's modifying the feed but just isn't putting in the Read More or Next Page. Any idea what could be going on? After editing the plugin, I installed it on both blogs exactly the same, so I really have no idea what I might be doing wrong. Thanks in advance!
said, on 27/Mar/08 at 10:05 pm # :
Jason » Not sure, anyway I will update this plugin for 2.5
said, on 30/Mar/08 at 11:58 pm # :
Hi Ozh,
This is a great plugin, yet in WP2.5 it generates the full feed (even though it's set to summary in WP Settings and to 1 in plugins file). I can't wait to see the update :)
said, on 31/Mar/08 at 10:03 am # :
@ozh: yeah - cant wait to see you updateting your plugin for 2.5 ;-)