This is a discussion on XML_RSS Help me please within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I'm using the RSS --> HTML example from the PEAR manual. It just wont work for me: require_once "...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm using the RSS --> HTML example from the PEAR manual. It just
wont work for me: require_once "XML/RSS.php"; $rss =& new XML_RSS("http://slashdot.org/slashdot.rdf"); $rss->parse(); echo "<h1>Headlines from <a href=\"http://slashdot.org\">Slashdot </a></h1>\n"; echo "<ul>\n"; foreach ($rss->getItems() as $item) { echo "<li><a href=\"" . $item['link'] . "\">" . $item['title'] . "</a></li>\n"; } echo "</ul>\n"; I get all the echo's minus those under thr foreach loop as thoush it's never run. I dont know what I'm doing wrong? TIA -- * Posted with NewsLeecher v3.0 Beta 7 * http://www.newsleecher.com/?usenet |
|
|||
|
Had a look at the error log nothing their. I have a folder in the
same directory: /XML/RSS.php It's on my uni account and I dont have telnet/ssh access to this server. -- * Posted with NewsLeecher v3.0 Beta 7 * http://www.newsleecher.com/?usenet |
|
|||
|
I'm not to sure. Sent an e-mail to tech support have to wait till
what they say. Hopefully install the lib if it's not their now. -- * Posted with NewsLeecher v3.0 Beta 7 * http://www.newsleecher.com/?usenet |
|
|||
|
Anyway i can find out from phpinfo() ? as thats the only way I can
seem to find out details of whats on the server. -- * Posted with NewsLeecher v3.0 Beta 7 * http://www.newsleecher.com/?usenet |
|
|||
|
Blimin tech support. Send them an e-mail they never reply go in
person and tell you to send an e-mail with any logs. Fixed my problem was rather simple problem. RSS.php requires Parser.php once that was on the server had works perfect. -- * Posted with NewsLeecher v3.0 Beta 7 * http://www.newsleecher.com/?usenet |
![]() |
| Thread Tools | |
| Display Modes | |
|
|