phpでrssの情報を抜き出したい場合は、titleやlinkの要素は以下の通りで抜き出せます。
<?php // Load and parse the XML document
$rss = simplexml_load_file('http://partners.userland.com/nytRss/nytHomepage.xml');
$title = $rss->channel->title;
?>
…
hostsファイルの設定を変えた場合は、
# /etc/rc.d/init.d/network resatartまたは、
# /etc/rc.d/init.d/network reloadで反映させる。
graffiti on the web
この投稿へのコメント
コメントはまだありません。