archlinux-de/flarum-discussion-feed
最新稳定版本:1.0.2
Composer 安装命令:
composer require archlinux-de/flarum-discussion-feed
包简介
Simple and efficient Atom feed for Flarum
README 文档
README
This simple extensions generates a feed of recent created discussions. A scheduled task will regulary update the feed on disk so it can be served by your web server without invoking Flarum or PHP. This is benefitial if you have a lot of subscribers pulling your feed in short intervals.
Installation
Install and enable the extension
composer require archlinux-de/flarum-discussion-feed
Now enable the extension in your admin backend.
Web server setup
You might want to add the following rule to your Nginx config
location = /feed.xml {
types { } default_type "application/atom+xml; charset=utf-8";
expires 15m;
}
Enable Flarum's scheduler
Refer to schedule:run to setup your Flarum scheduler.
Permissions
Make sure the user which runs the scheduler has permissions to create the feed.xml file within Flarum's public directory.
统计信息
- 总下载量: 3.96k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2021-08-21