Blogger и валидатор - почему все так плохо? [РЕШЕНО]

Модератор: Fleelancer

<<

Laovenius

Автор темы

Сообщения: 31

Зарегистрирован: 21 окт 2012, 15:15

Благодарил (а): 0 раз.
Поблагодарили: 0 раз.

Сообщение 24 янв 2014, 17:05

Blogger и валидатор - почему все так плохо? [РЕШЕНО]

Почему все так плохо? Даже самый простой шаблон, который называется Простой выдает такое количество ошибок если прогнать валидатором.

  Код:
Validation Output: 99 Errors
Line 2, Column 205: Attribute xmlns:b not allowed here.
…www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>


Line 2, Column 205: Attribute with the local name xmlns:b is not serializable as XML 1.0.
…www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>


Line 2, Column 205: Attribute xmlns:data not allowed here.
…www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>


Line 2, Column 205: Attribute with the local name xmlns:data is not serializable as XML 1.0.
…www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>


Line 2, Column 205: Attribute xmlns:expr not allowed here.
…www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>


Line 2, Column 205: Attribute with the local name xmlns:expr is not serializable as XML 1.0.
…www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>


Line 53, Column 128: & did not start a character reference. (& probably should have been escaped as &amp;.)
…n.css?targetBlogID=3244040450950817632&zx=d369b0f3-6337-427c-8230-07ba5178c37e…


Line 650, Column 82: & did not start a character reference. (& probably should have been escaped as &amp;.)
…m/rearrange?blogID=3244040450950817632&widgetType=PageList&widgetId=PageList1&…


Line 650, Column 102: & did not start a character reference. (& probably should have been escaped as &amp;.)
…244040450950817632&widgetType=PageList&widgetId=PageList1&action=editWidget&se…


Line 650, Column 121: & did not start a character reference. (& probably should have been escaped as &amp;.)
…widgetType=PageList&widgetId=PageList1&action=editWidget&sectionId=crosscol' o…


Line 650, Column 139: & did not start a character reference. (& probably should have been escaped as &amp;.)
…t&widgetId=PageList1&action=editWidget&sectionId=crosscol' onclick='return _Wi…


Line 732, Column 82: & did not start a character reference. (& probably should have been escaped as &amp;.)
…m/rearrange?blogID=3244040450950817632&widgetType=Text&widgetId=Text1&action=e…


Line 732, Column 98: & did not start a character reference. (& probably should have been escaped as &amp;.)
…ID=3244040450950817632&widgetType=Text&widgetId=Text1&action=editWidget&sectio…


Line 732, Column 113: & did not start a character reference. (& probably should have been escaped as &amp;.)
…0817632&widgetType=Text&widgetId=Text1&action=editWidget&sectionId=main' oncli…


Line 732, Column 131: & did not start a character reference. (& probably should have been escaped as &amp;.)
…=Text&widgetId=Text1&action=editWidget&sectionId=main' onclick='return _Widget…


Line 753, Column 30: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
<a name='1136287520709966992'></a>


Line 765, Column 172: Attribute imageanchor not allowed on element a at this point.
…"margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogsp…
Attributes for element a:
Global attributes
href
target
download
rel
hreflang
type
Line 765, Column 321: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.
…B8/muw-AfvTa8Q/s320/test.gif" height="116" width="370" /></a></div>


Line 765, Column 321: The border attribute is obsolete. Consider specifying img { border: 0; } in CSS instead.
…B8/muw-AfvTa8Q/s320/test.gif" height="116" width="370" /></a></div>


Line 807, Column 30: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
<a name='1269445480355662375'></a>


Line 865, Column 30: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
<a name='4382605099377458327'></a>


Line 923, Column 30: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
<a name='7009476114320296937'></a>


Line 935, Column 111: Attribute type not allowed on element iframe at this point.
…//player.vimeo.com/video/46804167" type="text/html" width="450"></iframe></div>
Attributes for element iframe:
Global attributes
src
srcdoc
name
sandbox
seamless
allowfullscreen
width
height
Line 935, Column 111: The frameborder attribute on the iframe element is obsolete. Use CSS instead.
…//player.vimeo.com/video/46804167" type="text/html" width="450"></iframe></div>


Line 984, Column 30: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
<a name='8213249218526812643'></a>


Line 1032, Column 30: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
<a name='6446977419419887000'></a>


Line 1125, Column 82: & did not start a character reference. (& probably should have been escaped as &amp;.)
…m/rearrange?blogID=3244040450950817632&widgetType=Profile&widgetId=Profile1&ac…


Line 1125, Column 101: & did not start a character reference. (& probably should have been escaped as &amp;.)
…3244040450950817632&widgetType=Profile&widgetId=Profile1&action=editWidget&sec…


Line 1125, Column 119: & did not start a character reference. (& probably should have been escaped as &amp;.)
…2&widgetType=Profile&widgetId=Profile1&action=editWidget&sectionId=sidebar-rig…


Line 1125, Column 137: & did not start a character reference. (& probably should have been escaped as &amp;.)
…le&widgetId=Profile1&action=editWidget&sectionId=sidebar-right-1' onclick='ret…


Line 1133, Column 84: The cellpadding attribute on the table element is obsolete. Use CSS instead.
…e border='0' cellpadding='0' cellspacing='0' class='section-columns columns-2'>


Line 1133, Column 84: The cellspacing attribute on the table element is obsolete. Use CSS instead.
…e border='0' cellpadding='0' cellspacing='0' class='section-columns columns-2'>


Line 1133, Column 84: The value of the border attribute on the table element must be either 1 or the empty string. To regulate the thickness of table borders, Use CSS instead.
…e border='0' cellpadding='0' cellspacing='0' class='section-columns columns-2'>


Line 1173, Column 82: & did not start a character reference. (& probably should have been escaped as &amp;.)
…m/rearrange?blogID=3244040450950817632&widgetType=Label&widgetId=Label1&action…


Line 1173, Column 99: & did not start a character reference. (& probably should have been escaped as &amp;.)
…D=3244040450950817632&widgetType=Label&widgetId=Label1&action=editWidget&secti…


Line 1173, Column 115: & did not start a character reference. (& probably should have been escaped as &amp;.)
…17632&widgetType=Label&widgetId=Label1&action=editWidget&sectionId=sidebar-rig…


Line 1173, Column 133: & did not start a character reference. (& probably should have been escaped as &amp;.)
…abel&widgetId=Label1&action=editWidget&sectionId=sidebar-right-2-1' onclick='r…


Line 1331, Column 82: & did not start a character reference. (& probably should have been escaped as &amp;.)
…m/rearrange?blogID=3244040450950817632&widgetType=BlogArchive&widgetId=BlogArc…


Line 1331, Column 105: & did not start a character reference. (& probably should have been escaped as &amp;.)
…040450950817632&widgetType=BlogArchive&widgetId=BlogArchive1&action=editWidget…


Line 1331, Column 127: & did not start a character reference. (& probably should have been escaped as &amp;.)
…Type=BlogArchive&widgetId=BlogArchive1&action=editWidget&sectionId=sidebar-rig…


Line 1331, Column 145: & did not start a character reference. (& probably should have been escaped as &amp;.)
…idgetId=BlogArchive1&action=editWidget&sectionId=sidebar-right-2-2' onclick='r…


Line 1372, Column 18: The align attribute on the p element is obsolete. Use CSS instead.
<p align="center">


Line 1375, Column 18: The align attribute on the p element is obsolete. Use CSS instead.
<p align="center">


Line 1378, Column 18: The align attribute on the p element is obsolete. Use CSS instead.
<p align="center">


Line 1395, Column 82: & did not start a character reference. (& probably should have been escaped as &amp;.)
…m/rearrange?blogID=3244040450950817632&widgetType=HTML&widgetId=HTML1&action=e…


Line 1395, Column 98: & did not start a character reference. (& probably should have been escaped as &amp;.)
…ID=3244040450950817632&widgetType=HTML&widgetId=HTML1&action=editWidget&sectio…


Line 1395, Column 113: & did not start a character reference. (& probably should have been escaped as &amp;.)
…0817632&widgetType=HTML&widgetId=HTML1&action=editWidget&sectionId=footer-1' o…


Line 1395, Column 131: & did not start a character reference. (& probably should have been escaped as &amp;.)
…=HTML&widgetId=HTML1&action=editWidget&sectionId=footer-1' onclick='return _Wi…


Line 749, Column 108: The itemprop attribute was specified, but the element is not a property of any item.
…prop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>


Line 750, Column 138: The itemprop attribute was specified, but the element is not a property of any item.
…MkZJI/AAAAAAAAAB8/muw-AfvTa8Q/s320/test.gif' itemprop='image_url'/>


Line 751, Column 55: The itemprop attribute was specified, but the element is not a property of any item.
<meta content='3244040450950817632' itemprop='blogId'/>


Line 752, Column 55: The itemprop attribute was specified, but the element is not a property of any item.
<meta content='1136287520709966992' itemprop='postId'/>


Line 754, Column 51: The itemprop attribute was specified, but the element is not a property of any item.
<h3 class='post-title entry-title' itemprop='name'>


Line 760, Column 107: The itemprop attribute was specified, but the element is not a property of any item.
…content' id='post-body-1136287520709966992' itemprop='description articleBody'>


Line 774, Column 93: The itemprop attribute was specified, but the element is not a property of any item.
…n' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>


Line 775, Column 84: The itemprop attribute was specified, but the element is not a property of any item.
… content='http://www.blogger.com/profile/07245600536049976284' itemprop='url'/>


Line 777, Column 22: The itemprop attribute was specified, but the element is not a property of any item.
<span itemprop='name'>Тест</span>


Line 783, Column 91: The itemprop attribute was specified, but the element is not a property of any item.
…t='http://test.blogspot.com/2012/10/blog-post_29.html' itemprop='url'/>


Line 784, Column 213: The itemprop attribute was specified, but the element is not a property of any item.
…ed' itemprop='datePublished' title='2012-10-29T14:07:00+03:00'>14:07</abbr></a>


Line 804, Column 108: The itemprop attribute was specified, but the element is not a property of any item.
…prop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>


Line 805, Column 55: The itemprop attribute was specified, but the element is not a property of any item.
<meta content='3244040450950817632' itemprop='blogId'/>


Line 806, Column 55: The itemprop attribute was specified, but the element is not a property of any item.
<meta content='1269445480355662375' itemprop='postId'/>


Line 808, Column 51: The itemprop attribute was specified, but the element is not a property of any item.
<h3 class='post-title entry-title' itemprop='name'>


Line 814, Column 107: The itemprop attribute was specified, but the element is not a property of any item.
…content' id='post-body-1269445480355662375' itemprop='description articleBody'>


Line 822, Column 93: The itemprop attribute was specified, but the element is not a property of any item.
…n' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>


Line 823, Column 84: The itemprop attribute was specified, but the element is not a property of any item.
… content='http://www.blogger.com/profile/07245600536049976284' itemprop='url'/>


Line 825, Column 22: The itemprop attribute was specified, but the element is not a property of any item.
<span itemprop='name'>Тест</span>


Line 831, Column 88: The itemprop attribute was specified, but the element is not a property of any item.
…tent='http://test.blogspot.com/2012/10/blog-post.html' itemprop='url'/>


Line 832, Column 210: The itemprop attribute was specified, but the element is not a property of any item.
…ed' itemprop='datePublished' title='2012-10-29T13:51:00+03:00'>13:51</abbr></a>


Line 862, Column 108: The itemprop attribute was specified, but the element is not a property of any item.
…prop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>


Line 863, Column 55: The itemprop attribute was specified, but the element is not a property of any item.
<meta content='3244040450950817632' itemprop='blogId'/>


Line 864, Column 55: The itemprop attribute was specified, but the element is not a property of any item.
<meta content='4382605099377458327' itemprop='postId'/>


Line 866, Column 51: The itemprop attribute was specified, but the element is not a property of any item.
<h3 class='post-title entry-title' itemprop='name'>


Line 872, Column 107: The itemprop attribute was specified, but the element is not a property of any item.
…content' id='post-body-4382605099377458327' itemprop='description articleBody'>


Line 880, Column 93: The itemprop attribute was specified, but the element is not a property of any item.
…n' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>


Line 881, Column 84: The itemprop attribute was specified, but the element is not a property of any item.
… content='http://www.blogger.com/profile/07245600536049976284' itemprop='url'/>


Line 883, Column 22: The itemprop attribute was specified, but the element is not a property of any item.
<span itemprop='name'>Тест</span>


Line 889, Column 88: The itemprop attribute was specified, but the element is not a property of any item.
…tent='http://test.blogspot.com/2012/09/blog-post.html' itemprop='url'/>


Line 890, Column 210: The itemprop attribute was specified, but the element is not a property of any item.
…ed' itemprop='datePublished' title='2012-09-24T14:36:00+03:00'>14:36</abbr></a>


Line 920, Column 108: The itemprop attribute was specified, but the element is not a property of any item.
…prop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>


Line 921, Column 55: The itemprop attribute was specified, but the element is not a property of any item.
<meta content='3244040450950817632' itemprop='blogId'/>


Line 922, Column 55: The itemprop attribute was specified, but the element is not a property of any item.
<meta content='7009476114320296937' itemprop='postId'/>


Line 924, Column 51: The itemprop attribute was specified, but the element is not a property of any item.
<h3 class='post-title entry-title' itemprop='name'>


Line 930, Column 107: The itemprop attribute was specified, but the element is not a property of any item.
…content' id='post-body-7009476114320296937' itemprop='description articleBody'>


