# 新人疑问：关于时长的计算

**URL:** <https://2hkj2s.loc.rr.kg/t/topic/51535>\
**Category:** AskNodeLoc\
**Tags:** 求助\
**Created:** [2025 年7 月 15 日 03:41 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535 "2025-07-15T03:41:13Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![luckycat](https://2hkj2s.loc.rr.kg/letter_avatar_proxy/v4/letter/l/c37758/32.png) [@luckycat](https://2hkj2s.loc.rr.kg/u/luckycat)\
**Post date:** [2025 年7 月 15 日 03:41 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/1 "2025-07-15T03:41:13Z")

</div>

请问一下时长是怎么判定的？我有时候喜欢看重复的帖子时长也会算进去吗？

---

<div class="post-metadata">

**Author:** ![lisongyue](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/lisongyue/32/6300_2.png) [@lisongyue](https://2hkj2s.loc.rr.kg/u/lisongyue)\
**Post date:** [2025 年7 月 15 日 03:42 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/2 "2025-07-15T03:42:00Z")

</div>

重复看会计算时长，多滚动页面，多看帖子，保持活跃就记入时长了

> [@问一下论坛阅读时长怎么算的](https://2hkj2s.loc.rr.kg/t/topic/50137/18):
>
> 和看新帖旧帖没关系，正常浏览都会算时间  
> 页面静止后就不再计算时间，时间也不是实时结算的  
> 100天内浏览超过3000分钟算完成任务  
> 核算下来每天也就30分钟  
> 如果想完成的话还是挺简单的

> Discourse 还会追踪用户每篇文章的阅读时长。以下是 Discourse 追踪时长的一些要点：
> 
> - **6 分钟** ：每次用户离开前查看每篇文章的最大记录阅读时间。
> - 没有上限：如果用户不断返回该主题，则可以阅读帖子数天。
> - **3 分钟** ：如果在此期间没有发生滚动，则阅读时间跟踪将

（如果觉得回复很快，回答的不错，点一下右下角最佳答案，谢谢！ :xhj21:

---

<div class="post-metadata">

**Author:** ![sunnypuppy](https://2hkj2s.loc.rr.kg/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@sunnypuppy](https://2hkj2s.loc.rr.kg/u/sunnypuppy)\
**Post date:** [2025 年7 月 15 日 03:46 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/3 "2025-07-15T03:46:52Z")

</div>

算的，但貌似在首页帖子列表刷不算，需要进某个帖子内才行

---

<div class="post-metadata">

**Author:** ![zhoujia](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/zhoujia/32/20641_2.png) [@zhoujia](https://2hkj2s.loc.rr.kg/u/zhoujia)\
**Post date:** [2025 年7 月 15 日 04:07 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/4 "2025-07-15T04:07:43Z")

</div>

看重复贴也算，但是注意：  
1，打开的页面需要处于激活状态，切换标签页或最小化窗口会暂停计时。  
2，需要有交互，超过一分钟没有鼠标滑动、点击、什么的，停止计时。（不一定真是一分钟，这个管理员可以改。）  
:xhj003:

---

<div class="post-metadata">

**Author:** ![hakd](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/hakd/32/561_2.png) [@hakd](https://2hkj2s.loc.rr.kg/u/hakd)\
**Post date:** [2025 年7 月 15 日 04:09 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/5 "2025-07-15T04:09:52Z")

</div>

之前有人发过，我参考他的代码优化了一下。你找一篇大约20+回复的帖子，挂个两天估计就够时长了。

代码太逆天了，我还是不放出来了吧！

---

<div class="post-metadata">

**Author:** ![anne](https://2hkj2s.loc.rr.kg/letter_avatar_proxy/v4/letter/a/ccd318/32.png) [@anne](https://2hkj2s.loc.rr.kg/u/anne)\
**Post date:** [2025 年7 月 15 日 04:18 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/6 "2025-07-15T04:18:27Z")

</div>

Discourse说明参考：[Understanding stats for 'topic views', 'posts read', and 'reading time' - Using Discourse - Discourse Meta](https://meta.discourse.org/t/understanding-stats-for-topic-views-posts-read-and-reading-time/254542)

---

<div class="post-metadata">

**Author:** ![leo](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/leo/32/1417_2.png) [@leo](https://2hkj2s.loc.rr.kg/u/leo)\
**Post date:** [2025 年7 月 15 日 04:41 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/7 "2025-07-15T04:41:03Z")

</div>

会的

---

<div class="post-metadata">

**Author:** ![chuanqibuding](https://2hkj2s.loc.rr.kg/letter_avatar_proxy/v4/letter/c/34f0e0/32.png) [@chuanqibuding](https://2hkj2s.loc.rr.kg/u/chuanqibuding)\
**Post date:** [2025 年7 月 15 日 04:43 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/8 "2025-07-15T04:43:06Z")

</div>

必须滚动，固定不动不算

---

<div class="post-metadata">

**Author:** ![gene\_motley](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/gene_motley/32/546_2.png) [@gene\_motley](https://2hkj2s.loc.rr.kg/u/gene_motley)\
**Post date:** [2025 年7 月 15 日 06:09 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/9 "2025-07-15T06:09:23Z")

</div>

你说的帖子实际是话题，回复才是帖子

---

<div class="post-metadata">

**Author:** ![Wo\_mian](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/wo_mian/32/91_2.png) [@Wo\_mian](https://2hkj2s.loc.rr.kg/u/Wo_mian)\
**Post date:** [2025 年7 月 15 日 08:25 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/10 "2025-07-15T08:25:29Z")

</div>

重复帖子貌似不算时长吧

---

<div class="post-metadata">

**Author:** ![lovoup](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/lovoup/32/19024_2.png) [@lovoup](https://2hkj2s.loc.rr.kg/u/lovoup)\
**Post date:** [2025 年7 月 15 日 09:04 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/11 "2025-07-15T09:04:57Z")

</div>

我的时长不足

---

<div class="post-metadata">

**Author:** ![gene\_motley](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/gene_motley/32/546_2.png) [@gene\_motley](https://2hkj2s.loc.rr.kg/u/gene_motley)\
**Post date:** [2025 年7 月 15 日 09:07 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/12 "2025-07-15T09:07:56Z")

</div>

不算

---

<div class="post-metadata">

**Author:** ![luoyi](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/luoyi/32/3245_2.png) [@luoyi](https://2hkj2s.loc.rr.kg/u/luoyi)\
**Post date:** [2025 年7 月 15 日 10:11 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/13 "2025-07-15T10:11:38Z")

</div>

好东西得分享啊

---

<div class="post-metadata">

**Author:** ![cs9u](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/cs9u/32/7508_2.png) [@cs9u](https://2hkj2s.loc.rr.kg/u/cs9u)\
**Post date:** [2025 年7 月 15 日 10:32 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/14 "2025-07-15T10:32:58Z")

</div>

我已完美达标

---

<div class="post-metadata">

**Author:** ![daryenr](https://2hkj2s.loc.rr.kg/letter_avatar_proxy/v4/letter/d/838e76/32.png) [@daryenr](https://2hkj2s.loc.rr.kg/u/daryenr)\
**Post date:** [2025 年7 月 16 日 02:14 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/15 "2025-07-16T02:14:28Z")

</div>

每天努力看哦，多看看论谈中还是有好多学习的东西

---

<div class="post-metadata">

**Author:** ![bluesky666](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/bluesky666/32/11915_2.png) [@bluesky666](https://2hkj2s.loc.rr.kg/u/bluesky666)\
**Post date:** [2025 年8 月 11 日 12:58 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/16 "2025-08-11T12:58:28Z")

</div>

进来学习一下

---

<div class="post-metadata">

**Author:** ![Yizong](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/yizong/32/1789_2.png) [@Yizong](https://2hkj2s.loc.rr.kg/u/Yizong)\
**Post date:** [2025 年8 月 11 日 13:05 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/17 "2025-08-11T13:05:39Z")

</div>

会算进去

---

<div class="post-metadata">

**Author:** ![kure](https://2hkj2s.loc.rr.kg/user_avatar/2hkj2s.loc.rr.kg/kure/32/8564_2.png) [@kure](https://2hkj2s.loc.rr.kg/u/kure)\
**Post date:** [2025 年8 月 12 日 00:40 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/18 "2025-08-12T00:40:58Z")

</div>

截止目前来说，看旧帖也算，看过的帖子重新再看也计算时长。

---

<div class="post-metadata">

**Author:** ![node1024](https://2hkj2s.loc.rr.kg/letter_avatar_proxy/v4/letter/n/6bbea6/32.png) [@node1024](https://2hkj2s.loc.rr.kg/u/node1024)\
**Post date:** [2025 年8 月 12 日 04:55 UTC](https://2hkj2s.loc.rr.kg/t/topic/51535/19 "2025-08-12T04:55:05Z")

</div>

感觉看了好久，实际没加多少！还差的远的呢

有时候一看一晚上也没加多少
