cvs: peardoc /en/package/xml xml-rss.xml /en/package/xml/xml-rss requirements.xml

From: Date: Sun, 04 Jan 2004 13:35:37 +0000
Subject: cvs: peardoc /en/package/xml xml-rss.xml /en/package/xml/xml-rss requirements.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2091@lists.php.net to get a copy of this message
mj Sun Jan 4 08:35:37 2004 EDT Added files: /peardoc/en/package/xml/xml-rss requirements.xml Modified files: /peardoc/en/package/xml xml-rss.xml Log: * Adding new passage that describes the requirements for running XML_RSS. Index: peardoc/en/package/xml/xml-rss.xml diff -u peardoc/en/package/xml/xml-rss.xml:1.2 peardoc/en/package/xml/xml-rss.xml:1.3 --- peardoc/en/package/xml/xml-rss.xml:1.2 Sat Mar 8 09:44:03 2003 +++ peardoc/en/package/xml/xml-rss.xml Sun Jan 4 08:35:37 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <sect1 id="package.xml.xml-rss"> <title>XML_RSS</title> @@ -8,6 +8,7 @@ </para> &package.xml.xml-rss.intro; + &package.xml.xml-rss.requirements; &package.xml.xml-rss.example; &package.xml.xml-rss.xml-rss.xml-rss; &package.xml.xml-rss.xml-rss.getstructure; Index: peardoc/en/package/xml/xml-rss/requirements.xml +++ peardoc/en/package/xml/xml-rss/requirements.xml <!-- $Revision: 1.1 $ --> <refentry id="package.xml.xml-rss.requirements"> <refnamediv> <refname>Requirements</refname> <refpurpose>Requirements for running XML_RSS</refpurpose> </refnamediv> <refsect1 id="package.xml.xml-rss.requirements.xml-parser"> <title><classname>XML_Parser</classname></title> <para> To parse the XML files that contain the RSS feeds, <classname>XML_RSS</classname> requires that the package <classname>XML_Parser</classname> is installed. However this dependency will be automatically handled by the installer during the installation phase of <classname>XML_RSS</classname>. </para> </refsect1> <refsect1 id="package.xml.xml-rss.requirements.allow-url-fopen"> <title>allow_url_fopen configuration value</title> <para> Since most <acronym>RSS</acronym> feeds are located on remote hosts, one has to ensure that the PHP configuration value <quote>allow_url_fopen</quote> is set to <quote>On</quote> before running <classname>XML_RSS</classname>. </para> <para> To find out the current value of <quote>allow_url_fopen</quote>, one can use the function <function>ini_get</function>. To set a new value of <quote>allow_url_fopen</quote>, <function>ini_set</function> can be used. </para> <example> <title>Setting <quote>allow_url_fopen</quote></title> <programlisting role="php"> if (ini_get("allow_url_fopen") == 0) { echo "Setting allow_url_fopen to On"; ini_set("allow_url_fopen", 1); } /* ... */ </programlisting> </example> <para> Alternatively one can set the value for <quote>allow_url_fopen</quote> directly in the <filename>php.ini</filename> configuration file of PHP. </para> </refsect1> </refentry> <!-- 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 -->

« previous php.pear.doc (#2091) next »