Re: [patch] XML_RSS/RSS.php
| From: | Enrico Genauck | Date: | Mon, 05 Jan 2004 12:06:45 +0000 |
| Subject: | Re: [patch] XML_RSS/RSS.php | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-24768@lists.php.net to get a copy of this message | ||
Hello,
Martin Jansen schrieb:
> On Mon Jan 05, 2004 at 01:3320AM +0100, Enrico Genauck wrote:
>>Also I got problems with the simplified constructor, using just the
>>"setInput()"-function. My test code just worked with "setInputFile()" so
>>
>>I added the old if-clauses again.
>
> What kind of problem did you encounter?
I used this simple code snippet:
<?php
require_once "../pear/RSS.php";
$r =& new
XML_RSS("http://schockwellenreiter.server-wg.de/blog/rdf10_xml");
$r->parse();
echo "<pre>";
print_r($r->getItems());
echo "</pre>";
?>
On an Apache 2.0 with PHP 4.3.4.
The feed is not retrieved and an empty array is returned.
What is the difference between "setInput()" and "setInputFile()"?
Enrico Genauck
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]