Bloglines RSS Aggregator Widget 1.0

Ron Fredericks writes: This is my first WordPress Widget development effort, or my first WordPress *anything* pretty much. However, I provide my best effort to offer a complete and useful widget following the guidlines published by WordPress and the spirit of quality. It is a widget following Atomattic’s Widget offering for managing our blog’s sidebar. It was inspired by a conversation with a friend of mine, Mukesh Lulla, co-founder of embedded security software provider TeamF1. Mukesh suggested that I might want to have a list of news and blog links that are relevant to my user base. This is the resulting widget I dreamed up. I hope you like it, but your comments and guidance are welcome either which way.

You can see Embedded Components‘ blinesAgg widget in action on this blog’s sidebar with the title: Embedded Device Updates

Download Widget

You can download and extract the zipped blinesAgg.php version 1.0.2 widget from here:


The blinesAgg WordPress widget displays a list of selected news and blog RSS syndicated feeds as a list of links:

  • Links can be collected from a neat RSS service called Bloglines
  • Links are collected using the Bloglines search engine
  • You select the desired search words to search for links you think might be cool for those that read your blog
  • No user account on Bloglines is used, just their search engine
  • Any number of additional RSS feeds can be aggregated from extra sites to complete your list
  • Page access to RSS feeds can be cached using an embedded copy of lastRSS, by Vojtech Semecky, for efficient use of your web server

Once blinesAgg widget is installed, you can configure the widget using a simple web form:

  • Title
  • Number of links to display
  • Bloglines search parameters: search words to use, and search words to exclude
  • *List of other RSS feeds you would like to include in your list of aggregated links

*Because sometimes there may not be enough links found within your requested Bloglines search. Given some combinations of search and avoidance words, you may want to list extra RSS feeds to be used to fill out the remaining total number of links you would like to display. That’s why I added the extra feeds form entry. But, you may want to skip the Bloglines search feature and just use the extra feeds as your RSS aggregator.


Installation on your server:

  1. Place the php widget file (blinesAgg.php) in your WordPress wp-content/plugins/widgets subdirectory. You can skip all the optional installation steps [2 to 6] that I suggest next.
  2. Optional Installation: For speed and reliability I modified lastRSS to use cURL to read remote web pages, if your server does not support cURL then disable this feature using this global configuration variable (*): $USEcURL. The cURL feature also includes a timeout parameter. Timeout is set initially to 20 seconds. If your list of links fails to appear, you may need to change this parameter (*) too: $cURLtIMEOUT. See the optional installation test bullet point below to see how to identify specific problems, where their located, and how to fix them.
  3. Optional Performance Improvement: Create a subdirectory for cache storage of feeds with read/write privilege. For the subdirectory to be readable and writable on a UNIX box, you will need to use the command: “chmod 777 your_cache_directory”. Then let your blinesAgg widget know about it using some predefined global variables I have defined for this purpose. You can: activate, define cache subdirectory, and set cache refresh time using three global configuration variables (*): $USEcACHE, $CACHEdIR, and $CACHEtIME. Note: if you create a cache directory named “temp” in your widget subdirectory, then you can just use the default setting I already defined for $CACHEdIR. When you download the widget from my site here, the initial default setting for cache is to be disabled. To use the cache technique, you would still have to change this global variable to enable the cache feature: $USEcACHE = true.
  4. Optional duplicate display control: I notices that Bloglines search engine returns with some titles nearly duplicated but from diffrerent web sites. Use this flag to control the skip duplicated titles feature (*): $SKIPdUPS
  5. Optional control of named anchor link: Use this named anchor within other hypertext links to referr to your blinesAgg widet on your blog’s home page. The default setting (*): $BLINESaNCHR = ‘blinesAgg’. Usage: example:
  6. Optional Installation Test: To verify that your installation is done correctly, you may want to set the debug variable below (*) named $DEbUG to “true”. Then complete configuration as usual and view your blog sidebar. With this debug feature activated, your configuration panel may show error messages if something is not configured correctly. Also, you should see your maximum number of links under the Title you defined without any error messages. Press your browser’s page refresh a few times to exercise the widget. Any errors encountered will be displayed by the php error handler activated as a result of setting the $DEbUG variable to “true”. The error handler will report error number, error text, and line number within blinesAgg.php where the error occurred. My suspicion that my new cache directory was not working properly was the reason I added an error handler in the first place. Indeed based on the error report, I failed to change read/write privileges for the cache directory. To fix the problem I had to launch a telnet session to change the read/right permission of my cache directory on my web server using chmod 777. Meanwhile, I had placed the cache directory in the wrong place so I had to move it into the correct subdirectly. I’m talking about the directory you create and the path to it as defined by $CACHEdIR and its read/write permission. If all is well, you can disable the debug feature by resetting the $DEbUG variable to “false”. If this seems confusing, as it did for me at first, then just leave the cache disabled until you really want or need the speed advantage.

