PHP/XML/RSS — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 10:08, 26 мая 2010
Using RSS Feeds
<source lang="html4strict">
<?php require "XML/RSS.php"; $rss = new XML_RSS("http://php.net/news.rss"); $rss->parse(); foreach($rss->getItems() as $item) {
print_r($item);
} ?>
</source>