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

 Friday, September 05, 2003

Revisiting XHTML. Ever since XHTML was introduced in January of 2000, arguments as to its use and rationale have been flung about... [Web Standards Project BUZZ]

I spent some reading about this today. It was interesting but not important. It sounded too much like whining to me. Writing valid XHTML is not that hard for what I do so I write code that validates. My general feeling is I like the web pages I develop to work in most browsers and have the nice features that make web browsing fun. As an example I recently modified the design for Legacy Farm to:

  1. Simplify the navigation menu.
  2. Make it compatible with Netscape 4.75 and the other non-CSS browsers like it.
  3. Make the pages XHTML 1.0 compliant.

Simplifying the navigation menu and fixing the CSS to work with non-CSS browsers were my major issues. I was afraid of losing potential customers. XHTML was a minor issue for me since customers cannot tell the difference and HTML Tidy did most of the work. I get this warm, fuzzy feeling that by writing valid XHTML code my web pages will be usable in most browsers and I will already be on the most likely path for future standards.


Comments [] TrackBack [] 10:30:11 PM     

Q: How do I force the text to be an e-mail address without having to play about?

Problem: I had an Excel spreadsheet with email addresses. I wanted to add the mailto: hyperlink to a range of cells. The answer came from Suat at experts-exchange.

Goto Excel VBA (Alt+F11) and Insert->Module to add a new module then copy And paste the following code into this new module. Then return excel and select the range which has email addresses (you can select other cells, you don't have to use multiply selection) and then run the macro by pointing Tools->Macros->Macros and selecting ChangeToEmail macro. Code will look into selected range and change the cell to a hyperlink if cell has an email address in it by using cell value as email address.

'----Code Start---
Sub ChangeToEmail()
Dim rng As Range
Dim cll As Range
Dim tmpval
   Set rng = Selection
   For Each cll In rng.Cells
       tmpval = cll.Value
       If InStr(cll, "@") > 0 Then cll.Hyperlinks.Add cll, "mailto:" & cll.Value
       cll.Value = tmpval
   Next cll
End Sub
'----Code End---


Comments [] TrackBack [] 12:07:06 PM Google It!    

Feed Validator has moved. The Feed Validator, previously located at feeds.archive.org/validator/, now has its own domain: http://feedvalidator.org. If you have any scripts, templates, or applications that point to the Feed Validator, now would be a good time to update them. (204 words) [dive into mark]

Hey, thanks for telling everyone...finally. I ended up using the Redland RSS 1.0 Validator yesterday when my favorite validator was not found. I thought they probably took the server down for maintenance. Today I find out its moved. I checked both feeds and my 1.0 feed failed because the channel description used dublin core. I took the dc: out and the feed validated. I then updated the footer in my dreamweaver templates for the new url to the validator.


Comments [] TrackBack [] 8:24:21 AM     

This work is licensed under a Creative Commons License. The licensor permits others to copy, distribute, display, and perform the work. In return, licensees must give the original author credit.

Valid HTML 4.01! Creative Commons License Click here to visit the Radio UserLand website. Subscribe to "a lazy cowboy" in Radio UserLand. Click to see the XML version of this web page. Click here to send an email to the editor of this weblog.