code

Jan 15 2010

Planet , Drupal Style

So when you setup an aggregator there's this one thing you miss from a regular planet ...the list of blogs with their individual Feeds.

I wanted to use this for planet.loadays.org again and realized I don't know where I got this snippet from or if I wrote it myselve or whatever .. but I do realize that unless I document it here I won't be able to point other people to it again :) So just create a block like this one :

  1. <?php
  2.  
  3.  
  4. $subscriptions = db_query('SELECT title,link,url FROM {aggregator_feed} ORDER BY title');
  5. while ($list = db_fetch_object($subscriptions)) {
  6. print "<a href=\"$list->link\">$list->title</a> (<a href=\"$list->url\">feed</a>)<br>\n";
  7.  
  8. }
  9.  
  10. ?>

Sep 23 2009

"Idle"

For those who wonder why my blogging is so low these days (apart from today) .. I`m actually writing more Lines of Code than Blog Entries the last couple of weeks:)

And when I`m not writing code I`m reading :) Either proofreading an upcoming book on Zabbix or reading some of the other books Packt sent me.

Next to that I`m busy preparing my T-Dose presentation

Oh and did I mention a 40 something questions questionnaire about some merger ?