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;
?>
…
サーバの時刻設定
1. 時刻確認
date
2. 時刻設定
date -s “2006/02/20 19:03”
linux上で、上記のコマンドを実行すれば、調整出来ます。
参照元:http://memorva.jp/memo/linux/date_ntp.php
graffiti on the web
この投稿へのコメント
コメントはまだありません。