【发布时间】:2015-12-07 20:28:22
【问题描述】:
您好,我正在解析此提要,但似乎无法正常工作
<?php
$url = "http://insite.unthsc.edu/dailynews/category/campus-news/feed/";
$xml = simplexml_load_file($url);
print_r($xml);
?>
当我输出 pre 时,我目前得到 this 我以前为其他提要和 xml 文件做过这个,但我一生都无法弄清楚为什么这次它不起作用。
谢谢
【问题讨论】:
标签: php wordpress xml-parsing rss