ianm/syndication
Composer 安装命令:
composer require ianm/syndication
包简介
Brings RSS and Atom feeds to Flarum
关键字:
README 文档
README
Syndication for Flarum
Brings RSS and Atom feeds to Flarum.
Based on amaurycarrade/flarum-ext-syndication, abandoned since 2019. This fork, and the changes required to bring the extension back to life, were sponsored by 010101.
Installation
composer require ianm/syndication:"*"
Feeds
| Route | Contents |
|---|---|
/atom |
Latest discussions with activity (the / page as a feed) |
/atom/discussions |
Newly created discussions across the forum |
/atom/d/{id} |
Recent posts in a single discussion (e.g. /atom/d/21-discussion-slug) |
/atom/u/{username}/posts |
Recent posts by a single user |
/atom/t/{slug} |
Latest discussions with activity in a tag (requires flarum/tags) |
/atom/t/{slug}/discussions |
Newly created discussions in a tag (requires flarum/tags) |
Replace atom with rss on any of these URLs to get the RSS variant.
Discussion-list feeds accept ?sort=latest|top|newest|oldest to reorder and ?q=<search> to filter. Both can be combined: ?sort=<sorting>&q=<search>.
Feeds are linked in the page head for autodiscovery.
Settings
| Key | Default | Effect |
|---|---|---|
| Full-Text Feeds | off | When off, post content is truncated to ~400 characters. When on, the full body is included. |
| Formatted Feeds (HTML) | off | When off, HTML is stripped and entities are decoded so content is plain text. When on, the original HTML is passed through inside a CDATA block (Atom <content type="html">). |
| Entries per feed | 100 | Maximum number of items in each feed response. |
| Show feed links on the forum | off | Displays an RSS icon on the All Discussions, Tag and Discussion pages. |
| Forum feed format | Atom | Which format the forum icons link to — Atom or RSS. |
Compatibility notes
blomstra/search— Tag feeds work with Blomstra's search extension installed. Tag filtering is passed throughfilter[tag](handled by core'sTagFilterGambitas aFilterInterface) rather than gambit-encoded infilter[q], which previously caused Blomstra's Elasticsearch override to return empty results. See #20.
Links
ianm/syndication 适用场景与选型建议
ianm/syndication 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 18.73k 次下载、GitHub Stars 达 15, 最近一次更新时间为 2021 年 06 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「flarum」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ianm/syndication 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ianm/syndication 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ianm/syndication 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Adds more BBCode
Output of discussions lists in form of cards
Allow users to log in with QQ
A headless CLI performance benchmarking tool for Flarum
The admin panel of afrux/asirem
Enhanced typography for french writings, mainly around punctuation.
统计信息
- 总下载量: 18.73k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: CECILL-B
- 更新时间: 2021-06-10