The Mike Haddad Show: This is relevant to my interests.

Mike

Mike is a twenty-something Honours Math and Computer Science student, at the University of Waterloo; Commerce Computer Science & Economics joint-specialist at the University of Toronto. This is what I do when I'm bored. I also take pictures, but I'm not very good at it. Find out more.

Characters

Josh: Sweet sweet piano playing flip.

Josh Solo

 
Retired Bus Driver Of Durham on GO Parking was the previous entry in this blog.
Fall 2008 and Winter 2009 Classes is the next entry in this blog.

Today on Mike: Programming a Weighted Blogroll

As a refresher on programming before I take a full year of computer science courses next year, I've decided I want to try coding a small blogroll for my blog in PHP. I used a Perl plug-in a while back and didn't like the output. It was pre-formatted so that people had to link to the developer's site. I wouldn't have a problem with that, but given the limitations of MT's template system it ended up being much more trouble that it was worth.

I don't plan on having a front-end for this. It will all be in a MT4 template module. Since I have no problem copying and pasting code, that will probably work best with an array. I'm going to start with several small arrays for different categories of links I have, i.e. blogs by people I know, urban focused blogs, economic focused blogs, etc. That way I will have a quick and easy output to shorten the list of blogs at the bottom of the page, and can have each category select a blog randomly. That will give me something to put up while I work on a ranking system for weights on a larger array with all of my links.

Leave a comment

Warning!

MT 4.1 has been having some serious hang issues (thanks to my host) when it comes to posting comments. After you try posting your comment, go back and refresh the entry you were viewing. Odds are it will be there even if it told you it failed.