# 显示热门主题和最新主题？

**URL:** <https://meta.discourse.org/t/show-top-topics-and-latest-topics/143232>\
**Category:** Feature\
**Created:** [2020年三月3日 17:00 UTC](https://meta.discourse.org/t/show-top-topics-and-latest-topics/143232 "2020-03-03T17:00:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nityeshaga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nityeshaga/32/166470_2.png) [@nityeshaga](https://meta.discourse.org/u/nityeshaga)\
**Post date:** [2020年三月3日 17:00 UTC](https://meta.discourse.org/t/show-top-topics-and-latest-topics/143232/1 "2020-03-03T17:00:32Z")

</div>

我希望首页设计能优先展示社区中的热门话题 **以及** 最新话题。

目前我拥有的选项并不完全符合这一需求：

- 分类 + 精选：不仅需要大量手动操作，而且每个分类显示的话题数量相同，无法真实反映讨论的分布情况。
- 分类 + 最新：这会优先展示最近有讨论的话题，但无法满足上述任一目标。
- 分类 + 热门：这无法显示最新的话题。

是否已有方法可以实现我期望的目标？

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [2020年三月3日 17:07 UTC](https://meta.discourse.org/t/show-top-topics-and-latest-topics/143232/2 "2020-03-03T17:07:21Z")

</div>

听起来你可以把它做成一个插件。

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2020年三月4日 16:57 UTC](https://meta.discourse.org/t/show-top-topics-and-latest-topics/143232/3 "2020-03-04T16:57:17Z")

</div>

我甚至不认同这一点——展示热门话题和最新话题会显得极其冗余。

---

<div class="post-metadata">

**Author:** ![nityeshaga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nityeshaga/32/166470_2.png) [@nityeshaga](https://meta.discourse.org/u/nityeshaga)\
**Post date:** [2020年三月5日 16:24 UTC](https://meta.discourse.org/t/show-top-topics-and-latest-topics/143232/4 "2020-03-05T16:24:21Z")

</div>

也许我之前的解释不够清楚，但我不同意“我所要求的内容会导致任何冗余”这一结论。

因此，这是我第二次尝试提供更清晰的说明：

我希望我的社区拥有一个首页，能够展示社区中的热门话题，同时对新话题赋予更高的权重，以免它们被淹没。

因此，如果存在这样一种首页设计，其中通过一个 `eligibility_metric`（资格指标）来决定哪些内容保留在首页上，那么这个 `eligibility_metric` 应该是以下各项的加权总和（或乘积，或其他数学函数，我不确定具体形式）：

- `popularity`（受欢迎程度）——由浏览量、点赞数、评论数等决定；
- `freshness`（新鲜度）——由话题的新旧程度决定。

我希望在我的社区中拥有这样的首页，因为它能同时兼顾以下两类成员的需求：

- 前来阅读或参与他人帖子的成员；
- 前来通过创建新话题进行分享的内容创作者。
