aggr allows you to place the contents of an RSS feed into your pages or posts. It is a deeply modified version of the Aggregate plugin of Rob Miller (I also used an idea of Michael Jolley).
To install and use it, download the zip file (latest release: 1.1), extract aggr.php, upload this to your wp-content/plugins/ directory, activate the plugin in WordPress.
To use it, add one or more lines to your page or post like
<!--rss url="http://perassi.org/feed/"-->
If you need a widgetized version, try aggrw.
ChangeLog:
- Version 1.1 (2007-12-10): it adds
$item_countand$title_lengthwith code closer to what suggested by Scott; - Version 1.0b (2007-09-03): it fixes a small typo;
- Version 1.0 (2007-07-07): first release.

[...] aggr,在文章中引用某一个RSS源的内容。 上传激活。在文章中用如下代码插入"<!–rss url="http://perassi.org/feed/"–>" [...]
been looking for this! :) thanks will try out
I cant get this to work in my sidebar. Is this allowed?
Thanks!
Hello Laundro.
This plugin is designed to live inside a page or post, not in the sidebar (it is not a widget plugin) so the answer is no, it is not allowed.
[...] Plugins Page | Download [...]
Hi. Plug in worked without a hitch. Thanks and nice job. I’m testing it within a ‘page’ currently. The WordPress community appreciates your efforts.
very nice plug in for news related blogs thanks
@BigNerd, @latest:
thank you all. :)
[...] aggr: еще один агрегатор фидов. Зная кривизну популярного SmartRSS, стоит его попробовать. [...]
I installed and activated the plugin, then created a new Page with the line
as the only thing in the page.The error message I get is:
Warning: array_slice(): The first argument should be an array in .../wp-content/plugins/aggr.php on line 34What do you suppose went wrong?
Thanks,
Thomas
@Thomas:
try without the “code” tag: just a simple comment like
<!–rss url=”http://perassi.org/feed/”–>
I just used the code tag in the comment on this page. I see that you have your example of a feed using an http address, but most of the feeds I’ve seen have a URL of feed://examplefeed.com, does that make a difference?
@Thomas:
feeds are over http:// try with http:// instead of feed://
Some feeds work like that, but not all. I guess it depends on the way the feeder site sets it up.
Thanks! This is the perfect plugin for what we’re trying to do.
~Thomas
@Thomas:
good… if you find it useful, consider putting a link to the plugin page somewhere.
Thanks.
[...] die WordPress Plugin Sammlung, habe ich einen recht netten kleinen RSS Feed Aggregator Namens aggr gefunden, der den Spieß mal umdreht und alle möglichen Feed von euch in euren Blog holt anstatt [...]
Getting many line numbers with:
Warning: Invalid argument supplied for foreach() in
(then, the path and line number)
Comment feeds seem to work. I have tried this with a couple of different feeds.
@Shawn: I didn’t get that warnings of that kind… could you please give me (by email) the feeds that give you problems? Don’t forget to put the ending “/” when the feed name is like http://sitename/path/feed/
[...] temporaneità » aggr allows you to place the contents of an RSS feed into your pages or posts. (tags: wordpress plugin rss) [...]
[...] Visit [...]
[...] temporaneità » aggr (tags: wordpress plugin rss aggregator feeds) [...]
As it turns out, it was another plugin that caused the errors. Here’s your plugin displaying output of shawnblog.com RSS to my main site, shawnhonnick.com
http://www.shawnhonnick.com/shawnblog/
@Shawn: good!
Can I control how many RSS entries are displayed? i.e., display all posts from the last 7 days?
@joe:
changing line 34 from
$items = array_slice($feed->items, 0);to$items = array_slice($feed->items, 0, 7);will let you see, for a given feed, its last 7 entries. This is not what you want but it is the only way to control the number of displayed items I know you can use, without changing extensively the way that the feeds are fetched/processed.I do have problems with german umlauts eg ä,ö,ü,ß. My WordPress version is 2.2.1 and under reading options is UTF-8 activated. I made a testing section under “test” on my blog. There you can see theat german umlauts are not displayed, only “?”. Many thanks for your help and greetings from Austria, Manfred
Manfred:
I think that your problem is outside your WordPress settings (Apache? PHP?) because on my test page
http://perassi.org/p/test/ (no more available)
you can see the same feed (the first one is another German feed I added because it also contains some umlauts) without problems.
Greetings from Italy. :)
[...] temporaneità » aggr – WordPress plugin om RSS feeds in pagina’s of posts te plaatsen. [...]
Hi Carlo,
seems the feeds dont show up on my posts or pages.. i tried to use your example.but all i have is a black page except for the title..
is there anything that ive missed?.
sorry it should be a blank white page with the title of the page only..
Jon: Ok, fine. :)
[...] aggr: еще один агрегатор фидов. Зная кривизну популярного SmartRSS, стоит его попробовать. [...]
[...] Aggr [...]
[...] Aggr [...]
I took what Carlo said above, made the count a variable, and also added a variable to limit the amount of characters that are printed per title.
so my get_rss function looks like this:
function get_rss($url) { include_once (ABSPATH . WPINC . '/rss.php'); define("MAGPIE_OUTPUT_ENCODING", "UTF-8"); $item_count = 10; $title_length = 40; $feed = fetch_rss($url); $items = array_slice($feed->items, 0, $item_count); $channel = $feed->channel; $feed_contents = ''; if (!empty($channel)) { $feed_contents .= '' . $channel['title'] . "\n"; } if (!empty($items)) { $feed_contents .= "\n"; $feed_contents .= "\n"; foreach ($items as $item) { $feed_contents .= '' . substr($item['title'], 0, $title_length); $feed_contents .= "\n"; } $feed_contents .= "\n"; } return $feed_contents; }Scott: good. I’ve just edited a bit your code to let WordPress show it better… when I got a minute, I’ll study your changes maybe for the next release of aggr. Thanks.
[...] link count, and limited title expansion, and documented my small changes on the authors website ( http://perassi.org/p/aggr/ ). Sounds more involved than it was… just added two variables and used substr to limit the [...]
I love the plugin, Also I twisted it a lil as somo of the commenters taught it, but there is a little problem, I cant use it directly in my sidebar… how I do that???
david: sorry, your comment was waiting in the spam box. Anyway, aggr is not a widget plugin so it can’t be placed on a sidebar… maybe I’ll write a widgetized version of it.
[...] Aggr [...]
Seems the latest svn update has broken aggr, most likely they are doing some strange caching now of the magpie data… will look into it and see if there is an easy fix.
Scott: thank you! I wasn’t aware of this change: I’ll look at it ASAP. Thanks again.
[...] Aggr 允许你在文章或者页面中加入RSS Feed。 [...]
[...] Aggr 允許 在文 或者 面中 入RSS [...]
Scott: it seems that the problem you reported was fixed before 2.3.1 because aggr works fine with the brand new release.
Yeah I am thinking it may be something I did while playing around. RSS feeds are displayed, just not being updated.
[...] development blog on the fyneside.com MU installation of WordPress. On this project we have used the Aggr plugin to display RSS feeds on the front page of the main blog of the MUWP (it works beautifully) and the [...]
Hello.
This comment helps me to let the subscribers know that I’ve just released
http://perassi.org/p/aggrw/
which is a widgetized version of aggr.
High!
I just discovered your plugin on the WordPress Plugin Database… my primary question is: can I use aggr to combine several RSS feeds belonging to the same category to one feed, and all of these “multi-feeds” once more to one single pool of news, from which the 20 or 30 most recent ones are displayed on the frontpage, ordered by date?
See you in Khyberspace!
Yadgar
Yadgar: you can, on a given page, show any reasonable number of feeds and, using
$item_count, you can even decide how many posts – for a given feed – your page will show… so the answer to your question is “yes, mostly” (it won’t be exactly like what you’ve just described). aggr can work pretty well aggregating feeds on a page – and I’m sure you’ll find it quite useful – but it is not like a planet software.