ianm/syndication 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ianm/syndication

Composer 安装命令:

composer require ianm/syndication

包简介

Brings RSS and Atom feeds to Flarum

关键字:

README 文档

README

license Latest Stable Version Total Downloads Backend CI

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 through filter[tag] (handled by core's TagFilterGambit as a FilterInterface) rather than gambit-encoded in filter[q], which previously caused Blomstra's Elasticsearch override to return empty results. See #20.

Links

统计信息

  • 总下载量: 18.73k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 14
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 1
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: CECILL-B
  • 更新时间: 2021-06-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固