WeKnora/internal/datasource/connector/rss
诉说晚秋 d84cdabac4
fix(rss): refresh titles and source links when article text is unchanged (#3824)
* fix(rss): 修复正文未变时标题和来源链接不同步

* fix(datasource/rss): 旧 h: 游标只升级不重建,原文抓取失败时保留旧游标

升级后第一次增量原先会把 feed 里每一条仍在的旧条目删掉重建(Wiki、手工标签、
知识 ID 都会丢),原文接口临时失败时还会把库里的全文降级成 feed 摘要。

现在对旧 h: 游标的条目:重新解析出的正文哈希与 h: 相同时,只把游标升级为 i:
指纹、不输出;原文抓取失败时沿用 h: 游标、不输出,留到下次重试;只有正文真的
变了才输出。

---------

Co-authored-by: wizardchen <wizardchen@tencent.com>
2026-10-08 14:02:56 +08:00
..
article_retry_test.go fix(rss): 修复全文回退后增量同步不重试 2026-09-29 00:53:27 +08:00
client.go fix(rss): 拒绝超限响应以避免正文静默截断 2026-09-24 20:44:56 +08:00
client_test.go fix(rss): 拒绝超限响应以避免正文静默截断 2026-09-24 20:44:56 +08:00
connector.go fix(rss): refresh titles and source links when article text is unchanged (#3824) 2026-10-08 14:02:56 +08:00
connector_test.go refactor(datasource): share connector filename sanitization 2026-09-17 16:18:52 +08:00
item_identity_test.go fix(rss): refresh titles and source links when article text is unchanged (#3824) 2026-10-08 14:02:56 +08:00
types.go fix(rss): refresh titles and source links when article text is unchanged (#3824) 2026-10-08 14:02:56 +08:00