nohn Sat Apr 13 06:19:45 2002 EDT Modified files: /phpdoc/en/functions mnogosearch.xml /phpdoc/de/functions mnogosearch.xml /phpdoc/de Translators Log: Updated mnogosearch.xml
Index: phpdoc/en/functions/mnogosearch.xml diff -u phpdoc/en/functions/mnogosearch.xml:1.35 phpdoc/en/functions/mnogosearch.xml:1.36 --- phpdoc/en/functions/mnogosearch.xml:1.35 Fri Feb 8 09:12:04 2002 +++ phpdoc/en/functions/mnogosearch.xml Sat Apr 13 06:19:44 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.35 $ --> +<!-- $Revision: 1.36 $ --> <reference id="ref.mnogo"> <title>mnoGoSearch Functions</title> <titleabbrev>mnoGoSearch</titleabbrev> @@ -882,10 +882,12 @@ <simpara>Example:</simpara> <informalexample> <programlisting role="php"> +<![CDATA[ if (! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_DB,'','',1)) { printf("Error #%d: '%s'\n", udm_errno($udm), udm_error($udm)); exit; } +]]> </programlisting> </informalexample> </listitem> @@ -907,12 +909,14 @@ <simpara>Example:</simpara> <informalexample> <programlisting role="php"> +<![CDATA[ if ((! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_AFFIX,'en','/opt/ispell/en.aff',0)) || (! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_AFFIX,'ru','/opt/ispell/ru.aff',0)) || (! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SPELL,'en','/opt/ispell/en.dict',0)) || (! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SPELL,'ru','/opt/ispell/ru.dict',1))) { exit; } +]]> </programlisting> </informalexample> <note> @@ -938,13 +942,15 @@ description in UDM_ISPELL_TYPE_DB. </para> <informalexample> - <programlisting role="C"> + <programlisting role="php"> +<![CDATA[ if ((! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_AFFIX,'en','/opt/ispell/en.aff',0)) || (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_AFFIX,'ru','/opt/ispell/ru.aff',0)) || (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SPELL,'en','/opt/ispell/en.dict',0)) || (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SPELL,'ru','/opt/ispell/ru.dict',1))) { exit; } +]]> </programlisting> </informalexample> Index: phpdoc/de/functions/mnogosearch.xml diff -u phpdoc/de/functions/mnogosearch.xml:1.8 phpdoc/de/functions/mnogosearch.xml:1.9 --- phpdoc/de/functions/mnogosearch.xml:1.8 Sat Feb 2 10:34:05 2002 +++ phpdoc/de/functions/mnogosearch.xml Sat Apr 13 06:19:45 2002 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.32 Maintainer: nohn Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.36 Maintainer: nohn Status: ready --> <reference id="ref.mnogo"> <title>mnoGoSearch Funktionen</title> <titleabbrev>mnoGoSearch</titleabbrev> @@ -225,10 +225,12 @@ <simpara>Beispiel:</simpara> <informalexample> - <programlisting role="C"> - if (Udm_Api_Version() >= 30111) { - print "Total number of urls in database: ".Udm_Get_Doc_Count($udm)."<br>\n"; + <programlisting role="php"> +<![CDATA[ + if (udm_api_version() >= 30111) { + print "Total number of urls in database: ".udm_get_doc_count($udm)."<br>\n"; } +]]> </programlisting> </informalexample> </refsect1> @@ -290,15 +292,17 @@ '> Root > Sport > Auto > Ferrari' </title> <programlisting role="php"> - <?php - $cat_path_arr=Udm_Cat_Path($udm_agent,$cat); +<![CDATA[ +<?php + $cat_path_arr = udm_cat_path($udm_agent,$cat); $cat_path=''; for ($i=0; $i<count($cat_path_arr); $i+=2) { $path=$cat_path_arr[$i]; $name=$cat_path_arr[$i+1]; - $cat_path .= " > <a href=\"$PHP_SELF?cat=$path\">$name</a> "; + $cat_path .= " > <a href=\"$PHP_SELF?cat=$path\">$name</a> "; } - > +?> +]]> </programlisting> </example> </refsect1> @@ -357,15 +361,17 @@ </literallayout> <informalexample> <programlisting role="php"> - <?php - $cat_list_arr=Udm_Cat_List($udm_agent,$cat); +<![CDATA[ +<?php + $cat_list_arr=udm_cat_list($udm_agent,$cat); $cat_list=''; for ($i=0; $i<count($cat_list_arr); $i+=2) { $path=$cat_list_arr[$i]; $name=$cat_list_arr[$i+1]; - $cat_list .= "<a href=\"$PHP_SELF?cat=$path\">$name</a><br>"; + $cat_list .= "<a href=\"$PHP_SELF?cat=$path\">$name</a><br>"; } - > +?> +]]> </programlisting> </informalexample> @@ -897,11 +903,11 @@ <simpara>Beispiel:</simpara> <informalexample> - <programlisting role="C"> - if (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_DB,'','',1)) { - printf("Error #%d: '%s'\n",Udm_Errno($udm),Udm_Error($udm)); - exit; - } + <programlisting role="php"> +if (! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_DB,'','',1)) { + printf("Error #%d: '%s'\n",udm_errno($udm),udm_error($udm)); + exit; +} </programlisting> </informalexample> </listitem> @@ -923,13 +929,15 @@ <simpara>Beispiel:</simpara> <informalexample> - <programlisting role="C"> - if ((! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_AFFIX,'en','/opt/ispell/en.aff',0)) || - (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_AFFIX,'ru','/opt/ispell/ru.aff',0)) || - (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SPELL,'en','/opt/ispell/en.dict',0)) || - (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SPELL,'ru','/opt/ispell/ru.dict',1))) { + <programlisting role="php"> +<![CDATA[ + if ((! +udm_load_ispell_data($udm,UDM_ISPELL_TYPE_AFFIX,'en','/opt/ispell/en.aff',0)) || + (! +udm_load_ispell_data($udm,UDM_ISPELL_TYPE_AFFIX,'ru','/opt/ispell/ru.aff',0)) || + (! +udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SPELL,'en','/opt/ispell/en.dict',0)) || + (! +udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SPELL,'ru','/opt/ispell/ru.dict',1))) { exit; } +]]> </programlisting> </informalexample> <note> @@ -956,13 +964,15 @@ UDM_ISPELL_TYPE_DB nach. </para> <informalexample> - <programlisting role="C"> - if ((! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_AFFIX,'en','/opt/ispell/en.aff',0)) || - (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_AFFIX,'ru','/opt/ispell/ru.aff',0)) || - (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SPELL,'en','/opt/ispell/en.dict',0)) || - (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SPELL,'ru','/opt/ispell/ru.dict',1))) { + <programlisting role="php"> +<![CDATA[ + if ((! +udm_load_ispell_data($udm,UDM_ISPELL_TYPE_AFFIX,'en','/opt/ispell/en.aff',0)) || + (! +udm_load_ispell_data($udm,UDM_ISPELL_TYPE_AFFIX,'ru','/opt/ispell/ru.aff',0)) || + (! +udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SPELL,'en','/opt/ispell/en.dict',0)) || + (! +udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SPELL,'ru','/opt/ispell/ru.dict',1))) { exit; } +]]> </programlisting> </informalexample> @@ -1005,11 +1015,13 @@ <simpara>Beispiel:</simpara> <informalexample> - <programlisting role="C"> + <programlisting role="php"> +<![CDATA[ if (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SERVER,'','',1)) { printf("Error loading ispell data from server<br>\n"); exit; - } + } +]]> </programlisting> </informalexample> </listitem> @@ -1242,7 +1254,7 @@ Indexer Daten speichert, wenn der integrierte Datenbank-Modus oder der Cachemodus verwendet wird. Voreingestellt ist das <literal>/var</literal>-Verzeichnis - der <application>mnoGoSearch</application>-Installation verwendet. Es + der mnoGoSearch-Installation verwendet. Es können ausschliesslich Strings verwendet werden. Dieser Parameter ist erst ab PHP 4.1.0 verfügbar. </simpara> @@ -1275,7 +1287,7 @@ <refnamediv> <refname>udm_check_stored</refname> <refpurpose> - Open connection to stored + Check connection to stored </refpurpose> </refnamediv> <refsect1> Index: phpdoc/de/Translators diff -u phpdoc/de/Translators:1.297 phpdoc/de/Translators:1.298 --- phpdoc/de/Translators:1.297 Sat Apr 13 05:59:58 2002 +++ phpdoc/de/Translators Sat Apr 13 06:19:45 2002 @@ -146,7 +146,7 @@ mhash.xml Jan Lehnardt fertig (bis V. 1.19) ming.xml misc.xml Thomas Schuermann fertig -mnogosearch.xml Sebastian Nohn fertig (bis V. 1.32) +mnogosearch.xml Sebastian Nohn fertig (bis V. 1.36) msession Wolfgang Drews fertig (bis V. 1.5) msql.xml Cornelia Boenigk fertig mssql.xml Martin Samesch fertig (Rev. 1.28)