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

Infra: Link RSS to website not feed #3976

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Sep 19, 2024

The RSS feed https://peps.python.org/peps.rss starts:

<?xml version='1.0' encoding='UTF-8'?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Newest Python PEPs</title>
    <link>https://peps.python.org/peps.rss</link>
    <description>Newest Python Enhancement Proposals (PEPs): Information on new language features and some meta-information like release procedure and schedules.</description>
    <atom:link href="https://peps.python.org/peps.rss" rel="self"/>
    <docs>https://cyber.harvard.edu/rss/rss.html</docs>
    <language>en</language>
    <lastBuildDate>Wed, 18 Sep 2024 12:01:25 GMT</lastBuildDate>
    <item>
      <title>PEP 757: C API to import-export Python integers</title>
      <link>https://peps.python.org/pep-0757/</link>
      <description>Add a new C API to import and export Python integers, int objects: especially PyLongWriter_Create() and PyLong_Export() functions.</description>
      <author>Sergey B Kirpichev ([email protected]), Victor Stinner ([email protected])</author>
      <guid isPermaLink="true">https://peps.python.org/pep-0757/</guid>
      <pubDate>Fri, 13 Sep 2024 00:00:00 GMT</pubDate>
    </item>

The channel <link>https://peps.python.org/peps.rss</link> should be to the website, not the feed:

Element Description Example
title The name of the channel. It's how people refer to your service. If you have an HTML website that contains the same information as your RSS file, the title of your channel should be the same as the title of your website. GoUpstate.com News Headlines
link The URL to the HTML website corresponding to the channel. http://www.goupstate.com/
description Phrase or sentence describing the channel. The latest news from GoUpstate.com, a Spartanburg Herald-Journal Web site.

https://www.rssboard.org/rss-specification#requiredChannelElements


📚 Documentation preview 📚: https://pep-previews--3976.org.readthedocs.build/

@hugovk hugovk added the infra Core infrastructure for building and rendering PEPs label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Core infrastructure for building and rendering PEPs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant