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

fix(blog): remove duplicate RSS feed and add JSON feed #15890

Merged
merged 2 commits into from May 9, 2024

Conversation

Guts
Copy link
Contributor

@Guts Guts commented Apr 30, 2024

According to https://guts.github.io/mkdocs-rss-plugin/integrations/#automatically-set-with-material-theme, the RSS feed is automatically referenced by the Material theme's blog plugin. So, the actual manual integration make it duplicated:

image

Firefox, extension Want my RSS

Otherwise, since its version 1.12, the plugin proposes the JSON feed in addition to the RSS. Not so well known as its XML alternative, it's handled by numerous feed readers and JSON is generally lived as more readable.

Disclaimer: I'm the maintainer of the RSS plugin.

Related previous PR: #14105 by @miketheman

According to https://guts.github.io/mkdocs-rss-plugin/integrations/#automatically-set-with-material-theme, the RSS feed is automatically referenced by the Material theme's blog plugin.

Since its version 1.12, the plugin proposes the JSON feed in addition to the RSS. Not so well known as its XML alternative, it's handled by numerous feed readers and JSON is generally lived as more readable.

Disclaimer: I'm the maintainer of the RSS plugin.
@Guts Guts requested a review from a team as a code owner April 30, 2024 11:26
@miketheman miketheman added the blog Related to the Blog label May 8, 2024
@miketheman miketheman changed the title fix(docs): remove duplicate RSS feed and add JSON feed fix(blog): remove duplicate RSS feed and add JSON feed May 8, 2024
@miketheman
Copy link
Member

Thanks for this - we also set a link to the feed in the footer here:

- icon: material/rss
link: https://blog.pypi.org/feed_rss_created.xml

Would that need to change as well?

@Guts
Copy link
Contributor Author

Guts commented May 9, 2024

Thanks for this - we also set a link to the feed in the footer here:

- icon: material/rss
link: https://blog.pypi.org/feed_rss_created.xml

Would that need to change as well?

No, the social hyperlinks in the footer are completely manual and do not interfere with the HTML templates.

Copy link
Member

@miketheman miketheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, passed my evaluation - now shows non-duplicate feeds.

@miketheman miketheman enabled auto-merge (squash) May 9, 2024 13:49
@miketheman miketheman merged commit 52aaa2d into pypi:main May 9, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blog Related to the Blog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants