# 是否可以创建一个带有趋势小部件、分类订阅和自定义 Feed 页面的社区？

**URL:** <https://meta.discourse.org/t/is-it-possible-to-make-a-community-with-trending-widget-subscription-to-categories-and-custom-feed-page/212768>\
**Category:** Development\
**Created:** [2021年十二月21日 11:37 UTC](https://meta.discourse.org/t/is-it-possible-to-make-a-community-with-trending-widget-subscription-to-categories-and-custom-feed-page/212768 "2021-12-21T11:37:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Xerxes](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xerxes/32/579101_2.png) [@Xerxes](https://meta.discourse.org/u/Xerxes)\
**Post date:** [2026年九月27日 10:22 UTC](https://meta.discourse.org/t/is-it-possible-to-make-a-community-with-trending-widget-subscription-to-categories-and-custom-feed-page/212768/5 "2026-09-27T10:22:40Z")

</div>

是的，你可以构建这三种功能，但它们在 Discourse 中需要不同程度的自定义。

对于热门内容组件，Discourse 并没有提供一个现成的“过去 24 小时热门”组件，也不支持自定义排名逻辑。你需要通过主题组件或自定义开发来决定什么才算“热门”，例如最近的回复数、浏览量、点赞数或活跃度。

分类订阅要简单得多。Discourse 已经允许用户关注分类，因此你可以利用这一功能来确定用户感兴趣的内容。

对于自定义首页，你可以构建一个信息流，仅显示用户所关注分类中的主题，而不是展示整个社区的信息流。

因此，基本的设置方案如下：

- Discourse 分类关注 → 用户偏好设置

- 自定义信息流 → 来自这些分类的主题

- 自定义热门组件 → 最近活跃或受欢迎的主题

如果主要需求是更具视觉吸引力或可定制的内容信息流，你也可以使用 Taggbox 之类的工具作为展示层，同时保留 Discourse 用于实际的社区互动和讨论。

我不会用组件来替代 Discourse 的核心功能。我会在需要更灵活地展示内容的地方使用组件。

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-make-a-community-with-trending-widget-subscription-to-categories-and-custom-feed-page/212768)._
