2009年11月5日 5评论

冰和XHTML

http://markbeljaars.com/wp-content/plugins/sociofluid/images/digg_48.png~~V http://markbeljaars.com/wp-content/plugins/sociofluid/images/reddit_48.png~~V http://markbeljaars.com/wp-content/plugins/sociofluid/images/stumbleupon_48.png~~V http://markbeljaars.com/wp-content/plugins/sociofluid/images/delicious_48.png~~V http://markbeljaars.com/wp-content/plugins/sociofluid/images/furl_48.png~~V http://markbeljaars.com/wp-content/plugins/sociofluid/images/technorati_48.png~~V http://markbeljaars.com/wp-content/plugins/sociofluid/images/facebook_48.png~~V http://markbeljaars.com/wp-content/plugins/sociofluid/images/yahoobuzz_48.png~~V http://markbeljaars.com/wp-content/plugins/sociofluid/images/mixx_48.png~~V http://markbeljaars.com/wp-content/plugins/sociofluid/images/twitter_48.png~~V

据官方消息。 微软喜欢XHTML兼容的网页! 以及形成的文件可以始终显示,搜索,索引,排序等。 微软甚至受理的执行符合XHTML在IE8的想法。 我想它代表的原因,冰也会喜欢良好的网页。 如果冰变成流行,它可能是用来挥洒开发创造良好的XHTML网页的催化剂。

因此,我设置了一个奇妙的冒险从我sites.The完成无差错页删除所有的XHTML错误和警告,可以发现http://beginnerchess.org如果有人有兴趣。

有趣的是,我发现了三个问题,将影响许多人使用Wirdoress 2.8及以上。

  1. 谷歌的Adsense代码片段实际上打破WordPress的。 WordPress的转换闭幕的CDATA支架>(>)。 要修复,删除CDATA节和替换注释标记。 例如:

    google_script

  2. 此外,在WordPress 2.8搜索工具不能很好地形成。 如果你可以困扰,修改wp-includes/general-templates.php“,并删除任何参考作用=”搜索“。
  3. 最后,确保你的主题有大约<ul>和</ UL>标记dynamic_sidebar(通常发现的sidebar.php或functions.php的文件)的任何调用。

还注意到,嵌入式闪存文件是不是XHTML的complient。 已经有尝试使用符合标签显示闪光,但我发现他们不可靠。 现在坚持不兼容的代码。

来测试您的网页,浏览http://validator.w3.org/~~V

标签:

SpinChimp Leaderboard 728x90