Blogger generated a invalid XHTML 1.0 page

salsan <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>

Hello to everyone,

I work to write from scratch a template for Blogger, but I discovered the 
basic code generated is not a valid XHTML page, you can download my minimal 
template test from github 
<https://raw.githubusercontent.com/ChessLogger/blogger/master/template/minimal.xml>


[image: W3C Validator] 
<https://lh3.googleusercontent.com/-6CoPs_V3DDI/VSU_RMfonRI/AAAAAAAAIXA/DSC9gqeJGcE/s1600/XHTML-validator-orginal.jpg>

I discovered the problems

   - First
   
<link type='text/css' rel='stylesheet' href='
> *https://www.blogger.com/dyn-css/authorization.css?targetBlogID=2852384898100351570&zx=250ede18-fba4-4df9-864f-7c437403b820'* 
> />
> <style id='page-skin-1' type='text/css'>
>

 You can encode the URI, as 
*https://www.blogger.com/dyn-css/authorization.css?targetBlogID=2852384898100351570%26zx%3D87459c4c-034e-4165-9bdc-21d3ff0db57f*


   - Second

If you want a XHTML valid page you need to use CDDATA with Javascript, 
example

> <script type="text/javascript">
> //<![CDATA[
>         ...
> //]]></script>
>
>
Later, I fixed and  W3C validator <http://validator.w3.org/check> says 
"This document was successfully checked as XHTML 1.0 Transitional!"
 

<https://lh3.googleusercontent.com/-1-Shk1wxsNA/VSVC2SaSNrI/AAAAAAAAIXM/K4A-INBH_u0/s1600/XHTML-validator-fixed.jpg>

any plan for fix this issue on blogger ?


-- 
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.