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;
?>
…
実機でアプリをテストする際にデバッガ上に以下のようなエラーが頻発します。
原因を調べてみるとどうやら、無視して良いエラーのようですが、どうも気持ちが悪いですね。。
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found).以下のサイトがApple Developer Forum内の上記エラーに関する書き込みですが、アップルの方が、無視して良いと返答したようです。(人物アイコンの右にリンゴマークがついているのがアップルの人なのかな?) 参考サイト:http://twitter.com/#!/Seasons/status/9125395651624960
この投稿へのコメント
コメントはまだありません。