<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/xhtml_validatio.php" />
  <link rel="self" type="application/atom+xml" href="http://www.readwriteweb.com/atom.xml" />
  <id>tag:,2009:/1/tag:72.47.210.69,2003://1.4098-</id>
  <updated>2009-11-23T20:00:47Z</updated>
  <title>Comments for XHTML validation and more CSS notes</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.23-en</generator>
  <entry>
    <id>tag:72.47.210.69,2003://1.4098</id>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/xhtml_validatio.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.readwriteweb.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=4098" title="XHTML validation and more CSS notes" />
    <published>2003-09-27T07:05:37Z</published>
    <updated>2007-12-16T23:15:28Z</updated>
    <title>XHTML validation and more CSS notes</title>
    <summary>I&apos;ve been fixing up some teething problems with my new CSS design and I&apos;m quite pleased to report that my homepage is now 100% valid XHTML 1.0 Transitional! I checked this at the W3C Validator. A couple of days ago I had about 360 errors on my test page, but I whittled it down in...</summary>
    <author>
      <name>Richard MacManus</name>
      <uri>http://www.readwriteweb.com</uri>
    </author>
    
    <category term="Web Design" />
    
    <content type="html" xml:lang="en" xml:base="http://www.readwriteweb.com/">
      <![CDATA[<p>I've been fixing up some teething problems with my new CSS design and I'm quite pleased to report that my homepage is now 100% valid <a href="http://www.w3.org/TR/2000/REC-xhtml1-20000126/">XHTML 1.0</a> Transitional! I checked this at the <a href="http://validator.w3.org/">W3C Validator</a>. A couple of days ago I had about 360 errors on my test page, but I whittled it down in two main ways. Firstly, I ran all my homepage posts through a nice <a href="http://infohound.net/tidy/">online HTML Tidy tool</a> I found. This cleaned up most of the gunk that the <a href="http://radio.userland.com">Radio Userland</a> WYSIWYG editor produces (the main culprit is upper case HTML tags, which is a no-no in XHTML). Then I had to clean up some other HTML that the W3C Validator objected to, such as ampersands and similar characters. This meant I had to remove all my Amazon links, as they have question marks and so forth in their URLs (due to being database query strings). The Validator didn't like links to comments on the Radio Userland servers either.</p> <p>The Validator is a tough task master, but I did as it bid me. The end result is I am now XHTML validated. I feel both cleansed and exhausted. As for the reasons why I felt I had to validate, it's partly because I want to give my tableless CSS the best chance of success (fly little bird, fly!). It's also partly because I am trying to ingratiate myself into the world of <a href="http://www.webstandards.org/">Web Standards</a> - and why I am doing this is something I will write about soon. Lastly, I am interested in the <a href="http://webservices.xml.com/pub/a/ws/2003/04/15/semanticblog.html">Semantic Blog</a> concept that <a href="http://weblog.infoworld.com/udell/">Jon Udell</a> is currently experimenting with. That is, doing XML analysis with an XHTML-enhanced weblog.</p> <p>There are now only two remaining CSS issues that I need to sort out:</p> <p>1. The formatting of the bottom horizontal bar goes out of whack when the menu list is longer than the main text. This is why I've temporarily taken off my blogroll and topicroll - but they'll return once I figure out how to fix this issue. I haven't fully got my head around CSS positioning yet, which judging from <a href="http://www.brainjar.com/css/positioning/default.asp">this article</a> may take some time to sink in.</p> <p>2. The second issue relates to the bottom vertical bar, which has a little glitch (at least in my IE6 browser). This seems to be related to some Radio Userland code, which I'll need to look more closely at.</p> <p>There may be one or two other issues, depending on what browser you are using. I'd be grateful if readers would let me know of any problems, via the comments or by email.</p>]]>
      
    </content>
  </entry>

  <entry>
    <id>tag:72.47.210.69,2003://1.4098-comment:35169</id>
    <thr:in-reply-to ref="tag:72.47.210.69,2003://1.4098" type="text/html" href="http://www.readwriteweb.com/archives/xhtml_validatio.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/xhtml_validatio.php#c35169" />
    <title>Comment from Andrew on 2003-09-26</title>
    <author>
        <name>Andrew</name>
        <uri>http://www.andrewsw.com/news/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.andrewsw.com/news/">
        <![CDATA[<p>ampersands can be represented in URLs via the "ampersand amp ;" (with no spaces and an actual ampersand instead of the word ampersand, and without the quotes). XHTML compliant web browsers _should_ resolve entities within URLs before interpreting the URLs as URLs.</p>]]>
    </content>
    <published>2003-09-27T02:11:25Z</published>
  </entry>

  <entry>
    <id>tag:72.47.210.69,2003://1.4098-comment:35170</id>
    <thr:in-reply-to ref="tag:72.47.210.69,2003://1.4098" type="text/html" href="http://www.readwriteweb.com/archives/xhtml_validatio.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/xhtml_validatio.php#c35170" />
    <title>Comment from Richard MacManus on 2003-09-26</title>
    <author>
        <name>Richard MacManus</name>
        <uri>http://www.readwriteweb.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.readwriteweb.com">
        <![CDATA[<p>Hi Andrew,</p>

<p>Yes I know, but I couldn't be bothered fixing up the Amazon URLs in this case. But I'd like to get an automated program to do this for me in future - one of the Tidy programs. Do you have any recommendations?</p>

<p>Cheers, Richard</p>]]>
    </content>
    <published>2003-09-27T02:24:10Z</published>
  </entry>

  <entry>
    <id>tag:72.47.210.69,2003://1.4098-comment:35171</id>
    <thr:in-reply-to ref="tag:72.47.210.69,2003://1.4098" type="text/html" href="http://www.readwriteweb.com/archives/xhtml_validatio.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/xhtml_validatio.php#c35171" />
    <title>Comment from Richard MacManus on 2003-09-26</title>
    <author>
        <name>Richard MacManus</name>
        <uri>http://www.readwriteweb.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.readwriteweb.com">
        <![CDATA[<p>Hi Andrew,</p>

<p>Yes I know, but I couldn't be bothered fixing up the Amazon URLs in this case. But I'd like to get an automated program to do this for me in future - one of the Tidy programs. Do you have any recommendations?</p>

<p>Cheers, Richard</p>]]>
    </content>
    <published>2003-09-27T02:24:20Z</published>
  </entry>

  <entry>
    <id>tag:72.47.210.69,2003://1.4098-comment:35172</id>
    <thr:in-reply-to ref="tag:72.47.210.69,2003://1.4098" type="text/html" href="http://www.readwriteweb.com/archives/xhtml_validatio.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/xhtml_validatio.php#c35172" />
    <title>Comment from Andrew on 2003-09-28</title>
    <author>
        <name>Andrew</name>
        <uri>http://www.andrewsw.com/news/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.andrewsw.com/news/">
        <![CDATA[<p>Hello Richard,</p>

<p>Sorry - I have no recommendations. Especially since in my case all the blog posts are in a MySQL database, for me it would involve likely some funky SQL and maybe some language with decent regex support. For you there in Radio land, I imagine it is something very different. If I knew that it was just any ampersand in any href= then there's likely some one-liner involving sed or perl that could do the job, but I'm in no mood to write regex right now (e-mail me if you'd want such sed/perl thing).</p>

<p>Well wishes,<br />
Andrew</p>]]>
    </content>
    <published>2003-09-28T19:32:01Z</published>
  </entry>

  <entry>
    <id>tag:72.47.210.69,2003://1.4098-comment:35173</id>
    <thr:in-reply-to ref="tag:72.47.210.69,2003://1.4098" type="text/html" href="http://www.readwriteweb.com/archives/xhtml_validatio.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/xhtml_validatio.php#c35173" />
    <title>Comment from Richard MacManus on 2003-09-29</title>
    <author>
        <name>Richard MacManus</name>
        <uri>http://www.readwriteweb.com/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.readwriteweb.com/">
        <![CDATA[<p>Hi Andrew,</p>

<p>That's OK, I think one of the HTML Tidy programs will do it. I haven't yet installed the W3C version, which may be the answer.</p>

<p>Cheers, Richard</p>]]>
    </content>
    <published>2003-09-30T00:59:29Z</published>
  </entry>

</feed>