Line 941, Column 93: The itemprop attribute was specified, but the element is not a property of any item.
…n' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>


Line 942, Column 84: The itemprop attribute was specified, but the element is not a property of any item.
… content='http://www.blogger.com/profile/07245600536049976284' itemprop='url'/>


Line 944, Column 22: The itemprop attribute was specified, but the element is not a property of any item.
<span itemprop='name'>Тест</span>


Line 950, Column 88: The itemprop attribute was specified, but the element is not a property of any item.
…tent='http://test.blogspot.com/2012/08/blog-post.html' itemprop='url'/>


Line 951, Column 210: The itemprop attribute was specified, but the element is not a property of any item.
…ed' itemprop='datePublished' title='2012-08-08T10:48:00+03:00'>10:48</abbr></a>


Line 981, Column 108: The itemprop attribute was specified, but the element is not a property of any item.
…prop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>


Line 982, Column 55: The itemprop attribute was specified, but the element is not a property of any item.
<meta content='3244040450950817632' itemprop='blogId'/>


Line 983, Column 55: The itemprop attribute was specified, but the element is not a property of any item.
<meta content='8213249218526812643' itemprop='postId'/>


Line 985, Column 51: The itemprop attribute was specified, but the element is not a property of any item.
<h3 class='post-title entry-title' itemprop='name'>


Line 991, Column 107: The itemprop attribute was specified, but the element is not a property of any item.
…content' id='post-body-8213249218526812643' itemprop='description articleBody'>


Line 999, Column 93: The itemprop attribute was specified, but the element is not a property of any item.
…n' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>


Line 1000, Column 84: The itemprop attribute was specified, but the element is not a property of any item.
… content='http://www.blogger.com/profile/07245600536049976284' itemprop='url'/>


Line 1002, Column 22: The itemprop attribute was specified, but the element is not a property of any item.
<span itemprop='name'>Тест</span>


Line 1008, Column 91: The itemprop attribute was specified, but the element is not a property of any item.
…t='http://test.blogspot.com/2012/04/blog-post_15.html' itemprop='url'/>


Line 1009, Column 213: The itemprop attribute was specified, but the element is not a property of any item.
…hed' itemprop='datePublished' title='2012-04-15T00:33:00+03:00'>0:33</abbr></a>


Line 1029, Column 108: The itemprop attribute was specified, but the element is not a property of any item.
…prop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>


Line 1030, Column 55: The itemprop attribute was specified, but the element is not a property of any item.
<meta content='3244040450950817632' itemprop='blogId'/>


Line 1031, Column 55: The itemprop attribute was specified, but the element is not a property of any item.
<meta content='6446977419419887000' itemprop='postId'/>


Line 1033, Column 51: The itemprop attribute was specified, but the element is not a property of any item.
<h3 class='post-title entry-title' itemprop='name'>


Line 1039, Column 107: The itemprop attribute was specified, but the element is not a property of any item.
…content' id='post-body-6446977419419887000' itemprop='description articleBody'>


Line 1047, Column 93: The itemprop attribute was specified, but the element is not a property of any item.
…n' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>


Line 1048, Column 84: The itemprop attribute was specified, but the element is not a property of any item.
… content='http://www.blogger.com/profile/07245600536049976284' itemprop='url'/>


Line 1050, Column 22: The itemprop attribute was specified, but the element is not a property of any item.
<span itemprop='name'>Тест</span>


Line 1056, Column 88: The itemprop attribute was specified, but the element is not a property of any item.
…tent='http://test.blogspot.com/2012/04/blog-post.html' itemprop='url'/>


Line 1057, Column 210: The itemprop attribute was specified, but the element is not a property of any item.
…hed' itemprop='datePublished' title='2012-04-15T00:27:00+03:00'>0:27</abbr></a>


Помогите разобрать ошибки. Где можно чего подправить? Пожалуйста, век воли не видать!
Последний раз редактировалось Admin 25 апр 2015, 16:18, всего редактировалось 1 раз.
Причина: заголовок
<<

Gene

Аватара пользователя

Сообщения: 358

Зарегистрирован: 12 ноя 2011, 04:58

Благодарил (а): 0 раз.
Поблагодарили: 32 раз.

Сообщение 24 янв 2014, 20:37

Re: Blogger и валидатор - почему все так плохо?

Эти ошибки никому не мешают. Прогоните через валидатор главные страницы ведущих мировых сайтов и ужаснитесь.
Graddit - полезные виджеты для вашего блога: рейтинги, похожие статьи, лучшие материалы.
<<

Laovenius

Автор темы

Сообщения: 31

Зарегистрирован: 21 окт 2012, 15:15

Благодарил (а): 0 раз.
Поблагодарили: 0 раз.

Сообщение 28 янв 2014, 13:14

Re: Blogger и валидатор - почему все так плохо?

Мне мешают.

Вот скажите, ругается на символ & который надо заменить на &amp;

а как его в коде найти?

Пытаюсь найти строку с валидатора в коде, и такой тупо нет в коде...
<<

Gene

Аватара пользователя

Сообщения: 358

Зарегистрирован: 12 ноя 2011, 04:58

Благодарил (а): 0 раз.
Поблагодарили: 32 раз.

Сообщение 28 янв 2014, 19:15

Re: Blogger и валидатор - почему все так плохо?

Так это при сохранении шаблона после внесения в него изменений?
Graddit - полезные виджеты для вашего блога: рейтинги, похожие статьи, лучшие материалы.
<<

Laovenius

Автор темы

Сообщения: 31

Зарегистрирован: 21 окт 2012, 15:15

Благодарил (а): 0 раз.
Поблагодарили: 0 раз.

Сообщение 28 янв 2014, 20:12

Re: Blogger и валидатор - почему все так плохо?

Нет. Чистый шаблон Simple белый. При прогоне валидатором блога (любого!!!) выдает ошибки где ругается на символ &, выдает разумеется с куском кода, однако таких куском кода в шаблоне нет! Вопрос, где и как искать эти & которые для валидатора надо заменить на &amp;???
<<

Gene

Аватара пользователя

Сообщения: 358

Зарегистрирован: 12 ноя 2011, 04:58

Благодарил (а): 0 раз.
Поблагодарили: 32 раз.

Сообщение 28 янв 2014, 23:37

Re: Blogger и валидатор - почему все так плохо?

Т.е. это всё только для того, чтобы валидатор не ругался? Каков реальный вред от того, что какой-то там валидатор (да хоть все разом) не может свалидировать код шаблона? Уверен, что для этого язык разметки и не подразумеаплось, что он будет валидным хоть для чего-то кроме собственно блоггеровского шаблонизатора.
Graddit - полезные виджеты для вашего блога: рейтинги, похожие статьи, лучшие материалы.
<<

Laovenius

Автор темы

Сообщения: 31

Зарегистрирован: 21 окт 2012, 15:15

Благодарил (а): 0 раз.
Поблагодарили: 0 раз.

Сообщение 29 янв 2014, 12:16

Re: Blogger и валидатор - почему все так плохо?

Причем тут это?

Скажите прямо - вы не знаете ответа на мой вопрос.

Добавлено спустя 26 секунд:
А если знаете - помогите! Буду признателен.
<<

Gene

Аватара пользователя

Сообщения: 358

Зарегистрирован: 12 ноя 2011, 04:58

Благодарил (а): 0 раз.
Поблагодарили: 32 раз.

Сообщение 29 янв 2014, 20:19

Re: Blogger и валидатор - почему все так плохо?

Я знаю ответ на ваш вопрос и ответ этот таков: шаблон написан на языке, который не является валидным XML-ем, о чём вам пряво и недвусмысленно говорит валидатор. Он в принципе никогда не будет валидным, хоть убейся, потому что он такой по дизайну, его таким сделали в Блоггере, потому что им плевать было на этот стандарт, им нужен был свой собственный язык разметки, решающий их задачу лучшим, на их взгляд, способом. Помог?
Graddit - полезные виджеты для вашего блога: рейтинги, похожие статьи, лучшие материалы.
<<

Laovenius

Автор темы

Сообщения: 31

Зарегистрирован: 21 окт 2012, 15:15

Благодарил (а): 0 раз.
Поблагодарили: 0 раз.

Сообщение 30 янв 2014, 16:34

Re: Blogger и валидатор - почему все так плохо?

Видимо вы правы. Просто у Гугла своя политика в этом плане и все равно как не крути, но сторонние шаблоны которые возможно и будут валидными по чистоте кода конкретно заточенного под Блоггер, шаблоны что в админпанеле будут "без косяков", но не валидными. Ну и ладно.

Спасибо, что вправили мозг!

Помогите с мобильной версией в соседней теме, плз.

Вернуться в Вопросы от новичков

Кто сейчас на конференции

Зарегистрированные пользователи: Bing [Bot]

Работает на phpBB © 2000, 2002, 2005, 2007 phpBB Group. Дизайн ST Software и Blogger Форум. Русская поддержка phpBB
ЧПУ ссылки от phpbb seo