10001110100110101

Sun Mon Tue Wed Thu Fri Sat
16 17 18 19 20* 21 22*
23 24 25* 26* 27 28 29
[30] 1* 2 3 4 5 6
7 8* 9 10 11 12 13
14 15 16 17* 18 19* 20

[6:05 PM EST - Quite a catch huh?]

Hey, I was perusing through the ninjastars website, I came across some pictures I haven't seen before.

[0 Comments]

[6:25 PM EST - Feeling sporty.]

Hockey last night went a lot better than I had anticipated. I was really tired after ultimate so I didn't skate all that well. I ended up crashing into just about every player on the other team. Ugh. I took a puck off my knee too. *shows off bruise*

Ultimate this afternoon was okay. I played better than I usually do, but being the last game, I might as well go all out right? We didn't win though, but that's okay. At least I got to try some Bul Go Gee. Yummy! (I think I may have had it before though.)

[0 Comments]

[9:52 PM EST - Not very strict.]

Argh! In my slow process of converting the pages to XHTML, I've unvalidated the pages in HTML 4.01 STRICT. (It's those ending slashes for tags without ending tags.) Very annoying.

[0 Comments]

[10:00 PM EST - Tidy isn't very tidy.]

Most of the resources I've looked for converting from HTML to XHTML keep pointing me to a utility called Tidy. That's all cool and stuff, but I tried it out and it reformatted my pages! Unfortunately, since my scripts rely on a certain conformation of the code, it generally pukes when the files change that much. (Heck, this lower case conversion will probably play havoc with my scripts as well. *sigh*)

I did find a cool little Perl script that stated that it will convert upper case tags to lower case, but unfortunately, it only changes some tags, and not all attributes. So I had to write my own. It's fairly generic actually. Here's the regular expressions:

$html =~ s/(\n|\s)([\w|-]+)="/$1\L$2\E="/gsi;
$html =~ s/<(\\*\/*\w+[\n|\s|>])/<\L$1\E/gsi;

The first one cleans up the attributes, while the second works on the tags. Unfortunately, I make the assumption that there isn't any text that has =" in it.

[0 Comments]

[10:09 PM EST - Well, here goes nothing..]

I've got e-mail to respond to, so I hope this script doesn't make a mess of things..

<- presses "Enter".

[0 Comments]

[11:21 PM EST - Broken.. but being fixed.]

Ugh. I knew I shouldn't have run that script at month end. Oh well, I think basic functions work. I'll have to see if I can get everything else working and validated. Not tonight though.

[0 Comments]

[11:47 PM EST - Too late!]

Argh! I completely forgot about the hard drive I was bidding on on e-bay! Crap. *checks status* Ooh, it's gone a little a little higher than I would've liked. Whew!

[0 Comments]

Wednesday, October 16, 2024 @ 07:23:23 EDT

« List of pages on this site:

« List of recent entries:

« List of recent comments:

« List of recent links:

« List of random quotes:

"Egotism is the anesthetic that dulls the pain of stupidity."

Frank Leahy (From The Quotations Page.)