Honeymonster's Lair

Home of the Larger-than-life Depressive-Psychotic Computer Geek

Archive for March, 2008

I ROCK!!

Sunday, March 30th, 2008

77% Geek77%

oops

Thursday, March 20th, 2008

ok, so in upgrading my version of wordpress to the latest RC of 2.5, I managed to wipe out all my plugins and theme.. So that is the reason things look somewhat different atm.

FramedBlog

Tuesday, March 18th, 2008

As a precursor to the return of a music player for my blog, like that of CuBeZeRo’s site (www.nweightman.co.uk), I have inserted a frameset so that I can have the player permanently at the top of the window while the user is navigating the site. This allows me to use the streaming mp3 technology of Adobe Flash (my choice of player) rather than embedding the mp3 into the flash file making it a huge-ass download. Using streaming also means I can have more than one mp3 file and either rotate them as they play, or change the single file once in a blue moon when I feel like a change, without having to recode the flash file.

Now onto the clever bits: I’ve coded a plugin for wordpress that simply adds some javascript to the top of each page served, and placed counter code in the frameset page. These codes combine to allow the user to deep-link their bookmarks to any page on the site while still retaining the frameset. I’ve utilised anchors (http://blah.com/#anchorhere) for this, and the javascript inserts the correct page’s url as the anchor whenever the user clicks a link. When the frameset is loaded from a bookmark that has an anchor the javascript sets the content frame’s url to the correct location. And finally, on each loaded page of the blog there is javascript that sets the browser’s title to the correct string, rather than having a single static title for the entire site.

OC Development Infrastructure

Sunday, March 9th, 2008

In the linked post, I discuss the infrastructure that I’ve put in place to aid the development of the Occasionwise facebook application. The infrastructure can also be turned to _any_ web development needs. It keeps multiple developers happy with version control while also maintaining a live website for them to check their changes as they’re made.

http://occasionwise.com/2008/03/09/development-infrastructure/

Please check out both Occasionwise and our Facebook Application at the following urls: