Support » Plugins and Hacks » Validating to XHTML 1.1

  • I just finished the process of charming my index.php into XHTML 1.1…
    While doing so, I noticed the new validator link at the bottom of the index.php file shipping with 1.2 mingus is http://validator.w3.org/check/referer opposed to…
    http://validator.w3.org/check?uri=referer
    and if you are going to go 1.1 don’t forget to <?php echo("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); ?> at the top… php freezes if you try to dump the line out raw. Else turn off php short names on the server.
    The nested links in the menu a bit of massaging to validate properly, if anyone wants a copy of it, lemme know.
    It was fairly clean. But my bad habit of target=”_blank” in links was the biggest mess I had to clean up.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Wierd I don’t know how this post ended up in plugins…I was posting to design?

    There’s no reason to have tho XML declaration, in fact I would recommend against it. What did you have to clean up in the menu?

    Odd. My index.php validated ‘out of the box’

    It validates to XHTML 1.0 Transitional ‘out of the box’ (at least mine did). He’s talking about converting it to XHTML 1.1 as I read it.
    On another note, adding target=”_blank” to links is indeed a very bad habit (imho). It decreases usability and accessibility by taking that choice out the hands of users. But hey, we all have some bad habit.

    Ah .. apologies for not reading it properly 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.