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

[Feature Request] 添加 JSON Feed 支持 #273

Open
cxplay opened this issue Apr 21, 2023 · 4 comments
Open

[Feature Request] 添加 JSON Feed 支持 #273

cxplay opened this issue Apr 21, 2023 · 4 comments
Labels
enhancement New feature or request upstream

Comments

@cxplay
Copy link

cxplay commented Apr 21, 2023

JSON Feed 总结了 RSS 和 Atom 的经验,并改用 JSON 来发布 feed,相比 XML 更加容易读写,也已经被很多阅读器和站点支持。

JSON Feed: https://www.jsonfeed.org/

@Rongronggg9
Copy link
Owner

Rongronggg9 commented Apr 22, 2023

上游的 bug 刚被修复 (kurtmckee/feedparser#363),需要等待上游 release

@Rongronggg9 Rongronggg9 added enhancement New feature or request upstream labels Apr 22, 2023
@Konano
Copy link

Konano commented Dec 12, 2024

貌似已经 release 了

@Rongronggg9
Copy link
Owner

貌似已经 release 了

最新的 release 修复的是别的问题,查看 tag 之间的 diff 可以确认这一点。该修复目前仍然在 develop 分支中。

确实已建立一个 feedparser 的 fork 用于以 exp-deps 为 tag 的 Docker image。有时间的时候,会看看能否 backport 该修复。

Rongronggg9 added a commit that referenced this issue Dec 23, 2024
feedparser@develop has added support for JSON Feed before. However,
entry.content maybe a bare dict this time, unlike Atom that use an array
(list) of dicts.

Add JSON Feed support by adding a case that deals with such behavior.
With this patch and feedparser from its develop branch, we can finally
gain the support for JSON Feed.

See also #273.

Signed-off-by: Rongrong <[email protected]>
@Rongronggg9
Copy link
Owner

现在使用 exp-deps 为 tag 的 Docker image 即可支持 JSON Feed。短期看来 feedparser 不太可能会发布新版,以后还会考虑以更好的方式一同分发 feedparser。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request upstream
Projects
None yet
Development

No branches or pull requests

3 participants