cvs: phpdoc /en/reference/net_gopher book.xml constants.xml examples.xml reference.xml setup.xml
| From: | Hannes Magnusson | Date: | Wed, 26 Dec 2007 14:24:54 +0000 |
| Subject: | cvs: phpdoc /en/reference/net_gopher book.xml constants.xml examples.xml reference.xml setup.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-834@lists.php.net to get a copy of this message | ||
bjori Wed Dec 26 14:24:54 2007 UTC
Modified files:
/phpdoc/en/reference/net_gopher book.xml examples.xml setup.xml
constants.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>
- Moved the constants entity to book.xml
- Changed constants.xml to be an appendix
- Moved the example to its own chapter (examples.xml)
NOTE: Renamed the net-gopher.examples section ID to net-gopher.examples-basic
The chapter is net-gopher.examples
- Moved the requirements, configuration and resources sections to setup.xml
NOTE: Added &no.requirement; to the requirements section
- Moved the configure entity to setup.xml
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/net_gopher/book.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/net_gopher/book.xml
diff -u /dev/null phpdoc/en/reference/net_gopher/book.xml:1.2
--- /dev/null Wed Dec 26 14:24:54 2007
+++ phpdoc/en/reference/net_gopher/book.xml Wed Dec 26 14:24:54 2007
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.2 $ -->
+<!-- Purpose: remote.other -->
+<!-- Membership: pecl -->
+
+<book xml:id="book.net-gopher" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>Net Gopher</title>
+
+ <!-- {{{ preface -->
+ <preface xml:id="intro.net-gopher">
+ &reftitle.intro;
+ <simpara>
+ The gopher protocol, as defined by <link xlink:href="&url.rfc;1436">RFC
1436</link>,
+ is generally considered the ancestor of the modern HTTP protocol.
+ However, gopher was also intended to provide references to non-gopher
+ resources including telnet, wais, nntp, and even http. This extension
+ adds gopher support to PHP's <link linkend="wrappers">URL
Wrappers</link>,
+ and provides a helper function <function>gopher_parsedir</function> to
+ make sense of gopher formatted directory listings.
+ </simpara>
+ </preface>
+ <!-- }}} -->
+
+ &reference.net-gopher.setup;
+ &reference.net-gopher.constants;
+ &reference.net-gopher.examples;
+ &reference.net-gopher.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/net_gopher/examples.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/net_gopher/examples.xml
diff -u /dev/null phpdoc/en/reference/net_gopher/examples.xml:1.2
--- /dev/null Wed Dec 26 14:24:54 2007
+++ phpdoc/en/reference/net_gopher/examples.xml Wed Dec 26 14:24:54 2007
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.2 $ -->
+
+<chapter xml:id="net-gopher.examples" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ &reftitle.examples;
+ <section xml:id="net-gopher.examples-basic">
+ <informalexample>
+ <programlisting role="php">
+<![CDATA[
+<?php
+readfile("gopher://gopher.example.com/somedocument");
+?>
+]]>
+ </programlisting>
+ </informalexample>
+ </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
+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/net_gopher/setup.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/net_gopher/setup.xml
diff -u /dev/null phpdoc/en/reference/net_gopher/setup.xml:1.2
--- /dev/null Wed Dec 26 14:24:54 2007
+++ phpdoc/en/reference/net_gopher/setup.xml Wed Dec 26 14:24:54 2007
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.2 $ -->
+
+<chapter xml:id="net-gopher.setup" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ &reftitle.setup;
+
+ <!-- {{{ Requirements -->
+ <section xml:id="net-gopher.requirements">
+ &reftitle.required;
+ &no.requirement;
+ </section>
+ <!-- }}} -->
+
+ <!-- {{{ Installation -->
+ &reference.net-gopher.configure;
+ <!-- }}} -->
+
+ <!-- {{{ Configuration -->
+ <section xml:id="net-gopher.configuration">
+ &reftitle.runtime;
+ &no.config;
+ </section>
+ <!-- }}} -->
+
+ <!-- {{{ Resources -->
+ <section xml:id="net-gopher.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/net_gopher/constants.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/net_gopher/constants.xml
diff -u phpdoc/en/reference/net_gopher/constants.xml:1.2
phpdoc/en/reference/net_gopher/constants.xml:1.3
--- phpdoc/en/reference/net_gopher/constants.xml:1.2 Wed Jun 20 22:25:03 2007
+++ phpdoc/en/reference/net_gopher/constants.xml Wed Dec 26 14:24:54 2007
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<section xml:id="net-gopher.constants" xmlns="http://docbook.org/ns/docbook">
+<!-- $Revision: 1.3 $ -->
+<appendix xml:id="net-gopher.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<table>
@@ -64,7 +64,7 @@
</tbody>
</tgroup>
</table>
- </section>
+ </appendix>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/net_gopher/reference.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/net_gopher/reference.xml
diff -u phpdoc/en/reference/net_gopher/reference.xml:1.5
phpdoc/en/reference/net_gopher/reference.xml:1.6
--- phpdoc/en/reference/net_gopher/reference.xml:1.5 Mon Dec 10 17:06:06 2007
+++ phpdoc/en/reference/net_gopher/reference.xml Wed Dec 26 14:24:54 2007
@@ -1,60 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- Purpose: remote.other -->
-<!-- Membership: pecl -->
+<!-- $Revision: 1.6 $ -->
<reference xml:id="ref.net-gopher" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Net_Gopher</title>
<titleabbrev>gopher</titleabbrev>
- <partintro>
- <section xml:id="net-gopher.intro">
- &reftitle.intro;
- <simpara>
- The gopher protocol, as defined by <link xlink:href="&url.rfc;1436">RFC
1436</link>,
- is generally considered the ancestor of the modern HTTP protocol.
- However, gopher was also intended to provide references to non-gopher
- resources including telnet, wais, nntp, and even http. This extension
- adds gopher support to PHP's <link linkend="wrappers">URL
Wrappers</link>,
- and provides a helper function <function>gopher_parsedir</function> to
- make sense of gopher formatted directory listings.
- </simpara>
- </section>
-
- <section xml:id="net-gopher.requirements">
- &reftitle.required;
- <para>
- </para>
- </section>
-
- &reference.net-gopher.configure;
-
- <section xml:id="net-gopher.configuration">
- &reftitle.runtime;
- &no.config;
- </section>
-
- <section xml:id="net-gopher.resources">
- &reftitle.resources;
- &no.resource;
- </section>
-
- &reference.net-gopher.constants;
-
- <section xml:id="net-gopher.examples">
- &reftitle.examples;
- <informalexample>
- <programlisting role="php">
-<![CDATA[
-<?php
-readfile("gopher://gopher.example.com/somedocument");
-?>
-]]>
- </programlisting>
- </informalexample>
- </section>
- </partintro>
-
&reference.net-gopher.entities.functions;
</reference>