aggr

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_count and $title_length with 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.

105 responses to “aggr”

  1. BloggingPro China » WordPress Plugin: aggr

    [...]   aggr,在文章中引用某一个RSS源的内容。   上传激活。在文章中用如下代码插入"<!–rss url="http://perassi.org/feed/"–>" [...]

  2. sindhu

    been looking for this! :) thanks will try out

  3. Laundro

    I cant get this to work in my sidebar. Is this allowed?

    Thanks!

  4. aggr Plugin » D’ Technology Weblog: Technology News & Reviews

    [...] Plugins Page | Download [...]

  5. BigNerd

    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.

  6. latest news

    very nice plug in for news related blogs thanks

  7. DELETE YOURSELF! » Blog Archive » Полезные плагины для WordPress

    [...] aggr: еще один агрегатор фидов. Зная кривизну популярного SmartRSS, стоит его попробовать. [...]

  8. Thomas

    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 34

    What do you suppose went wrong?

    Thanks,
    Thomas

  9. Thomas

    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?

  10. Thomas

    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

  11. macreloaded[dot]com - Blog Archive » Podcast Nr.16 - Online selbst/Podcast Toolbox/Kapselsuche

    [...] 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 [...]

  12. Shawn Honnick

    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.

  13.   links for 2007-07-11 by SridhaReena

    [...] temporaneità » aggr allows you to place the contents of an RSS feed into your pages or posts. (tags: wordpress plugin rss) [...]

  14. WP Plugins DB » Plugin Details » aggr

    [...] Visit [...]

  15. And He Blogs » links for 2007-07-18

    [...] temporaneità » aggr (tags: wordpress plugin rss aggregator feeds) [...]

  16. Shawn Honnick

    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/

  17. joe

    Can I control how many RSS entries are displayed? i.e., display all posts from the last 7 days?

  18. Manfred

    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

  19. Leesbril » Blog Archive » Nieuwe top sites van september 2nd tot september 3rd

    [...] temporaneità » aggr – WordPress plugin om RSS feeds in pagina’s of posts te plaatsen. [...]

  20. Jon Bings

    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?.

  21. Jon Bings

    sorry it should be a blank white page with the title of the page only..

  22. Всё о WordPress » Архив блога » Полезные плагины для WordPress

    [...] aggr: еще один агрегатор фидов. Зная кривизну популярного SmartRSS, стоит его попробовать. [...]

  23. Причины переезда « #от скуки

    [...] Aggr [...]

  24. #моск » Blog Archive » Причины переезда

    [...] Aggr [...]

  25. Scott Stout

    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;
    }
    
  26. Points without Tangents » Blog Archive » Headlines back from the dead

    [...] 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 [...]

  27. david

    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???

  28. Блог оптимистичного оптимизатора » Blog Archive » Причины переезда

    [...] Aggr [...]

  29. Scott Stout

    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.

  30. Sim Blog » Blog Archive » 全面装备RSS Feed的19个Wordpress插件

    [...] Aggr 允许你在文章或者页面中加入RSS Feed。 [...]

  31. 全面裝備RSS Feed的19個Wordpress插件 | 童上瑋的部落

    [...] Aggr 允許 在文 或者 面中 入RSS [...]

  32. Scott Stout

    Yeah I am thinking it may be something I did while playing around. RSS feeds are displayed, just not being updated.

  33. Elaborate | ARBU

    [...] 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 [...]

  34. Yadgar

    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

1 2 3

Leave a Reply