XHTML or not XHTML
Lucian | Monday, April 21, 2008OK, OK! I know I have a link to XHTML validation at the bottom of my blog, but the pages don’t validate correctly.
There are 2 reasons for this:
- It simply came with the theme and I am too lazy to remove it… Joking :). The truth is that I want the pages to validate correctly and have that link for a good reason.
- The invalid parts are caused by embedding the youtube clips and I just copy paste them. Now, I may be an engineer, but I haven’t had the time yet to research the cause and solve it. If anyone stumbles upon my blog and can give some advice on this, please do not hesitate!
In the meantime, I’ll just hope nobody notices. ![]()
























































The first error is the fact that the theme is
SaltwaterC | Monday, April 21, 2008 | 11:58 pmThe first error is the fact that the theme is declared as XHTML 1.0 Strict while WordPress relays onto the XHTML 1.0 Transitional standard. You need to modify the DTD (Document Type Declaration) from the theme. The Strict standard doesn’t have support for the target attribute, while WordPress uses it.
Second of all, the embed code which is provided by YouTube is broken. However, you can download a copy of my plug-in, install it, then replace the YouTube embedded code with [youtube]full-url-to-youtube-video[/youtube]. Believe me that it works.
Regards,
SaltwaterC
PS: you do share some of things I also like … Ubuntu and Trance
Since the other pages of your blog won’t work (most probably a messed up .htaccess rule, thus they all throw the 404 error), I am typing here these words.
Thanks for dropping me the line. I had started to
Lucian | Tuesday, April 22, 2008 | 1:46 amThanks for dropping me the line. I had started to get a feeling about what was going on, with all the rejected target attributes. Now it’s better, I think. I’ll start work on the youtube embeddings tomorrow.
Glad you like trance and Ubuntu.
I’ll be writing about them.