*References to configuration parameters means that you would open the php file using a text editor or something like Dreamweaver, and locate the first few lines of php source code below the initial comments in the program file blinesAgg.php. I show the default settings for all global configuration variables in the next section – below.

Optional configuration within blinesAgg.php source code [with default settings shown]:

$DEbUG = false;
$USEcURL = true;
$cURLtIMEOUT = 20;
$USERaGENT = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
$SKIPdUPS = true;
$BLINESaNCHR = 'blinesAgg';
$USEcACHE = false;
$CACHEdIR = './wp-content/plugins/widgets/temp';
$CACHEtIME = 3600;
$INITtITLE = "Bloglines Aggregator";
$INITtAGS = array('embedded', 'device');
$INITnOTAGS = array('engineer', 'job', 'engr');
$INITeXTRAFEEDS = array('', '');

Configuration within WordPress:

The figure presented here shows what options are configurable from within the widget menu. Default values are shown using IE 6 browser.

Configuration Screen Shot

  1. Enable the Bloglines RSS aggregator widget plugin from your "administrator -> plugins" menu
  2. Drag your blinesAgg widget to the sidebar from your "administrator -> presentation -> sidebar widgets" menu
  3. Open the widget and configure your blinesAgg widget using the built-in form for: title, number of entries to display, search words that must appear in the Bloglines link text, and search words that must not be present in the Bloglines link text
  4. Because sometimes there will not be enough links found within a Bloglines search given some combinations of search words, you may configure extra RSS feeds to be used to fill out the remaining total number of links you would like to display
  5. To skip the Bloglines RSS search feature altogether, and just use this widget as your RSS feed aggregator, then just delete the search words during configuration
  6. Close the widget and save your changes. Visit your WordPress home page to see the list of new found links displayed in your sidebar.

Some initial notes on compatibility:

  • I only tested it with WordPress 2.04 using a modified default theme
  • It seems to work under all typical conditions on Mac OS X and current FireFox and Safari web browsers, as well as PC Windows XP with IE 6
  • During dynamic configuration I did notice that Mac OS X and Safari web browser (only) does not work to configure any Widget. This is because the link to open the configure menus are not visible. FireFox worked OK but with some less than perfect background color issues



  • I would like to thank the folks at Atomattic for giving us the WordPress Widget along with sample widgets from which I learned how to develop blinesAgg
  • I would like to thank Per Søderlind for introducing me to the power of Vojtech Semecky's lastRSS.php object code and how to use it to collect RSS feeds as a WordPress plugin through his blog posts




    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    To read the license please visit:

Technorati Tags: , , , , , , , , , ,

