Friday, March 2, 2007

Oh, my god.

Feb 24 to March 2.

Extreme tension. Caffeine shakes. Dosing and re-dosing on powervitamins (centrum performance, etc). Losing ability to differentiate between reality and computer. Noting the rough hex color code of the sky.

Why?

Because Google renders it's calendar stylesheet on a SINGLE LINE WITH NO WHITESPACE.
seriously. How do you even DO that?

OK, maybe that's a little bit of an exaggeration.

So not much longer. I've manually restructured the bastard, and now I just need to apply a color scheme and fix the whitespace rendering in the embedded calendar.

...oh, wait. Maybe you're wondering what the hell I'm actually doing messing with Google's .css files in the first place...

So, I want to use Google's calendar, but I don't want a white and pastel calendar on the pirate bar website. I mean, it's like the Queen Anne's Revenge towing a pink innertube or something. So, instead of inserting the tiny little iframe tag and loading the calendar in that way, I'm using a php script to call the calendar, render it into a local file, then display it. In this way, I can apply a stylesheet to it before it displays.

But because I won't have access to the rendered file before it displays, I have to use all of Google's class codes. And there's like, 70-100 of them. And they're all rendered in one long, long, line.

So that's what I've been up to.

No comments: