phile/rss-feed
Composer 安装命令:
composer require phile/rss-feed
包简介
Generate RSS feeds based on the posts in your Phile site.
README 文档
README
Generate RSS feeds based on the posts in your Phile site.
1.1 Installation (composer)
composer require phile/rss-feed
1.2 Installation (Download)
- Install the latest version of Phile
- Clone this repo into
plugins/phile/rssFeed
2. Activation
After you have installed the plugin. You need to add the following line to your config.php file:
$config['plugins']['phile\\rssFeed'] = array('active' => true);
- go to
/feedon your site
Usage
You can set some defaults in the plugins config file. By default the feed URL is /feed. You can change this if you need too.
There is also a key in the plugin config called post_key. This is the key that defines which unqiue meta key to associate with posts. If you posts don't have a date but instead use a template of 'post' you can use that instead.
There is a file included with a plugin called template.php. This is the file that is used as the XML template for the RSS feed. This is a valid RSS feed when run through the Phile-Blog-Theme setup.
You may need to edit the template file if you require the feed results to be different.
统计信息
- 总下载量: 266
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-04-24