【发布时间】:2012-12-18 23:02:59
【问题描述】:
我应该如何使用get_channel_tags() 或者我应该使用 SimplePie 的什么功能来获取 YouTube rss 播放列表或提要的频道/标题部分中的其他元素/属性的 totalResults?
播放列表示例:http://gdata.youtube.com/feeds/api/playlists/PL25BD62C6275E88F6?alt=rss
这不起作用:
$totalResults = $rss->get_channel_tags('http://a9.com/-/spec/opensearchrss/1.0/', 'totalResults');
$totalResultsData = $totalResults[0];
【问题讨论】:
标签: wordpress youtube simplepie