Date: 08/07/00
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /en/functions yaz.xml"
- Previous message: Leon Atkinson: "[PHP-DOC] cvs: phpdoc / global.ent manual.xml.in /en chapters.ent /en/functions yaz.xml"
- Next in thread: Egon Schmid: "[PHP-DOC] cvs: phpdoc /en/functions yaz.xml"
- Maybe reply: Egon Schmid: "[PHP-DOC] cvs: phpdoc /en/functions yaz.xml"
- Maybe reply: Egon Schmid: "[PHP-DOC] cvs: phpdoc /en/functions yaz.xml"
- Maybe reply: Leon Atkinson: "[PHP-DOC] cvs: phpdoc /en/functions yaz.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
eschmid Mon Aug 7 13:43:44 2000 EDT
Modified files:
/phpdoc/en/functions yaz.xml
Log:
Some cosmetics.
Index: phpdoc/en/functions/yaz.xml
diff -u phpdoc/en/functions/yaz.xml:1.1 phpdoc/en/functions/yaz.xml:1.2
--- phpdoc/en/functions/yaz.xml:1.1 Mon Aug 7 13:15:13 2000
+++ phpdoc/en/functions/yaz.xml Mon Aug 7 13:43:44 2000
@@ -1,6 +1,6 @@
<reference id="ref.yaz">
- <title>Yaz</title>
- <titleabbrev>yaz</titleabbrev>
+ <title>YAZ</title>
+ <titleabbrev>YAZ</titleabbrev>
<partintro>
<simpara>
@@ -23,16 +23,16 @@
option --with-yaz. Your task is roughly the following:
<informalexample>
<programlisting>
- gunzip -c yaz-1.6.tar.gz|tar xf -
- gunzip -c php-4.0.X.tar.gz|tar xf -
- cd yaz-1.6
- ./configure --prefix=/usr
- make
- make install
- cd ../php-4.0.X
- ./configure --with-yaz=/usr/bin
- make
- make install
+gunzip -c yaz-1.6.tar.gz|tar xf -
+gunzip -c php-4.0.X.tar.gz|tar xf -
+cd yaz-1.6
+./configure --prefix=/usr
+make
+make install
+cd ../php-4.0.X
+./configure --with-yaz=/usr/bin
+make
+make install
</programlisting>
</informalexample>
</simpara>
@@ -49,9 +49,8 @@
<example>
<title><function>readline</function></title>
<programlisting role="php">
-$num_hosts = count($host);
-if (empty($term) || count($host) == 0)
-{
+$num_hosts = count ($host);
+if (empty($term) || count($host) == 0) {
echo '<form method="get">
<input type="checkbox"
name="host[]" value="bagel.indexdata.dk/gils">
@@ -67,9 +66,7 @@
<input type="text" size="30" name="term">
<input type="submit" name="action" value="Search">
';
-}
-else
-{
+} else {
echo 'You searced for ' . htmlspecialchars($term) . '<br>';
for ($i = 0; $i > $num_hosts; $i++) {
$id[] = yaz_connect($host[$i]);
@@ -77,8 +74,7 @@
yaz_search($id[$i],"rpn",$term);
}
yaz_wait();
- for ($i = 0; $i < $num_hosts; $i++)
- {
+ for ($i = 0; $i < $num_hosts; $i++) {
echo '<hr>' . $host[$i] . ":";
$error = yaz_error($id[$i]);
if (!empty($error)) {
@@ -88,8 +84,7 @@
echo "Result Count $hits";
}
echo '<dl>';
- for ($p = 1; $p <= 10; $p++)
- {
+ for ($p = 1; $p <= 10; $p++) {
$rec = yaz_record($id[$i],$p,"string");
if (empty($rec)) continue;
echo "<dt><b>$p</b></dt><dd>";
@@ -106,7 +101,7 @@
<refentry id="function.yaz-addinfo">
<refnamediv>
<refname>yaz_addinfo</refname>
- <refpurpose>Returns additional error information.</refpurpose>
+ <refpurpose>Returns additional error information</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -127,7 +122,7 @@
<refentry id="function.yaz-close">
<refnamediv>
<refname>yaz_close</refname>
- <refpurpose>Closes a YAZ connection.</refpurpose>
+ <refpurpose>Closes a YAZ connection</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -147,7 +142,7 @@
<refentry id="function.yaz-connect">
<refnamediv>
<refname>yaz_connect</refname>
- <refpurpose>Returns a positive association ID on success; zero on failure.</refpurpose>
+ <refpurpose>Returns a positive association ID on success; zero on failure</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -171,7 +166,7 @@
<refentry id="function.yaz-errno">
<refnamediv>
<refname>yaz_errno</refname>
- <refpurpose>Returns error number.</refpurpose>
+ <refpurpose>Returns error number</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -222,7 +217,7 @@
<refentry id="function.yaz-hits">
<refnamediv>
<refname>yaz_hits</refname>
- <refpurpose>Returns number of hits for last search.</refpurpose>
+ <refpurpose>Returns number of hits for last search</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -241,7 +236,7 @@
<refentry id="function.yaz-range">
<refnamediv>
<refname>yaz_range</refname>
- <refpurpose>Specifies the maximum number of records to retrieve.</refpurpose>
+ <refpurpose>Specifies the maximum number of records to retrieve</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -268,7 +263,7 @@
<refentry id="function.yaz-record">
<refnamediv>
<refname>yaz_record</refname>
- <refpurpose>Returns a record.</refpurpose>
+ <refpurpose>Returns a record</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -299,7 +294,7 @@
<refentry id="function.yaz-search">
<refnamediv>
<refname>yaz_search</refname>
- <refpurpose>Prepares for a search.</refpurpose>
+ <refpurpose>Prepares for a search</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -325,7 +320,7 @@
<refentry id="function.yaz-syntax">
<refnamediv>
<refname>yaz_syntax</refname>
- <refpurpose>Specifies the preferred record syntax for retrieval.</refpurpose>
+ <refpurpose>Specifies the preferred record syntax for retrieval</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -346,7 +341,7 @@
<refentry id="function.yaz-wait">
<refnamediv>
<refname>yaz_wait</refname>
- <refpurpose>Executes queries.</refpurpose>
+ <refpurpose>Executes queries</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /en/functions yaz.xml"
- Previous message: Leon Atkinson: "[PHP-DOC] cvs: phpdoc / global.ent manual.xml.in /en chapters.ent /en/functions yaz.xml"
- Next in thread: Egon Schmid: "[PHP-DOC] cvs: phpdoc /en/functions yaz.xml"
- Maybe reply: Egon Schmid: "[PHP-DOC] cvs: phpdoc /en/functions yaz.xml"
- Maybe reply: Egon Schmid: "[PHP-DOC] cvs: phpdoc /en/functions yaz.xml"
- Maybe reply: Leon Atkinson: "[PHP-DOC] cvs: phpdoc /en/functions yaz.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

