Re: Tidy and French language

Chris von Rosenvinge <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <p06240501c21efd4635c5@[172.16.1.33]>
I used BBEdit Tidy, followed by BBEdit Utilities>Translate, to 
produce the attached file. The language is still French, but Tidy 
seems to have done its job. Tidy reported a number of errors (see 
TidyResults.txt) that were hard to track, but these were cleared up 
after using Translate. Tidy gave several warnings: marquee is not 
recognized by the W3C and the tables lack summaries. Tidy didn't 
recognize or correct '<script langage="Javascript" ' ("langage" 
should be English "language"), but apparently it doesn't matter to 
the performance of the script.

At 11:26 AM +0000 3/15/07, Dave Raggett wrote:
>I am no longer involved with work on tidy and recommend you provide 
>your feedback on the HTML Tidy list, and have copied my response 
>there for your convenience. It sounds like problem with the use of 
>the command line options.
>
>  Dave Raggett <[email protected]> http://www.w3.org/People/Raggett
>
>On Wed, 14 Mar 2007, Jean-Philippe COMBE wrote:
>
>>Hello,
>>
>>I would to use your tidy program to clean html code but
>>I can't make it work for french language. I have try to
>>add :
>>language: latin1 in a cfg file -> doesn't work
>>-latin1 on the command line -> doesnt work
>>
>>also, it modify the way Marquee works.
>>
>>you can test on my web page :
>>http://www.linux-cest-cool.org/maison/index.html
>>
>>thanks
>>
>>Best regards
>>
>>Jean-Philippe Combe
index-complete.htm (text/html, 14.5 KB)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 
Transitional//EN">
<html>
<head>
    <meta http-equiv="content-type" 
content="text/html; charset=iso-8859-1">
    <title>Restauration 
d'une ferme Bressane</title>
    <meta content="Mezigues en chorte 
sous Linux" name="author">
    <meta content="Restauration ferme 
bressane" name="description">
    <meta name="KEYWORDS" 
content="maison ecologique,restauration ferme bressane,adobes,terre 
crue,colombage,chaux,restauration maison,restauration 
bio,ecologie,materiaux bio,briques,terre 
crue,autoconstruction,ecoconstruction">
    <meta name="robots" 
content="all">
<script language="Javascript" 
type="text/javascript">
function ouvrir(fichier,fenetre) 
{
ff=window.open(fichier,fenetre,"width=640,height=800,left=30,top=20,scrollbars=yes") 
}
</script>
</head>
<body style="background-image: url(fond.jpg);">
 
<table style="text-align: left; width: 100%;" border="1" 
cellpadding="2" cellspacing="2">
        <tbody>
            <tr>
 
<td style="width: 640px;"><img style="width: 640px; height: 480px;" 
alt="Fa&ccedil;ade Est" src="Dfacade_est1.jpg"></td>
 
<td><big><big><big><span style="font-weight: bold;">Restauration 
d'une ferme Bressane</span></big></big></big></td>
            </tr>
 
</tbody>
    </table>
    <p align="center"><marquee 
behavior="scroll" direction="up" scrollamount="1" scrolldelay="1" 
onmouseover="this.stop()" onmouseout="this.start()" style="border: 
0px solid rgb(180, 193, 211); padding: 5px; height: 50px; width: 
1000px;" height="50">En ce moment je bosse dur dans la maison.<br>
 
Il y aura donc des mises &agrave; jour plus 
souvent...<br></marquee></p>
    <table style="text-align: left; 
width: 100%;" border="1" cellpadding="2" cellspacing="2">
 
<tbody>
            <tr>
                <td 
align="center"><em><strong>Derni&egrave;re modif</strong></em></td>
 
<td>&nbsp; &nbsp;<strong><em>Chapitre</em></strong></td>
 
</tr>
            <tr>
                <td style="width: 220px;">
 
- <font color="#000000">ok<br>
                    - ok<br>
 
-</font> <font color="#000000">22 d&eacute;cembre 2006<br>
 
- 11 d&eacute;cembre 2006<br>
                    -</font> <font 
color="#000000">23 d&eacute;cembre 2006<br>
 
-<br>
                    -<br>
                    -</font> <font 
color="#000000">9 juin, pilier 2 bient&ocirc;t<br>
 
-<br></font> <font color="#000000">-</font><font 
color="#000000">&nbsp;13 juin 2006<br>
                    - 9 
septembre 2006<br>
                    -</font> <font 
color="#000000">08 juin 2006<br>
                    - 22 mai 
2006<br>
                    -&nbsp;22 mai 2006<br>
 
