Re: HTML Cleanup Error and Warning

2014-07-11 14:13 GMT+02:00 Ajaharuddin Mohammad <
ajaharuddin.mohammad@magnaquest.com>:

> Hi,
>
>
>
> I am trying to clean this HTML source of this page
> http://www.ignouacin.com From this one http://infohound.net/tidy/
>
> 2              Warning: <html> proprietary attribute "xmlns:fb"; Warning:
> <html> proprietary attribute "xmlns:og"
>
> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="
> http://www.facebook.com/2008/fbml" xmlns:og="
> http://opengraphprotocol.org/schema/" lang="en" xml:lang="en">
>
> warn      9              Warning: <meta> proprietary attribute "property"
>
> <meta property='og:locale' content='en_US'/>
>
> warn      10           Warning: <meta> proprietary attribute "property"
>
> <meta property="og:title" content="Swift Code, BIC Codes, IFSC Code, MICR
> Code, All Bank Codes in the World at ignouacin.com" />
>
> warn      11           Warning: <meta> proprietary attribute "property"
>
> <meta property="og:description" content="Full list of World wide banks
> Swift code, BIC Code, all Indian Banks IFSC Codes, MICR Code, Address,
> Cutomer Support, Complaints, credit cards, loan details, etc at
> ignouacin.com" />
>
> warn      12           Warning: <meta> proprietary attribute "property"
>
> <meta property="og:url" content="http://www.ignouacin.com" />
>
> warn      13           Warning: <meta> proprietary attribute "property"
>
> <meta property="og:site_name" content="ignouacin" />
>
> warn      14           Warning: <meta> proprietary attribute "property"
>
> <meta property="og:type" content="article" />
>
> warn      15           Warning: <meta> element not empty or not closed
>
> <meta name="copyright" content="ignouacin.com">
>
> warn      16           Warning: <meta> element not empty or not closed
>
> <meta name="author" content="ignouacin.com">
>
> warn      31           Warning: <table> lacks "summary" attribute
>
> <table>
>
> stop       42           Error: <nav> is not recognized!; Warning:
> discarding unexpected <nav>
>
> <nav>
>
> warn      52           Warning: discarding unexpected </nav>
>
> </nav>
>
> warn      57           Warning: <script> inserting "type" attribute
>
> <h2>Search Swift Code of any Bank in the World</h2>
>
> stop       70           Error: <gcse:search> is not recognized!; Warning:
> discarding unexpected <gcse:search>; Warning: discarding unexpected
> </gcse:search>
>
> <gcse:search></gcse:search>
>
> warn      81           Warning: <img> element not empty or not closed
>
> <img src="http://www.ignouacin.com/img/off1.ico" width="16" height="16"
> border="0" alt="Select Your Bank">
>
> warn      245         Warning: <img> element not empty or not closed
>
> <img src="http://www.ignouacin.com/img/off1.ico" width="16" height="16"
> border="0" alt="Select bank for sates list">
>
> warn      246         Warning: <select> anchor "selectid" already defined
>
> <select name="SelectURL"
> onChange="location.href=state.SelectURL.options[selectedIndex].value"
> id="selectid">
>
> warn      253         Warning: <img> element not empty or not closed
>
> <img src="http://www.ignouacin.com/img/off1.ico" width="16" height="16"
> border="0" alt="select state for districts list">
>
> warn      254         Warning: <select> anchor "selectid" already defined
>
> <select name="SelectURL"
> onChange="location.href=district.SelectURL.options[selectedIndex].value"
> id="selectid">
>
> warn      261         Warning: <img> element not empty or not closed
>
> <img src="http://www.ignouacin.com/img/off1.ico" width="16" height="16"
> border="0" alt="select district for branches">
>
> warn      262         Warning: <select> anchor "selectid" already defined
>
> <select name="SelectURL"
> onChange="location.href=branch.SelectURL.options[selectedIndex].value"
> id="selectid">
>
> warn      419         Warning: missing <li>
>
> <div style="clear: both;">
>
>
>
> Why do I get so many errors?
>
>
>
> Thanks
>
> Mazhar
>

Tidy parse only html markup based on a standard and is very good at his job.
But unfortunately Tidy do not understand of trends 2.0, nor understand the
attributes of Open Graph :)

-- 
Philipp Keweloh

Received on Friday, 11 July 2014 22:21:05 UTC