Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/halo-dev/plugin-feed
Halo 2.0 的 RSS 订阅链接生成插件
https://github.com/halo-dev/plugin-feed
halo halo-plugin
Last synced: about 1 month ago
JSON representation
Halo 2.0 的 RSS 订阅链接生成插件
- Host: GitHub
- URL: https://github.com/halo-dev/plugin-feed
- Owner: halo-dev
- License: gpl-3.0
- Created: 2022-08-12T01:40:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-03T03:17:15.000Z (5 months ago)
- Last Synced: 2024-08-02T06:17:06.817Z (4 months ago)
- Topics: halo, halo-plugin
- Language: Java
- Homepage: https://halo.run/store/apps/app-KhIVw
- Size: 1.83 MB
- Stars: 9
- Watchers: 4
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-halo - plugin-feed - Halo 2.0 的 RSS 订阅链接生成插件 (Halo 2.0 / 插件)
README
# plugin-feed
Halo 2.0 的 RSS 订阅链接生成插件
## 开发环境
```bash
git clone [email protected]:halo-dev/plugin-feed.git# 或者当你 fork 之后
git clone [email protected]:{your_github_id}/plugin-feed.git
``````bash
cd path/to/plugin-feed
``````bash
# macOS / Linux
./gradlew build# Windows
./gradlew.bat build
```修改 Halo 配置文件:
```yaml
halo:
plugin:
runtime-mode: development
classes-directories:
- "build/classes"
- "build/resources"
lib-directories:
- "libs"
fixedPluginPath:
- "/path/to/plugin-feed"
```## 使用方式
1. 在 [Releases](https://github.com/halo-dev/plugin-feed/releases) 下载最新的 JAR 文件。
2. 在 Halo 后台的插件管理上传 JAR 文件进行安装。目前提供了以下订阅链接类型:
1. 全站订阅:`/feed.xml` 或者 `/rss.xml`
2. 按照分类订阅(可以在插件设置中关闭):`/feed/categories/{slug}.xml`
3. 按照作者订阅(可以在插件设置中关闭):`/feed/authors/{name}.xml`