Published October 15th, 2004 by Jim O'Halloran

Feed on Feeds Blogroll

Now that I have an aggregator thats under my control, I’ve been able to add a blogroll to my home page. This was achieved with a modified version of FoF’s opml.php and a MT Template module.

Heres how to do it in more detail:

  • First, log into MT and go to Templates.
  • Create a new template module. Name it something like “Blogroll”. Make sure you enter a file name in the “Link this template to a file” field.
  • Save the new template module.
  • Now, edit the “Main Index” template. Add the following to your template where ever you want the blogroll to appear.
  • <$MTInclude module=”Blogroll”$>

  • Place my blogroll.php script in your FoF directory.
  • Make it executable by running “chmod 755 blogroll.php”
  • Run blogroll.php (”./blogroll.php”)
  • Rebuild your Index pages in MT and you’re done!

You might want to set up a cron job to run blogroll.php on a regular basis to make sure your blogroll is kept up to date.

Your blogroll should look something like the one on my home page. The little orange XML buttons are done with CSS, and link to the RSS feed. The title links to the HTML version of the site.

Its a quick hack, but it works for me, I hope it helps someone else as well.


0 Responses to “Feed on Feeds Blogroll”

Feed for this Entry
  1. No Comments

Leave a Reply

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>