Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望增加功能,取消生成的RSS中的updated的变动 #61

Closed
YsMox opened this issue May 28, 2022 · 3 comments
Closed

希望增加功能,取消生成的RSS中的updated的变动 #61

YsMox opened this issue May 28, 2022 · 3 comments
Labels
enhancement New feature or request
Projects

Comments

@YsMox
Copy link

YsMox commented May 28, 2022

截取一部分生成的RSS信息如下,此处的 updated 日期,为liuli在周期性运行的过程中更新时的时间,即使对于一条很久以前的RSS信息,它的 updated 也会被更新到当前时间。

<entry>
    <id>liuli_wechat - 谷歌开发者 - 社区说|TensorFlow 在工业视觉中的落地</id>
    <title>社区说|TensorFlow 在工业视觉中的落地 </title>
    <updated>2022-05-28T13:17:35.903720+00:00</updated>
    <author>
        <name>liuli_wechat - GDG</name>
    </author>
    <content/>
    <link href="https://ddns.ysmox.com:8766/backup/liuli_wechat/谷歌开发者/%E7%A4%BE%E5%8C%BA%E8%AF%B4%EF%BD%9CTensorFlow%20%E5%9C%A8%E5%B7%A5%E4%B8%9A%E8%A7%86%E8%A7%89%E4%B8%AD%E7%9A%84%E8%90%BD%E5%9C%B0" rel="alternate"/>
    <published>2022-05-25T17:30:46+08:00</published>
</entry>

这样会引起一些问题,在某些RSS订阅器上(如Tiny Tiny RSS),其时间轴上是根据 updated 来排序,而并非 published,如此一来,无法有效地区分当前的RSS哪些内容是最近生成的,哪些又是以前生成过的。

所以希望保留 updated 的时间不变(如第一次存到mongodb中时,记录当前时间;若周期性更新时则不改变其值)或者与 published 保持一致。

最后,希望我已经清楚地表达了我的问题和请求,谢谢!

@YsMox YsMox changed the title 希望增加功能,使得生成的RSS中的updated日期与published日期保持一致 希望增加功能,取消生成的RSS中的updated的变动 May 28, 2022
@howie6879 howie6879 added the enhancement New feature or request label May 30, 2022
@howie6879
Copy link
Owner

howie6879 commented May 30, 2022

@YsMox 合理的需求,接下来会更新

@YsMox
Copy link
Author

YsMox commented Jun 14, 2022 via email

@howie6879
Copy link
Owner

@YsMox 已更新,等docker镜像tag打包就可以使用了

@howie6879 howie6879 added this to Test in v0.3.0 Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants