html tidy errors and warnings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

html tidy errors and warnings

Ajaharuddin Mohammad

Hi friends,

 

I was cleaning up http://www.nicacresults.com using html tidy, and got following errors and warnings.

 

Should I bother about these errors and warnings? What was the impact of these errors on the site, if I leave them as it is. Please let me know.

 

49           Error: <nav> is not recognized!; Warning: discarding unexpected <nav>

<nav class="top-nav iegradient effect-1" id="top-navigation" role="navigation">

warn      67           Warning: discarding unexpected </nav>

</nav>

stop       69           Error: <header> is not recognized!; Warning: discarding unexpected <header>

<header class="iegradient _head" id="header" role="banner">

warn      78           Warning: discarding unexpected </header>

</header>

stop       82           Error: <nav> is not recognized!; Warning: d iscarding unexpected <nav>

<nav class="main-nav iegradient" id="main-navigation" role="navigation">

warn      88           Warning: discarding unexpected </nav>

</ul></nav>

stop       98           Error: <article> is not recognized!; Warning: discarding unexpected <article>

<article class="post-16019 post type-post status-publish format-standard hentry category-results-2015 tag-up-board-12th-results alt-post feat-thumbnail post-style-default has_no_thumb" id="post-16019">

warn      112& nbsp;        Warning: discarding unexpected </article>

</article>

stop       115         Error: <article> is not recognized!; Warning: discarding unexpected <article>

<article class="post-16000 post type-post status-publish format-standard hentry category-ifsc-codes tag-ifsc-code tag-micr-code tag-sbi-ifsc-code feat-thumbnail post-style-default has_no_thumb" id="post-16000">

warn      129         Warning: discarding unexpected </article>

</article>

stop       132       &nbs p; Error: <article> is not recognized!; Warning: discarding unexpected <article>

<article class="post-15996 post type-post status-publish format-standard hentry category-ifsc-codes tag-ifsc-codes tag-sbi-ifsc-codes alt-post feat-thumbnail post-style-default has_no_thumb" id="post-15996">

warn      146         Warning: discarding unexpected </article>

</article>

stop       149         Error: <article> is not recognized!; Warning: discarding unexpected <article>

<article class="post-15991 post type-post status-publish format-standard hentry category-adsense feat-thumbnail post-style-default has_thu mb" id="post-15991">

warn      164         Warning: discarding unexpected </article>

</article>

stop       167         Error: <article> is not recognized!; Warning: discarding unexpected <article>

<article class="post-15984 post type-post status-publish format-standard hentry category-adsense tag-best-adsense-site-on-flippa-for-sale tag-google-adsense-site-for-sale tag-google-traffic-adsense-site-for-sale alt-post feat-thumbnail post-style-default has_thumb" id="post-15984">

warn      182         Warning: discarding unexpected </ar ticle>

</article>

stop       185         Error: <article> is not recognized!; Warning: discarding unexpected <article>

<article class="post-15974 post type-post status-publish format-standard hentry category-article-rewriter feat-thumbnail post-style-default has_thumb" id="post-15974">

warn      200         Warning: discarding unexpected </article>

</article>

stop       203         Error: <article> is not recognized!

<article class="post-15969 post type-po st status-publish format-standard hentry category-make-money-online alt-post feat-thumbnail post-style-default has_thumb" id="post-15969">

 

 

Sincerely,

M azharuddin


Reply | Threaded
Open this post in threaded view
|

Re: html tidy errors and warnings

Murph Murphy
Hey Ajaharuddin,

Those are all HTML5 tags, which htmltidy doesn't support (though work is
being done to update it: https://github.com/htacg/tidy-html5). You're
fine leaving them as is, they aren't actual errors.

Murph


Reply | Threaded
Open this post in threaded view
|

Re: html tidy errors and warnings

Geoff McLane
Hi Ajaharuddin,

As Murph pointed out, those all seem html5 tags, so you must be using a
OLD version of tidy!

As he also pointed out, the LATEST version can be compiled using this
source : https://github.com/htacg/tidy-html5

A /LOT/ of work has gone into fully supporting HTML5++, while at the
same time supporting HTML4--, and we are getting very close to a HTML
Tidy 5.0.0 release...

And as a WIP some recent binaries are available from :
http://www.htacg.org/binaries/

Note the binary will  be 'named' tidy5 until we actually do the 5.0.0
release...

Regards,
Geoff.

On 17/04/15 20:46, Murph Murphy wrote:
> Hey Ajaharuddin,
>
> Those are all HTML5 tags, which htmltidy doesn't support (though work
> is being done to update it: https://github.com/htacg/tidy-html5).
> You're fine leaving them as is, they aren't actual errors.
>
> Murph
>
>


Reply | Threaded
Open this post in threaded view
|

Re: html tidy errors and warnings

tOM Trottier
2015 Apr 25 - Sat at 18:34   re:Re: html tidy errors and warnings …
Geoff McLane <[hidden email]>wrote

 >And as a WIP some recent binaries are available from :
>http://www.htacg.org/binaries/
>
>Note the binary will  be 'named' tidy5 until we actually do the 5.0.0
>release...

I keep getting 404s..

tOM

--

"Work to eat, eat to live, live to bike, bike to work." -- Naomi Bloom

  _~o          "It is by riding a bicycle that you learn the
 _-\<,_   contours of a country best,
(_)/ (_)   since you have to sweat up the hills
and coast down them. " ~ Ernest Hemingway
“Don’t buy upgrades, ride up grades.”—Eddy Merckx.
tOM Trottier +1 613 860-6633 [hidden email] <a href="skype:abacurial?call"> Skype:Abacurial
MD5 Fingerprint    27:B8:BA:91:70:E5:44:20:8F:29:EE:46:1E:52:F6:81
SHA1           23:3A:53:18:AB:83:B1:CA:O7:33:AF:10:11:24:27:95:22:98:4E:7E
P Est-ce c'est necessaire d'imprimer ce courriel?/Do you really need to print this email?
Reply | Threaded
Open this post in threaded view
|

Re: html tidy errors and warnings

Geoff McLane
Hi tOM,

Yes, there seems some problem... we will try
to fix this...

Meantime you can get them from here -
 https://github.com/htacg/binaries/tree/gh-pages/binaries
and navigate into one of the folders...

Note, you may need to use - Right Click on a binary,
and choose 'Save Link As...', and choose where to
download it too...

Sorry about this hiccup... I'm sure it worked
before, and will get it working again...

Regards,
Geoff.


On 28/04/15 07:59, tOM Trottier wrote:
2015 Apr 25 - Sat at 18:34   re:Re: html tidy errors and warnings …
Geoff McLane [hidden email]wrote

 >And as a WIP some recent binaries are available from :
>
>Note the binary will  be 'named' tidy5 until we actually do the 5.0.0
>release...

I keep getting 404s..

tOM

--

"Work to eat, eat to live, live to bike, bike to work." -- Naomi Bloom

  _~o          "It is by riding a bicycle that you learn the
 _-\<,_   contours of a country best,
(_)/ (_)   since you have to sweat up the hills
and coast down them. " ~ Ernest Hemingway
“Don’t buy upgrades, ride up grades.”—Eddy Merckx.
tOM Trottier +1 613 860-6633 [hidden email] <a moz-do-not-send="true" href="skype:abacurial?call"> Skype:Abacurial
MD5 Fingerprint    27:B8:BA:91:70:E5:44:20:8F:29:EE:46:1E:52:F6:81
SHA1           23:3A:53:18:AB:83:B1:CA:O7:33:AF:10:11:24:27:95:22:98:4E:7E
P Est-ce c'est necessaire d'imprimer ce courriel?/Do you really need to print this email?