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

not tested in IE


Upcoming events

I will be speaking 08-10-2010: Symfony Day Cologne 2010
I will be speaking 09-10-2010: Symfony workshop

Tags

1337 2008 2010 4developers access modifiers accessibility AdaLovelaceDay09 advent agavi agile amsterdam apache apple article articles atk atkMetaNode audioscrobbler azure backwards compatibility barcelona bbc bbq beatstad belgium best practices bittorrent boards of canada book books bughuntday caching cake cal evans career cat cerf certificate cfp clear cms cologne common sense communities community conference conferences continuous integration contribute crisis css custom datetime DbFinderPlugin decorator decorators deployment devdays development directoryindex documentation download dpc dpc09 dpc10 DPC2008 dreamhost dv7 eclipse ed efficiency enterprise errors event events expertise ezcomponents facebook flickr framework frameworks freelance freeze frontend fun games germany getting real google googletalk graceful degradation hack hackers hidden gem hiphop howto hp html http ibuildings icann ide idm imovie indy ingewikkeld internet IPC ipc ipc08 javascript job jobeet john peel joomla kubuntu left on the web lighttpd lime linux live london loudblog m2ts mac malware mambo marjolein mediterra meeting meme meta methodology microsoft movie music mysql namespace namespaces netbeans netherlands nllgg odmarco open source opinion ORM osx paradiso pavilion pear performance personal pfc10 pfcongres pfcongrez photo php phpabstract phpazure phpBB phpbb phpbelgium phpbenelux phpbnl10 phpgg phpitalia phpnw phpnw08 phptek phptek09 phpuk2009 phpUnderControl phpunit php|architect php|tek podcast politics portability postcrossing presentation presentations private projects protected public qa recruiting refactoring review rewrite ruby on rails schedule scifi script security seven things sfdaycgn simplexml slides smfony software sogeti solar sound standard standards star trek static steer strings subversion symfony Symfony2 symfonycamp symfonyday symfonyUnderControlPlugin talk talks technology techportal tek09 telecommuting terratec terrorism testfest testing textpattern tips tld tomas training twig uncon unet usability usergroup validation vhost video vinyl virus warp weblogging wiki windows winphp women work workshop world world of warcraft wpi writing xml xpath xsd yara year youtube ZCE zemanta zend zend framework zend server zend studio Zend_Form
© 2004 - 2010 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