I’ve been running/maintaining the Commerce faculty website for a good 5 or 6 years now and it is finally reaching a point where my own laziness towards the site is beginning to amaze me.
Because I’ve finally becoming to lazy to use the mouse to browse to the particular departmental courses I need to get to on the site (it currently takes two clicks – from the homepage click on ‘Browse Course Sites’ and then click on the relevant course link), I’ve finally implemented an auto-redirect system which really should have been done years ago.
And it took me exactly 5 minutes to rush through this morning, using a mere 29 lines of verbose coding (i.e. ‘if – then’ and ‘end if’ lines all appear in a new line).
So now the site accepts all valid course code shortcuts and attempts to redirect you straight to the site, e.g. http://www.commerce.uct.ac.za/eco2008s will dump you directly on the ECO2008S website, just as http://www.commerce.uct.ac.za/acc1006s would dump you on the ACC1006S website.
Nifty I know :)
Hint to all webmasters maintaining multiple sites under a single umbrella site – standardisation will make your life so easy, trust me.
You might also enjoy:
-
Okay, okay so I posted about initial tentative steps in the creation of a tool way back in post {0104}. Unfortunately, life and work in particular got in th ...
-
Have you ever wanted to use Google to search within a particular website before?Actually, Google makes this pretty simple thanks to its special site: syntax ...
-
Sometimes you need throwaway files for various testing purposes or simply to take up required hard drive space. So I quickly whipped up the following applic ...
-
Have you created a website on the World Wide World? Are you afraid that no one will ever find it? Will it be forever lost in the great big darkness that is ...
-
For a change, I actually did some work at work today. For no reason other than what I can, starting today Im whipping up an online PDF generator application ...