Everything is a Freaking DNS problem - planet http://127.0.0.1:8080/blog/taxonomy/term/1354/0 en Planet , Drupal Style http://127.0.0.1:8080/blog/planet-drupal-style <p>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.</p> <p>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 :</p> <p><div class="geshifilter"><pre class="text geshifilter-text" style="font-family:monospace;"><ol><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&lt;?php</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> $subscriptions = db_query('SELECT title,link,url FROM {aggregator_feed} ORDER BY title');</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> while ($list = db_fetch_object($subscriptions)) {</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> print &quot;&lt;a href=\&quot;$list-&gt;link\&quot;&gt;$list-&gt;title&lt;/a&gt; (&lt;a href=\&quot;$list-&gt;url\&quot;&gt;feed&lt;/a&gt;)&lt;br&gt;\n&quot;;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal"> }</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp;</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">?&gt;</div></li></ol></pre></div></p> http://127.0.0.1:8080/blog/planet-drupal-style#comments code drupal open source php planet Fri, 15 Jan 2010 19:02:21 +0000 Kris Buytaert 977 at http://127.0.0.1:8080/blog