cvs: phpdoc /en/reference/mime_magic book.xml constants.xml reference.xml setup.xml
| From: | Hannes Magnusson | Date: | Wed, 26 Dec 2007 13:31:55 +0000 |
| Subject: | cvs: phpdoc /en/reference/mime_magic book.xml constants.xml reference.xml setup.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-815@lists.php.net to get a copy of this message | ||
bjori Wed Dec 26 13:31:55 2007 UTC
Modified files:
/phpdoc/en/reference/mime_magic book.xml constants.xml setup.xml
reference.xml
Log:
MFB: Upgrade to the new-reference-structure
- (Created missing setup sections in setup.xml, if any)
- Moved the intro to book.xml
- Changed the intro ID from <extname>.intro to intro.<extname>
- Created empty constants.xml appendix
- Moved the requirements and resources sections to setup.xml
- Moved the configure and ini entities to setup.xml
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mime_magic/book.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/mime_magic/book.xml
diff -u /dev/null phpdoc/en/reference/mime_magic/book.xml:1.2
--- /dev/null Wed Dec 26 13:31:54 2007
+++ phpdoc/en/reference/mime_magic/book.xml Wed Dec 26 13:31:54 2007
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.2 $ -->
+<!-- Purpose: fileprocess.file -->
+<!-- Membership: bundled -->
+<!-- State: deprecated -->
+
+<book xml:id="book.mime-magic" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>Mimetype</title>
+
+ <!-- {{{ preface -->
+ <preface xml:id="intro.mime-magic">
+ &reftitle.intro;
+ <warning>
+ <para>
+ This extension has been deprecated as the PECL extension
+ <link linkend="book.fileinfo">Fileinfo</link>
+ provides the same functionality (and more) in a much cleaner way.
+ </para>
+ </warning>
+ <para>
+ The functions in this module try to guess the content type
+ and encoding of a file by looking for certain
+ <emphasis>magic</emphasis> byte sequences at specific
+ positions within the file. While this is not a bullet proof
+ approach the heuristics used do a very good job.
+ </para>
+ <para>
+ This extension is derived from Apache mod_mime_magic,
+ which is itself based on the <filename>file</filename>
+ command maintained by Ian F. Darwin. See the source code for
+ further historic and copyright information.
+ </para>
+ </preface>
+ <!-- }}} -->
+
+ &reference.mime-magic.setup;
+ &reference.mime-magic.constants;
+ &reference.mime-magic.reference;
+
+</book>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mime_magic/constants.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/mime_magic/constants.xml
diff -u /dev/null phpdoc/en/reference/mime_magic/constants.xml:1.2
--- /dev/null Wed Dec 26 13:31:54 2007
+++ phpdoc/en/reference/mime_magic/constants.xml Wed Dec 26 13:31:54 2007
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.2 $ -->
+
+<appendix xml:id="mime-magic.constants" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ &reftitle.constants;
+ &no.constants;
+</appendix>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mime_magic/setup.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/mime_magic/setup.xml
diff -u /dev/null phpdoc/en/reference/mime_magic/setup.xml:1.2
--- /dev/null Wed Dec 26 13:31:55 2007
+++ phpdoc/en/reference/mime_magic/setup.xml Wed Dec 26 13:31:54 2007
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.2 $ -->
+
+<chapter xml:id="mime-magic.setup" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ &reftitle.setup;
+
+ <!-- {{{ Requirements -->
+ <section xml:id="mime-magic.requirements">
+ &reftitle.required;
+ &no.requirement;
+ </section>
+ <!-- }}} -->
+
+ <!-- {{{ Installation -->
+ &reference.mime-magic.configure;
+ <!-- }}} -->
+
+ <!-- {{{ Configuration -->
+ &reference.mime-magic.ini;
+ <!-- }}} -->
+
+ <!-- {{{ Resources -->
+ <section xml:id="mime-magic.resources">
+ &reftitle.resources;
+ &no.resource;
+ </section>
+ <!-- }}} -->
+
+</chapter>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
+
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mime_magic/reference.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/mime_magic/reference.xml
diff -u phpdoc/en/reference/mime_magic/reference.xml:1.10
phpdoc/en/reference/mime_magic/reference.xml:1.11
--- phpdoc/en/reference/mime_magic/reference.xml:1.10 Mon Dec 10 17:06:05 2007
+++ phpdoc/en/reference/mime_magic/reference.xml Wed Dec 26 13:31:54 2007
@@ -1,62 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
-<!-- Purpose: fileprocess.file -->
-<!-- Membership: bundled -->
-<!-- State: deprecated -->
+<!-- $Revision: 1.11 $ -->
- <reference xml:id="ref.mime-magic" xmlns="http://docbook.org/ns/docbook">
- <title>Mimetype Functions</title>
- <titleabbrev>Mimetype</titleabbrev>
+<reference xml:id="ref.mime-magic" xmlns="http://docbook.org/ns/docbook">
+ <title>Mimetype &Functions;</title>
+ <titleabbrev>Mimetype</titleabbrev>
- <partintro>
- <section xml:id="mime-magic.intro">
- &reftitle.intro;
- <warning>
- <para>
- This extension has been deprecated as the PECL extension
- <link linkend="ref.fileinfo">Fileinfo</link>
- provides the same functionality (and more) in a much cleaner way.
- </para>
- </warning>
- <para>
- The functions in this module try to guess the content type
- and encoding of a file by looking for certain
- <emphasis>magic</emphasis> byte sequences at specific
- positions within the file. While this is not a bullet proof
- approach the heuristics used do a very good job.
- </para>
- <para>
- This extension is derived from Apache mod_mime_magic,
- which is itself based on the <filename>file</filename>
- command maintained by Ian F. Darwin. See the source code for
- further historic and copyright information.
- </para>
- </section>
+ &reference.mime-magic.entities.functions;
- <section xml:id="mime-magic.requirements">
- &reftitle.required;
- &no.requirement;
- </section>
+</reference>
- &reference.mime-magic.configure;
-
- &reference.mime-magic.ini;
-
- <section xml:id="mime-magic.resources">
- &reftitle.resources;
- &no.resource;
- </section>
-
- <section xml:id="mime-magic.constants">
- &reftitle.constants;
- &no.constants;
- </section>
-
- </partintro>
-
-&reference.mime-magic.entities.functions;
-
- </reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml