fetch_rss()

获得feed

描述

检索某个RSS订阅并进行解析。用MagpieRSS and RSSCache进行解析并自动缓存,用Snoopy HTTP 客户端

用法

<?php
include_once(ABSPATH . WPINC . '/rss.php');
$rss = fetch_rss($uri);
?> 

参数

$uri

(URI) (必填) The URI of the RSS feed you want to retrieve. The resulting parsed feed is returned, with the more interesting and useful bits in the items array.

默认值: Nonerray.

历史

添加于 版本 Version 1.5

Deprecated in Version 3.0

源文件

fetch_rss is defined in wp-includes/rss.php.

相关

fetch_feed

wp_rss()

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索