05 January 2006

Slowest day ever. Feels like it's about 5pm rather than nearly 3. This may have something to do with my task for the rest of the month. For example, take the following snippet of HTML code:


<tr valign="top" align="left">
<td class="tsml" width="60%"></td>
<td class="tsml" width="20%">2005-2006</td>
<td class="tsml" width="20%">2006-2007</td>
<td class="tsml" width="20%">2007-2008</td>
</tr>


and change to be:


<tr style="VERTICAL-ALIGN: top; TEXT-ALIGN: left">
<td class="tsml" style="WIDTH: 60%"></td>
<td class="tsml" style="WIDTH: 20%">2005-2006</td>
<td class="tsml" style="WIDTH: 20%">2006-2007</td>
<td class="tsml" style="WIDTH: 20%">2007-2008</td>
</tr>

Fascinating wasn't it? Now do that for an entire document consisting of several thousand characters (and using search and replace doesn't help much because the errors change to about 15-20 different things every page and you're only allowed one 'style' and one 'class' attribute per row apparently - a bone of contention). Now do this for over 200 such documents. And then repeat, for 49 other such databases. Then try and kill yourself if you can summon the energy. No wonder I used to drink so much up here....

Talking of up here - we were treated to a major incident at the Wilton ICI plant yesterday. Apparently part of the 'petroleum derivatives' plant had a major failure meaning they had to dump their stock of chemicals (cue lots of sirens - most comforting). They do this by burning them (and then wonder why the local populace have a life expectancy about 10 years below national averages). I took a couple of photos from the work car park and from the way in. The first is in the morning from about a mile away - those flames are a good 50-100 metres high!


From the work car park you could hear this thing flaring (over 2 miles away) like a aircraft taking off. The second is the same stack from the car park that evening. And, yes it was burning all day!


I'm going to miss this place....

4 Comments:

At 6 January 2006 at 10:09, Anonymous Anonymous said...

Hi Dude - you can have multiple classes - just seperate with a space ie class="class1 class2"

 
At 6 January 2006 at 11:50, Blogger Red Squirrel said...

Hi mate,

Yeah I know that - what I meant was you can't have two class="" in the same tag so a global search and replace on all the HTML errors wouldn't work as all the classes and styles need concatenating. Makes it a horribly manual process (especially when whomever wrote the original code wasn't consistent so any searches need to include all combinations).

If that makes sense?

 
At 6 January 2006 at 13:00, Anonymous Anonymous said...

Anyway I thought Red Squirrels were about extinct in this country - or perhaps you are a grey with a glow from the ICI plant?

Hope you ready for your easiest game of the season on Sunday - we are playing worse than rubbish!

 
At 6 January 2006 at 14:18, Blogger Red Squirrel said...

I thought that before the Grimsby game :( Hopefully I won't have to deny the existence of WHL on Monday!

As for red squirrels - all I'm saying is that they hibernate longer than their american cousins, they're in rapid decline but not quite out of it yet, and despite their appearance and reputation they are in fact vermin.... :)

 

Post a Comment

<< Home