【发布时间】:2012-09-07 21:35:40
【问题描述】:
https://blog.onlywire.com/category/content-submission/feed/
这是我的提要网址。出于某种原因,我无法使用 PHP 解析它。我错过了什么?
脚本:
$ch = curl_init( $feed_curl );
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, 0);
$data = curl_exec($ch);
echo $data;
【问题讨论】:
-
你遇到了什么错误?
-
没有错误。它适用于其他提要..
标签: php curl xml-parsing rss