Creating your own RSS aggregator with Drupal

It is quite easy to create your own RSS aggregator using Drupal. In this article, I explain how easy.

Even though sites such as Bloglines are quite useful in their easy aggregation of RSS content, I felt I wanted a bit more control. One way is to write your own aggregator, but another is to install an existing system on your own server. From several sides, I got the tip to install Drupal and see if that suited my needs. Since RSS aggregation is a default module in Drupal, that indeed sounded quite interesting. Reading around a bit, I came by quite a few mentions of a quite superior API as well, which would be good at a later date, if I wanted to extend Drupal a bit more with my own functionality. Up until this date, I'll have to take people's word for this, because I haven't looked into the API yet. What I did do, however, was to create my own RSS aggregation site. And it was literally just a matter of installing Drupal, configuring it correctly, and up up and away! It was up and running. The only thing that not all servers may support and which might be useful, is the support of so called cron jobs, a system which allows you to schedule certain actions to be done on a regular basis. My configuration is quite simple. Aside, obviously, from the site title, I changed a few settings and had everything running as I wanted it. First thing to change is the default front page, which is what the site loads on the homepage. I changed this to 'aggregator' to ensure the aggregator information is shown immediately on the homepage. I also enabled clean urls since my server has support for these and they look better. Then I went on to configure the aggregator, which is nothing more than just adding categories and feeds to the system. You can manually fetch items for the first time, but when you have cron set up correctly, it'll automatically start fetching at the configured intervals. One small issue I had which at first prevented me from actually running the automated import of new items was the Access control. You need to ensure that the anonymous user, which is the user that the cron jobs are run under, has the right to access the news feeds. That is enough for it to work. Though still using a default template, I now have a fully running system that I already use on a regular basis to read tech-related weblogs.
Add comment

Comments

gravatar Marko: Hey , contact me later tonight or today regarding the network website or the drupal site maybe – It’s finished.
January 6, 2006

Php5_zce_logo

Upcoming events

I will be speaking 06-02-2012: D-Day
I will be speaking 17-02-2012: Techademy Trainingday February
I will be speaking 23-02-2012: Zend Webinar: Git for Subversion Users

Tags

1337 2008 2010 2011 4developers access modifiers accessibility AdaLovelaceDay09 advent agavi agile alfred amsterdam apache api apple article articles atk atkMetaNode audioscrobbler automation azure backwards compatibility barcelona barcodes bash bbc bbq beatstad belgium best practices bittorrent blogging blogs boards of canada book books bughuntday bundle caching cake cal evans calendar career cat cerf certificate cfp clear cms cologne common sense communities community components conference conferences contest continuous integration contribute contribution crisis css custom d-day datetime DbFinderPlugin decorator decorators deployment devdays development directoryindex docblox doctrine documentation download dpc dpc09 dpc10 dpc11 DPC2008 dreamhost drupal dv7 eclipse ed editors efficiency enterprise errors event events expertise ezcomponents facebook finland flickr fork framework frameworks freelance freeze frontend fun game games geoip germany getting real git github gnome-do google google calendar googletalk graceful degradation hack hackers hidden gem hiphop howto hp HR html http i386 ibuildings icann ide ideasofmarch idm imovie indy ingewikkeld integration international php conference internet interview ipad IPC ipc ipc08 ipc10 ipc11se iterm2 javascript jenkins jenkins-php job job openings jobeet john peel joomla joomladays kiva kubuntu launcher launchy left on the web libraries library lighttpd lime linktuesday linux live london loudblog m2ts mac magazines malware mambo marjolein mediterra meeting meme meta methodology micro-financing microframework microsoft migration movie music mysql namespace namespaces netbeans netherlands newsfire nllgg nos odmarco open source opinion ORM osx paradiso paris partnership pavilion pear pecl performance personal pfc10 pfc11 pfcongres pfcongrez pfz photo php php5.3 phpabstract phpazure phpBB phpbb phpbelgium phpbenelux phpbnl10 phpday phpdoc phpdocumentor phpgg phpitalia phpnw phpnw08 phpnw11 phpstorm phptek phptek09 phpuk2009 phpUnderControl phpunit php|architect php|tek podcast politics portability postcrossing presentation presentations private projects protected prototype PSR-0 public python qa qr codes re2c recruiting refactoring review rewrite ruby on rails san francisco schedule scifi script security sensio seven things sfdaycgn sflive2011 shell scripting silex simplexml slides smfony software sogeti solar sound speakers spl ssh standard standards star trek static steer strings stylesheets subversion symfony symfony live Symfony2 symfonycamp symfonyday symfonylive symfonyUnderControlPlugin talk talks techademy technology techportal tek09 telecommuting terratec terrorism testfest testing textmate textpattern the right tool timeout tips tld todo tomas tools training twig uncon unet usability usergroup validation vhost video vim vinyl virus warp webinar weblogging webservices wiki windows winphp women wordpress work workshop world world of warcraft wpi writing wunderlist xml xpath xsd yara year youtube zc11 ZCE zemanta zend zend framework zend server zend studio zendcon Zend_Form zite
© 2004 - 2012 Stefan Koopmanschap + Powered by Symfony, photos powered by Flickr, links powered by Delicious, Shanghai smilies by Iconbuffet. Feeds: rss / atom. Left on the Web v4.4.0.1