24 Responses to “Bloglines RSS Aggregator Widget 1.0”

  1. Bloglines Search Aggregator - Says:

    [...] Bloglines Search Aggregator Bloglines Search Aggregator Version: 1.0 License: GPL Description: blinesAgg WordPress widget displays a list of selected news and blog RSS syndicated feeds as a list of links. Links are collected using the Bloglines search engine. Author: Ron Fredericks Plugin Page Attached Files [...]

  2. Papildoma informacija iš kitų tinklaraščių RSS srautų pagalba - WordPress Gidas Says:

    [...] Bloglines RSS Aggregator Widget. Å is įskiepis Bloglines informaciniame portale ieÅ¡ko su jÅ«sų tinklaraščio straipsnių tekstu susijusios informacijos ir widget’o (lietuviÅ¡koje versijoje vadinama Valdiklis) pagalba atvaizduoja susijusių straipsnių pavadinimus Å¡oniniame tinklaraščio bloke. [...]

  3. WP Plugins DB » Plugin Details » Bloglines RSS Aggregator Widget 1.0 Says:

    [...] Visit [...]

  4. Serafino Raimondo Says:

    they only wanna do you dir. Serafino Raimondo.

  5. Idetrorce Says:

    very interesting, but I don’t agree with you

  6. lymnBlasons Says:

    Snx for you job!
    It has very much helped me!

  7. ????? ???? Says:

    I esteemed yours blog,
    thanks the author a lot of useful to myself have found..

  8. Best Internet Marketing Blog Says:

    I am looking at adding an RSS widget to some of our wordpress sites. These seems like one of the better ones I have seen so far. I’ll let you know how it works out for us.


  9. Ron Fredericks Says:

    Thanks Mike:

    I continue to use this RSS Aggregation widget on my site – I am astounded by some of the links in my industry that it finds for me and my readers. Good luck, let me know how it works for you.

    Founder of bloglines rss aggregator widget,


  10. shane Says:

    hi there. this was my first ever plugin intall and it all went very smoothly. so thanks for a bug free and positive experience.
    the plugin wasn’t quite what i hoped. i was looking for something that would aggregate all the feeds in one list of links with dates and authors etc.

    any ideas?


  11. How to Fetch and Show RSS Feeds on WordPress Blog (Atom/RSS Aggregator Plugins) « Doeasyway Says:

    [...] Bloglines RSS Aggregator Widget displays a list of selected news and blog RSS syndicated feeds from Bloglines as a list of links. Links can be selected using desired search keywords. Any number of additional RSS feeds can be aggregated from extra sites to complete your list. Page access to RSS feeds can be cached using an embedded copy of Last RSS, by Vojtech Semecky, for efficient use of your web server. [...]

  12. How to Fetch and Show RSS Feeds on WordPress Blog (Atom/RSS Aggregator Plugins) « Leon@esoloo The Corp and Team is on the way Says:

    [...] Bloglines RSS Aggregator Widget displays a list of selected news and blog RSS syndicated feeds from Bloglines as a list of links. Links can be selected using desired search keywords. Any number of additional RSS feeds can be aggregated from extra sites to complete your list. Page access to RSS feeds can be cached using an embedded copy of Last RSS, by Vojtech Semecky, for efficient use of your web server. [...]

  13. Marcy Molano Says:

    Wow! Thank you! I continually needed to compose in my internet site something like that. Can I take portion of one’s article to my webpage?

  14. Traffic help guy Says:

    As for WordPress and WordPress plugins. We have created a really interesting viral traffic plugin that should for sure benefit this website increase the traffic. It makes use of the Facebook Like or Share buttons but in a way that you will be very impressed by. Our plug-in gently pushes it to the users of the site so that they will most likely Like or Share your webpage much more often than with any other function. You will still be able to still use the normal Facebook buttons by your articles). This method will allow users for example recommend your index page to all their friends which a portion of could visit and virally increase traffic to your webpage. You can adjust the plugin in many ways so it fits you. If you go to the site, you can see how it works. So if you want more visits and viral increase in traffic, come and visit. The affiliate program is also very with high commission so you could also look at that even if you think the plugin is not good in your case. Thanks

  15. etsuko Says:

    Hello there, I found your blog in a very new service of blogs. I dont know how your blog came up, must have recently been a typo, Your blog looks good. Have a great day.

  16. rene Says:

    hi, when i set up blilnesAgg it appears on my blog like:

    Fatal error: Call to undefined function curl_init() in /home/ on line 248

    what should i do? any idea?
    thanks for help

  17. JulieK Says:

    Hi there – love this plugin widget but I cannot get it to NOT show posts with the key words I asked for it NOT to look for. Neither can I get it to show posts for the search terms I entered (and “republican” should probably have come up!)
    The actual “extra feed” I added works fine, but I would love to NOT have “sexual assault” news show up on my site! :) Do you have any fixes for this?

  18. Emiko Respers Says:

    Hey there, I think your blog might be having browser compatibility issues. When I look at your site in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, superb blog!

  19. Ron Fredericks Says:

    This for the update Emiko.

    I tested with latest version of IE on win7 and win xp, they both seem to be working fine. What version of IE are you using?

  20. ksl cars Says:

    An impressive share! I have just forwarded this onto a
    friend who has been conducting a little research on this.
    And he actually bought me lunch because I found it for him…
    lol. So let me reword this…. Thanks for the meal!!
    But yeah, thanks for spending some time to discuss this issue here on your internet site.

  21. disney Coloring book pages free Says:

    I’m gone to inform my little brother, that he should also pay a visit this blog on regular
    basis to take updated from newest gossip.

    disney Coloring book pages free

  22. reklama na samochód Says:

    I am really thankful to the owner of this website who has shared this great post at here.

    Feel free to visit my site – reklama na samochód

  23. pegasus hobbies Says:

    Wow! After all I got a blog from where I be able to in fact obtain valuable facts regarding
    my study and knowledge.

  24. paintball guns Says:

    If you want to build teamwork, you will definitely want
    to practice together, of course. So, strap on all your paintball gear and load up those paintball guns!
    Work on offensive and defensive strategies, code words,
    “what-if” scenarios, and more. Study from the opposition together with your individual teammates.
    Directly discover other paintball athletes to develop new and succeeding approaches for upcoming video
    games. Does the opposite group chat over
    your group does? Can they seem much more arranged? Taking note of the way your opponents come together will help improve your team’s functionality.

    If your team is lacking in that area, take a look at your opponents paintball gear and see.
    This will greatly impact your game play

Leave a Reply

What is 10 + 4 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)