Home > Blog article: WhereAmI Plugin Update

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 havent sorted out how to call the code within widges.

I have all the information stored in a CVS file, but I might change this at some point. Its nice having the ability to edit it with Excel, but for some reason it doesnt 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 isnt 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 expirey before going back to the timetable. A PHP interface for setting the timetable could be nice too.

Thursday 21st February, 2008 at 7:33 pm
No comments yet.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>