WhereAmI Plugin Update

So far I have made a small PHP script for displaying where I am based upon a timetable (More info at WhereAmI.) Its still not a WordPress widget because I haven,t sorted out how to call the code within widgets.

I have all the information stored in a CSV file, but I might change this at some point. Its nice having the ability to edit it with Excel, but for some reason it doesn’t like to save Comma-Separated Value files with commas… you have to keep telling Excel you want them, go figure. This was one of my first attempts at actually coding in PHP rather than changing variables in an existing script. It went quite well, however It took me a little while to realise the epoch isn’t represented as midnight on Jan 1 1970 for my apparent system time, but rather time zone adjusted… It was all a little odd. One of the features I am thinking about adding to the script after I widgitise it, is the ability to override the current value e.g. quickly set it to ‘out of the office’. This could possibly be set with an expiry before going back to the timetable. A PHP interface for setting the timetable could be nice too.

Where am I plugin for WordPress

I am thinking about making a WordPress plugin. I can’t seem to find a plugin for saying where I am at any given time. For example I could load up timetable information for my university papers and during my lecture times there would be a not on my site saying busy with kung fu 101. It could also possibly take a feed from my Google calendar, but this is probably going to be out of the scope.