Thursday, October 18, 2007

FirstRSS Plugin for WordPress

FirstRSS is a simple RSS aggregator plugins for WordPress. Use FirstRSS to insert an RSS feed into a post or page without having to touch PHP or HTML.

(SideRSS has been superseded by WordPress Widgets.)

Features
  • Simplicity
  • GPL open source licence
  • List format or paragraph format in posts and pages
  • No XSLT processor required

Requirements

  • WordPress 2 or greater
  • PHP 4 or greater

Download

Ideas

Use Technorati to display reciprocal links! Set the feed URL to "http://api.technorati.com/cosmos?key=API_KEY&url=URL&format=rss". Get your api key here! Replace "API_KEY" with your api key and "URL" with your website's URL.

Use del.icio.us to display your blogroll! Set the feed URL to "http://del.icio.us/rss/USERNAME/TAG". Replace "USERNAME" with your username and optionally "TAG" with a tag.

Display news from the Digg, Slashdot, and countless others.

Reviews

John Dilbeck of Random Neurons Firing
"firstRSS, by Chris Hatcher, is an outstanding plugin for syndicating (publishing) RSS feeds in your WordPress 2 pages... I tested several solutions before I found firstRSS, which worked the best and was, by far, the easiest to use... Thanks, Chris, for an elegant and easy-to-use way of syndicating these feeds."

David Gilmour of David’s Exc-el Blog
"What has to happen for people to 'get it'? ... But what if you could put a little RSS feed reader right inside your blog post? The firstRSS WordPress plugin lets you do just that... Maybe, by enabling a kind of RSS 'show and tell', firstRSS could help us demystify the whole thing?"

Craig Babcock of RSSolve
"One such application is FirstRSS, a nifty RSS aggregator plugin for Wordpress developed by Chris Hatcher. Ultimately, it was his solution that I preferred as it was the cleanest and simplest to use."

Example of List Format

The Seattle Times: Home
Copyright 2007 The Seattle Times Company

Fewer can afford to buy a house in King County, report says
Monorail activist loses bid to change viaduct ballot
Leonid Milkin: "I'm learning to live without my family"
...

Example of Paragraph Format

The Seattle Times
The Seattle Times: Home
Copyright 2007 The Seattle Times Company

Fewer can afford to buy a house in King County, report says
Buying a home in King County has moved further out of reach for the typical wage earner. A typical household would have had to bring in...
Monorail activist loses bid to change viaduct ballot
Former Monorail activist Peter Sherwin has lost his bid to change the ballot language on two Alaskan Way Viaduct measures on a March 13 advisory ballot.
Leonid Milkin: "I'm learning to live without my family"
His wife, kids and sister-in-law were killed in their home in July. As he tries to move on, Leonid Milkin wants justice and to understand why they died.
...

Plugin Lists

Codex List of Plugins | WordPress Plugins DB

21 comments:

MB said...

The RSS plugin is great. How would I go about caching the feed so that it doesn't fetch it every 15 minutes?

Hatch said...

The default cache age is one hour. To change this, go to the Plugin Management page and click Edit to the right of FirstRSS. Insert the boldfaced line:

// --- Initialize ---
define ('MAGPIE_CACHE_AGE', 24*60*60); // 24 hours
require_once (ABSPATH . WPINC . '/rss-functions.php');

mb said...

Thanks - works great now...

Mr Chris said...

So simple. So easy. So thankyou!

Alex said...

Thanks so much for this plugin, it works great. I was wondering how hard it would be to modify to sort the content of the feed by alpha order.

Adam said...

Hi, does this require a database? I've tried 'content related rss plugin' and it caches everything into wp options in database which is taking diskspace...

and also, how do i customize the feeds that i want to show?

Thanks

Adam said...

Like for instance if I'm showing yahoo feeds, it will show like 10 feeds or more, how can reduce the number say i only want to show 2 items

FuckeZeFlies said...

This plugin is very usefull and works perfectly.

I would like to use it in my single template but [rsspara:xx] does not works. How can I do it ?

Rémy said...

Thanks for your work !
I've a problem with enclosure url="monimage" type="image/jpeg"

I don't succeed to print the value of the enclosure url. Is anybody have ever had the same problem ?

Jan said...

This is nice and simple. How do I make it work in the sidebar?

scottmunson said...

Hi,
Great Plugin!
How can I get it to update less often, say once per week?

Thanks!

Hatch said...

Scott, see second comment down, but use the following line:

define ('MAGPIE_CACHE_AGE', 7*24*60*60); // 24 hours

kanjigirl said...

I've been looking for a plugin like this for hours today. However, if I try to put more than one feed on a page (not a post, but a page) only the last one will work. Is there a way to post more than one feed per page?

And, can I limit the number of items to 5 rather than 10?

Mark I. said...

Hi! This is great. I have the same question as the last commenter. How do I change the number of items to list from ten to another number?

Thanks. :)

fh_evert said...

You should change the code in firstRSS.php:
// Item title, description, & link
$i=0;
foreach($rss->items as $item) {
if($i < 5) {
$title = $item[title];
$link = htmlentities($item[link]);
if ($title != '') $disp .= "\t$title\n";
}
$i++;
}

But I have the same question about the use of more then one rss-feed on a page like kanjigirtl stated!

Timothy Latz said...

How do I combine two different functions?

One is to show the results of a post meta section and the other is to include rsslist in the resulting output..



The post meta "Most Recent Posts" should spit out the list of most recent posts. In each post meta field on the admin page of each entry, I add the rss feed for each particular site..


Any ideas? I can't put php in this comment =/


A sample entry from my site is:
http://www.bestgreenblogs.com/directory/a-little-greener-everyday/

Mike said...

For me the rss feed shows in the single post, but in the Recent Posts list the code only displays (overflows the column in FF; wraps in IE).
Can anyone suggest the code syntax in a test widget to get the results in the sidebar?
Thanks.

Admin said...

Great plugin, but I can't seem to figure out how to limit the number of links it posts.

What do I need to modify to limit the number of links shown?

Test blog said...

Can I get a copy of SideRSS? I remember it being a great plugin. I don't use Widgets, but I need SideRSS.

Thanks
Steve

homecook said...

Love the plugin except for some reason the feed only shows once and if I click on one of the feed subject and then click the back browser I'm getting this error
Warning: Invalid argument supplied for foreach() in /home/***/public_html/******/blog/wp-content/plugins/ujc_firstrss/firstRSS.php on line 88

any ideas as to why or how to fix it?

net-income said...

I love this plugin and I would like to be able to modify it to suit my site.

1. How do I set it up so that I only get 4 rss paragraphs instead of the 10 I get now.

2. Is there anyway I can modify the look of the feed?

Please, please help!

Great script!!!!!