cvs: phpdoc /en/reference/yaz reference.xml

From: Date: Sat, 20 Jul 2002 12:26:42 +0000
Subject: cvs: phpdoc /en/reference/yaz reference.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969347432@lists.php.net to get a copy of this message
goba Sat Jul 20 08:26:42 2002 EDT Modified files: /phpdoc/en/reference/yaz reference.xml Log: Apply new structure Index: phpdoc/en/reference/yaz/reference.xml diff -u phpdoc/en/reference/yaz/reference.xml:1.2 phpdoc/en/reference/yaz/reference.xml:1.3 --- phpdoc/en/reference/yaz/reference.xml:1.2 Mon Apr 15 17:57:30 2002 +++ phpdoc/en/reference/yaz/reference.xml Sat Jul 20 08:26:41 2002 @@ -1,45 +1,46 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <reference id="ref.yaz"> <title>YAZ functions</title> <titleabbrev>YAZ</titleabbrev> + <partintro> <section id="yaz.intro"> - <title>Introduction</title> - <para> - This extension offers a PHP interface to the - <productname>YAZ</productname> toolkit that implements the Z39.50 - protocol for information retrieval. With this extension you can easily - implement a Z39.50 origin (client) that searches or scans Z39.50 - targets (servers) in parallel. - </para> - <para> - <productname>YAZ</productname> is available at <ulink - url="&url.yaz;">&url.yaz;</ulink>. You can find news information, - example scripts, etc. for this extension at <ulink - url="&url.yaz-phpyaz;">&url.yaz-phpyaz;</ulink>. - </para> - <para> - The module hides most of the complexity of Z39.50 so it should be - fairly easy to use. It supports persistent stateless connections very - similar to those offered by the various SQL APIs that are available - for PHP. This means that sessions are stateless but shared amongst - users, thus saving the connect and initialize phase steps in most - cases. - </para> + &reftitle.intro; + <para> + This extension offers a PHP interface to the + <productname>YAZ</productname> toolkit that implements the Z39.50 + protocol for information retrieval. With this extension you can easily + implement a Z39.50 origin (client) that searches or scans Z39.50 + targets (servers) in parallel. + </para> + <para> + The module hides most of the complexity of Z39.50 so it should be + fairly easy to use. It supports persistent stateless connections very + similar to those offered by the various SQL APIs that are available + for PHP. This means that sessions are stateless but shared amongst + users, thus saving the connect and initialize phase steps in most + cases. + </para> + <para> + <productname>YAZ</productname> is available at <ulink + url="&url.yaz;">&url.yaz;</ulink>. You can find news information, + example scripts, etc. for this extension at <ulink + url="&url.yaz-phpyaz;">&url.yaz-phpyaz;</ulink>. + </para> </section> - <section id="yaz.install"> - <title>Installation</title> - <para> - Compile YAZ and install it. Build PHP with your favourite - modules and add option - <link linkend="install.configure.with-yaz"><option role="configure"> - --with-yaz</option></link>. - Your task is roughly the following: - </para> - <para> - <informalexample> - <programlisting role="shell"> + + <section id="yaz.installation"> + &reftitle.install; + <para> + Compile YAZ and install it. Build PHP with your favourite + modules and add option + <link linkend="install.configure.with-yaz">--with-yaz</link>. + Your task is roughly the following: + </para> + <para> + <informalexample> + <programlisting role="shell"> <![CDATA[ gunzip -c yaz-1.6.tar.gz|tar xf - gunzip -c php-4.0.X.tar.gz|tar xf - @@ -52,27 +53,43 @@ make make install ]]> - </programlisting> - </informalexample> - </para> + </programlisting> + </informalexample> + </para> </section> - <section id="yaz.example"> - <title>Example</title> - <para> - PHP/YAZ keeps track of connections with targets - (Z-Associations). A positive integer represents the ID of a - particular association. - </para> - <para> - <example> - <title><function>Parallel searching using YAZ</function></title> - <simpara> - The script below demonstrates the parallel searching feature of - the API. When invoked with no arguments it prints a query form; else - (arguments are supplied) it searches the targets as given in in array - host. - </simpara> - <programlisting role="php"> + + <section id="yaz.configuration"> + &reftitle.runtime; + &no.config; + </section> + + <section id="yaz.resources"> + &reftitle.resources; + &no.resource; + </section> + + <section id="yaz.constants"> + &reftitle.constants; + &no.constants; + </section> + + <section id="yaz.examples"> + &reftitle.examples; + <para> + PHP/YAZ keeps track of connections with targets + (Z-Associations). A positive integer represents the ID of a + particular association. + </para> + <para> + <example> + <title><function>Parallel searching using YAZ</function></title> + <simpara> + The script below demonstrates the parallel searching feature of + the API. When invoked with no arguments it prints a query form; else + (arguments are supplied) it searches the targets as given in in array + host. + </simpara> + <programlisting role="php"> <![CDATA[ $num_hosts = count ($host); if (empty($term) || count($host) == 0) { @@ -120,9 +137,9 @@ } } ]]> - </programlisting> - </example> - </para> + </programlisting> + </example> + </para> </section> </partintro>

« previous php.doc (#969347432) next »