cvs: phpdoc-fr /reference/tidy constants.xml reference.xml
| From: | Vincent Briet | Date: | Sun, 12 Dec 2004 10:30:01 +0000 |
| Subject: | cvs: phpdoc-fr /reference/tidy constants.xml reference.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-3708@lists.php.net to get a copy of this message | ||
poz Sun Dec 12 05:30:01 2004 EDT
Modified files:
/phpdoc-fr/reference/tidy constants.xml reference.xml
Log:
Sync with EN
http://cvs.php.net/diff.php/phpdoc-fr/reference/tidy/constants.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc-fr/reference/tidy/constants.xml
diff -u phpdoc-fr/reference/tidy/constants.xml:1.4 phpdoc-fr/reference/tidy/constants.xml:1.5
--- phpdoc-fr/reference/tidy/constants.xml:1.4 Wed Aug 11 05:00:48 2004
+++ phpdoc-fr/reference/tidy/constants.xml Sun Dec 12 05:30:00 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.4 Maintainer: didou Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.5 Maintainer: didou Status: ready -->
<section id="tidy.constants">
&reftitle.constants;
&extension.constants;
@@ -155,7 +155,7 @@
<entry>TIDY_TAG_H5</entry>
</row>
<row>
- <entry>TIDY_TAG_6</entry>
+ <entry>TIDY_TAG_H6</entry>
</row>
<row>
<entry>TIDY_TAG_HEAD</entry>
http://cvs.php.net/diff.php/phpdoc-fr/reference/tidy/reference.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc-fr/reference/tidy/reference.xml
diff -u phpdoc-fr/reference/tidy/reference.xml:1.7 phpdoc-fr/reference/tidy/reference.xml:1.8
--- phpdoc-fr/reference/tidy/reference.xml:1.7 Fri Aug 13 03:53:03 2004
+++ phpdoc-fr/reference/tidy/reference.xml Sun Dec 12 05:30:00 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
-<!-- EN-Revision: 1.6 Maintainer: didou Status: ready -->
+<!-- $Revision: 1.8 $ -->
+<!-- EN-Revision: 1.7 Maintainer: didou Status: ready -->
<!-- Reviewed: no -->
<reference id="ref.tidy">
<title>Tidy</title>
@@ -33,9 +33,43 @@
</section>
&reference.tidy.constants;
-
+ <section id="tidy.examples">
+ &reftitle.examples;
+ <para>
+ Ce simple exemple montre l'utilisation de base de Tidy.
+ <example>
+ <title>Utilisation de base de Tidy</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+ob_start();
+?>
+<html>Un document html</html>
+<?
+$html = ob_get_clean();
+
+// Specify configuration
+$config = array(
+ 'indent' => true,
+ 'output-xhtml' => true,
+ 'wrap' => 200);
+
+// Tidy
+$tidy = new tidy;
+$tidy->parseString($html, $config, 'utf8');
+$tidy->cleanRepair();
+
+// Output
+echo $tidy;
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ </section>
</partintro>
- &reference.tidy.functions;
+
+ &reference.tidy.functions;
</reference>
<!-- Keep this comment at the end of the file
Local variables: