Archive for April, 2003

Eric Meyer On CSS

Monday, April 7th, 2003

I picked up Eric Meyer On CSS today. From what I’ve read so far it is a very impressive presentation of intermidiate to advanced uses of CSS. Each chapter is a “project” that Eric takes the reader through. He states the goals of the project and then in a very understandable fashion executes those goals. There is a companion site which provides additional resources and updates.

CSS is a facinating technology that very few people have begun to scratch the surface of. With books like this, and authors like Eric, the rest of the web will become aquainted with the power of this styling language.

Trouble With Textile

Saturday, April 5th, 2003

As I was writing that last entry (about the Hannibal Trilogy) I was having some trouble with the way Textile was handling URL catching. The issue was that whenever I wanted to use an address with numbers at the end, those trailing numbers would not be included as part of the address. Here is the original code for cathing the URLs:


'/

# 1 optional space or brackets before
([\s[{(]|[[:punct:]])?

#   starting "
"

# 2 text of link
([^"\(]+)

#   opt space
\s?

# 3 opt title attribute in parenths
(?:\(([^\(]*)\))?

#   dividing ":
":

# 4 suppose this is the url
(\S+)

# 5 opt trailing slash
(\/?)

# 6 opt punctuation after the url
([^[:alnum:]\/;]|[1-9^]*)

# 7 either white space or end of string
(\s|$)

/xU'

After playing around with various things, I narrowed the problem down to item 6. I got it down to a form that now seems to work:


([^[:alnum:]\/;]?)

This change does not appear to affect the normal usage so I’m guessing its a safe change. However I’m no wiz when it comes to regular expressions so I’m not sure how this might affect future functionality. I’ll keep an eye on it.

Hannibal Lector Trilogy

Saturday, April 5th, 2003

Last night, I stayed up and watched Red Dragon, The Silence of the Lambs and Hannibal. I had never seen Silence before and seeing it in context allowed me to appreciate these movies so much more. If you know me, you know I have a passion for mind bending movies. Not sure why that is. There is just something about psycho-thrillers that is appealing to me.

Some More About Me

Wednesday, April 2nd, 2003

For those who can’t wait to get their hands on the latest information about me, I have just updated my About page. It contains more detailed information as to who I am, why I made this site and other information I deemed appropriate. From time to time I will add to this as I see fit. Keep your eyes open.

Some PHP Humor

Tuesday, April 1st, 2003

I was looking up some info on my PHP server and noticed a little easter egg in honor of April Fools Day. It seems they change their logo for this momentus occasion. Below are the logos for PHP 4.2.3 and 4.3.0 respectively:

April Fools!! from PHP 4.2.3 April Fools!! from PHP 4.3.0

Journal O’ Andy Redesign

Tuesday, April 1st, 2003

I was bored this evening so I re-marked up Andy’s webpage. His code uses tables for layout. While this is still the norm for the vast majority of web sites, there is a wave sweeping the internet that encourages web developers to use semantic mark up and use CSS for their layout. This has become the philosophy that I design under. With that said, here is my rendition of Andy’s page.

Andy has suggested that I hold a contest to see who can come up with the best redesign for his page. I’m not sure I have a sufficent readership to make this a succesful contest, but I’ll try anyway. If you feel the urge, submit your redesign to yours truly. Andy is looking for the most original redesign. His favorite colors are red, black, grey and white. As a last requirement, Andy is a self-proclaimed HTML newbie, so whatever you come up with, make sure it is easy enough to understand.

The redesign that Andy deems as the winner will be awrded a link from Andy’s page.