Coding with Jesse

New Design

So what do you think? I redesigned the web site, as I'm sure you'll notice. Unless it's your first time here, of course. It took me about 15 minutes to do the design. I was kind of bored of the other one so I thought I'd go for the terminal-window look. I should put some of my old ANSI art here next.. ha.

Published on September 14th, 2005. © Jesse Skinner

Free Horoscope Daily

I just launched a real simple web site, Free Horoscope Daily with my father. It contains free, daily horoscopes, and nothing else. I was sick of all the clutter that ends up on horoscope web sites, and wanted to make one that was simple and good. It may grow in the future, but right now I like it how it is.

Please, I'd love to hear your feedback. Drop me an email if you have something to suggest or that you'd like to see.

Published on September 11st, 2005. © Jesse Skinner

Patching Worm

If someone were to write a worm that went around the Internet, eliminating the vulnerability of the computers it passes through, is that immoral? Is it illegal? Since the worm is doing no damage (unless you consider patching a hole to be damaging somehow), I wonder what the implications would be. What would people say if Microsoft released a patching-worm before someone released a damaging one?

Published on August 29th, 2005. © Jesse Skinner

What about application/xhtml+xml?

It turns out I wasn't done last week when I switched the site over to XHTML 1.1. It turns out that according to the W3C, text/html is not an allowed type for XHTML 1.1. And the type application/xhtml+xml brings with it a number of concerns. The biggest concern is that Internet Explorer doesn't support this type.

I found this great guide which suggested giving Internet Explorer XHTML 1.0 Strict while browsers that support application/xhtml+xml can be server XHTML 1.1. I went ahead and did this. I had to do the following:

  1. I inspect the HTTP_ACCEPT variable, if available, to see if application/xhtml+xml is accepted.
  2. The <?xml version="1.0"?> tag is added for 1.1
  3. The appropriate <!DOCTYPE> is displayed.
  4. The <html> tag has a lang attribute for 1.0
  5. Style sheets are served using <link> for 1.0, <?xml-stylesheet?> for 1.1.
  6. Style sheet needed to be modified to give the html element a background colour.

That's all I needed to do. There are other things that may need to be done, for example changes to DOM Scripting. I feel better knowing that I can support the cutting edge, while still supporting older browsers that are behind the times.

Published on April 25th, 2005. © Jesse Skinner

This site is valid XHTML 1.1

That's right, I've updated this site so it is now valid XHTML 1.1. It was previously XHTML 1.0 Strict. So what did I have to change?

  1. I changed the DOCTYPE tag to:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  2. I had to remove the "lang" attribute from the <html> tag. Now, only the xml:lang attribute is allowed.

That's it! Not too bad at all. I was also looking at what's coming in XHTML 2.0. I really like what I see. The downside is that XHTML 2.0 will not be backwards-compatible. The upside is, from what I can tell, it won't be very difficult to port an XHTML 1.x page to XHTML 2.0.

It looks like most web pages will only need to worry about a few things like the elimination of the <img> tag (this won't matter to those using CSS to add images), and the replacement of h1-h6 tags with a single <h> tag. However, it seems that pages with lots of JavaScript forms will need to have a major rework: HTML forms are replaced with XForms, JavaScript Events with XML Events. I guess we'll need to wait and see what the final specification has to say.

Published on April 21st, 2005. © Jesse Skinner
<< older posts newer posts >> All posts