-</font> <font color="#000000">17 d&eacute;cembre 2006<br>
 
- <font color="#FF0000">12 mars 2007</font></font>
 
<hr>
                    <font color="#000000">-</font> <font 
color="#FF0000"><font color="#000000">24 aout 2006</font><br></font>
 
<hr>
                    <font color="#FF0000">- <font 
color="#000000">9 septembre 06</font></font>
                </td>
 
<td>
                    - <a href="plan_origine.html">Le plan 
d'origine</a><br>
                    - <a href="plan_fini.html">Le 
plan de ce que nous voulons en faire</a><br>
                    - <a 
href="trav_init.html">Mise &agrave; nu des murs int&eacute;rieurs, 
d&eacute;montage de la chemin&eacute;e, d&eacute;montage des 
sols</a><br>
                    - <a href="cave.html">La 
cave</a><br>
                    - <a 
href="decaissage.html">D&eacute;caissage des pi&egrave;ces</a><br>
 
- Ouverture dans le mur en pierres<br>
                    - 
Ouverture dans le mur en m&acirc;chefer<br>
                    - <a 
href="pilier1.html">Montage des piliers de renforts</a><br>
 
- Modifications des fen&ecirc;tres<br>
                    - <a 
href="mur_sdb.html">Mur ext&eacute;rieur de la salle de bain</a><br>
 
- <a href="mur_adobes_sdb.html">Doublage du mur ext&eacute;rieur de 
la salle de bain avec de la fibre de bois et des adobes</a><br>
 
- <a href="escalier1.html">La mont&eacute;e d'escaliers &agrave; 
c&ocirc;t&eacute; de la salle de bain.</a><br>
                    - 
<a href="chaufferie.html">La chaufferie</a><br>
                    - 
<a href="adobes.html">La r&eacute;alisation des adobes pour doubler 
les murs.</a><br>
                    - <a 
href="mur_chambres_enfants.html">R&eacute;novation du mur 
des&nbsp;chambres des enfants en colombage</a><br>
 
- <a href="interieur_chambres_enfants.html">Cr&eacute;ation des deux 
chambres des enfants dans une grande pi&egrave;ce.</a><br>
 
<hr>
                    - <a href="caravane.html">La 
caravane</a><br>
                    <hr>
                    - <a 
href="enduit_chanvre_coligny.html">La r&eacute;alisation en image 
d'un enduit isolant chaux et chanvre chez une personne de la 
famille</a>
                </td>
            </tr>
        </tbody>
 
</table><br>
    <table border="0" cellpadding="2" cellspacing="2" 
width="100%">
        <tbody>
            <tr>
                <td 
colspan="1" rowspan="2"><a href="mailto:[email protected]"><img alt="" 
src="mail98.gif" border="0" height="102" width="104"></a></td>
 
<td>Si vous trouvez que les mises &agrave; jour ne sont pas assez 
fr&eacute;quentes ou vous souhaiteriez voir traiter ou approfondir un 
sujet pr&eacute;cis ou tout autre demande, n'h&eacute;sitez pas 
&agrave; nous le faire savoir, c'est l'int&eacute;ractivit&eacute; 
qui motive !<br>
                <br>
                Janfi<br></td>
 
<td></td>
                <td colspan="1" rowspan="2" 
align="right">&nbsp;<img alt="S&eacute;rieux et comp&eacute;tant" 
src="PUBmeunier.jpg" align="middle" border="0" height="151" 
width="250"></td>
            </tr>
            <tr>
 
<td><a href="mailto:[email protected]">Ecrivez nous, &ccedil;a nous 
fera plaisir.</a></td>
                <td></td>
            </tr>
 
</tbody>
    </table><br>
    <table border="0" cellpadding="2" 
cellspacing="2" width="100%">
        <tbody>
            <tr>
 
<th colspan="2" rowspan="1" bgcolor="#FFFF00">MES RECETTES (bien 
d'autres vont suivrent, le temps de les r&eacute;diger...)</th>
 
</tr>
            <tr>
                <td><a 
href="badigeon_chaux.html" target="popup" 
onclick="ouvrir(this.href,this.target);return false">Badigeon 
&agrave; la chaux</a> pour peindre sur les enduits &agrave; la 
chaux</td>
                <td colspan="1" rowspan="2" 
align="right"><a href="mailto:[email protected]"><img alt="Votre 
publicit&eacute; sur mon site" src="pub.jpg" border="0" height="130" 
width="250"></a><br></td>
            </tr>
            <tr>
 
<td></td>
            </tr>
            <tr>
 
<td></td>
                <td align="right"></td>
            </tr>
 
</tbody>
    </table><br>
    <table border="0" cellpadding="2" 
cellspacing="2" width="100%">
        <tbody>
            <tr 
align="center">
                <th bgcolor="#FFFF00"><strong>LIENS 
UTILES</strong></th>
            </tr>
            <tr>
 
<td><a href="http://www.tiez-breiz.org/plandu.htm" 
target="_blank">Tiez-Breiz : Le site duquel vous allez apprendre 
comment on restaure le patrimoine</a></td>
            </tr>
 
<tr>
                <td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=x&amp;cld=&amp;fiche=149#resultats" 
target="_blank">Choisir un enduit (fiche BHV)</a></td>
 
</tr>
            <tr>
                <td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=b&amp;cld=&amp;fiche=145#resultats" 
target="_blank">R&eacute;aliser un enduit chaux sur mur ancien (fiche 
BHV)</a></td>
            </tr>
            <tr>
 
<td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=b&amp;cld=&amp;fiche=81#resultats" 
target="_blank">Les laits de chaux, badigeons, eaux fortes, patines 
(fiche BHV)</a></td>
            </tr>
            <tr>
 
<td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=b&amp;cld=&amp;fiche=107#resultats" 
target="_blank">Les chaux naturelles (fiche BHV)</a></td>
 
</tr>
            <tr>
                <td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=x&amp;cld=&amp;fiche=212#resultats" 
target="_blank">Formuler des badigeons ou collatures (fiche 
BHV)</a></td>
            </tr>
            <tr>
 
<td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=x&amp;cld=&amp;fiche=298#resultats" 
target="_blank">R&eacute;aliser des joints &agrave; la chaux (fiche 
BHV)</a></td>
            </tr>
            <tr>
 
<td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=x&amp;cld=&amp;fiche=153#resultats" 
target="_blank">R&eacute;aliser un enduit d&eacute;coratif "Maison" 
(fiche BHV)</a></td>
            </tr>
            <tr>
 
<td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=x&amp;cld=&amp;fiche=211#resultats" 
target="_blank">Formuler des enduits fins (fiche BHV)</a></td>
 
</tr>
            <tr>
                <td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=x&amp;cld=&amp;fiche=154#resultats" 
target="_blank">Les peintures, badigeons de chaux sur supports 
modernes, pierres naturelles et bois (fiche BHV)</a></td>
 
</tr>
            <tr>
                <td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=x&amp;cld=&amp;fiche=349#resultats" 
target="_blank">Les enduits fouett&eacute;s (fiche BHV)</a></td>
 
</tr>
            <tr>
                <td></td>
            </tr>
 
<tr>
                <td><a 
href="http://www.freymille.com/tadel_stuc_marmo.htm" 
target="_blank">Tadelack, Mormorino, stuc de Mantoue</a></td>
 
</tr>
            <tr>
                <td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=x&amp;cld=&amp;fiche=213#resultats" 
target="_blank">Formuler des Stucs (fiche BHV)</a></td>
 
</tr>
            <tr>
                <td><a 
href="http://decobruz.over-blog.com/" target="_blank">Un tr&egrave;s 
beau site sur la chaux</a></td>
            </tr>
            <tr>
 
<td></td>
            </tr>
            <tr>
                <td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=b&amp;cld=&amp;fiche=92#resultats" 
target="_blank"><font class="TitreFiches">Pr&eacute;paration, 
traitement et entretien des terres cuites (fiche 
BHV)</font></a></td>
            </tr>
            <tr>
 
<td><a href="http://maison.tregor.org/notice.htm" 
target="_blank">Pose de carreaux de terre cuite sur dalle 
fra&icirc;che</a></td>
            </tr>
            <tr>
 
<td></td>
            </tr>
            <tr>
                <td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=b&amp;cld=&amp;fiche=167#resultats" 
target="_blank"><font class="TitreFiches">Pose de volets bois (fiche 
BHV)</font></a></td>
            </tr>
            <tr>
 
<td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=r&amp;cld=&amp;fiche=287#resultats" 
target="_blank">Entretien du bois : Recette "Maison" (fiche 
BHV)</a></td>
            </tr>
            <tr>
 
<td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=r&amp;cld=&amp;fiche=118#resultats" 
target="_blank">Traitement du bois (fiche BHV)</a></td>
 
</tr>
            <tr>
                <td></td>
            </tr>
 
<tr>
                <td><a 
href="http://www.cyberbricoleur.com/?r=fiches&amp;qf=&amp;p=1&amp;cat=r&amp;cld=&amp;fiche=28#resultats" 
target="_blank">Choisir et ranger le bois de chauffage (fiche 
BHV)</a></td>
            </tr>
            <tr>
 
<td></td>
            </tr>
            <tr>
                <td><a 
href="http://dotapea.siteinternet.com/caseine.htm" target="_blank">La 
cas&eacute;&iuml;ne</a></td>
            </tr>
            <tr>
 
<td></td>
            </tr>
            <tr>
                <td><a 
href="http://bigardiere.over-blog.com/" target="_blank">Le blog de 
Will : la restauration d'une fermette g&acirc;tinaise</a></td>
 
</tr>
            <tr>
                <td><a 
href="http://maison.tregor.org/index.htm" rel="tag">Restauration 
d'une maison Tr&eacute;gorroise</a></td>
            </tr>
 
<tr>
                <td><a 
href="http://www.inti.be/ecotopie/biobat.html" target="_blank">Site 
contenant des liens int&eacute;ressants</a></td>
            </tr>
 
<tr>
                <td><a 
href="http://pierresvivantes.over-blog.com/" target="_blank">Pierres 
Vivantes, une restauration de maison vignerone dans le Jura</a></td>
 
</tr>
            <tr>
                <td><a 
href="http://bee.ouvaton.org/rub.php3?id_rubrique=39" 
target="_blank">Exemples de r&eacute;alisations (Be&amp;e)</a></td>
 
</tr>
            <tr>
                <td></td>
            </tr>
 
<tr>
                <td><a 
href="http://membres.lycos.fr/gwquark/mastics.htm" 
target="_blank">Vieilles recettes oubli&eacute;es : Un site 
extraordinaire !</a></td>
            </tr>
            <tr>
 
<td><a href="http://www.meublepeint.com/cire-d-abeille.htm" 
target="_blank">Utilisation de la cire d'abeille</a></td>
 
</tr>
            <tr>
                <td><a 
href="http://www.decofinder.com/decofinder/_daz/_MURS/peinture_faire_ideesmaison.htm" 
target="_blank">Faire sa peinture</a></td>
            </tr>
 
<tr>
                <td></td>
            </tr>
            <tr>
 
<td><a href="http://www.ideesmaison.com/construc/sec/normelec.htm" 
target="_blank">Un bon r&eacute;sum&eacute; des normes 
&eacute;lectriques pour la maison</a></td>
            </tr>
 
<tr>
                <td><a 
href="http://www.hager.fr/menu/produits/reglementation/800-95.htm" 
target="_blank">Le site HagerGroup (&eacute;lectricit&eacute;)</a> 
&nbsp;et <a 
href="http://www.hager.fr/files/download/0/45_1/0/habitat_guide_technique_ZD218i_06.pdf">son 
PDF sur la norme</a></td>
            </tr>
            <tr>
 
<td><a 
href="http://www.leroymerlin.fr/mpng2-front/pre?zone=zonecatalogue&amp;idLSPub=1053592003" 
target="_blank">Une page int&eacute;ressante sur la 
s&eacute;curit&eacute; &eacute;lectrique chez Leroy Merlin</a></td>
 
</tr>
            <tr>
                <td></td>
            </tr>
 
<tr>
                <td><a 
href="http://www.eautarcie.com/index.html" target="_blank">La 
valorisation de l&rsquo;eau de pluie,&nbsp;L&rsquo;&eacute;puration 
des eaux us&eacute;es domestiques, &nbsp;Toilettes s&egrave;ches : 
eautarcie</a></td>
            </tr>
        </tbody>
    </table><a 
href="http://www.nvu.com"><img alt="Document made with Nvu" 
src="http://www.nvu.com/images/madewithNvu80x15clear.png" 
border="0"></a><br>
    <script type="text/javascript" 
src="http://www.123compteur.com/compteurjour.php?votre_id=185074">
</script><noscript><a 
href="http://www.123compteur.com" 
target="_blank">compteur</a></noscript>
</body>
</html>
TidyResults.txt (text/plain, 672 B)
Ôªøindex.html:40:  <marquee> is not approved by W3C
index.html:42:  inserting implicit <marquee>
index.html:45:  discarding unexpected </marquee>
index.html:78:  missing </font> before <hr>
index.html:79:  inserting implicit <font>
index.html:17:  <script> proprietary attribute "langage"
index.html:17:  <script> inserting "type" attribute
index.html:25:  <table> lacks "summary" attribute
index.html:48:  <table> lacks "summary" attribute
index.html:129:  <table> lacks "summary" attribute
index.html:163:  <table> lacks "summary" attribute
index.html:195:  <table> lacks "summary" attribute
index.html:40:  trimming empty <marquee>
index.html:67:  trimming empty <font>
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.