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

Mention RSS Autodiscovery in RSS Guide #6802

Closed
tylermercer opened this issue Feb 6, 2024 · 2 comments · Fixed by #7108
Closed

Mention RSS Autodiscovery in RSS Guide #6802

tylermercer opened this issue Feb 6, 2024 · 2 comments · Fixed by #7108
Labels
add new content Document something that is not in docs. May require testing, confirmation, or affect other pages.

Comments

@tylermercer
Copy link
Contributor

tylermercer commented Feb 6, 2024

📚 Subject area/topic

RSS guide

📋 Suggested page

https://docs.astro.build/en/guides/rss/

📋 General description or bullet points (if proposing new content)

Something like this, as a new section before the Next Steps section in the RSS guide.

Enabling auto-discovery of your RSS feed

RSS autodiscovery, as explained by the RSS Advisory Board, is "a technique that makes it possible for browsers and other software to automatically find a site's RSS feed."

All you need to do is add a link tag to your site's head element, like so:

<link
    rel="alternate"
    type="application/rss+xml"
    title="Your Site's Title"
    href={`${Astro.site}rss.xml`}
/>

After you've done this, your readers can put your site's base URL into their RSS reader to subscribe to your posts, without having to find the specific URL of your RSS feed!

🖥️ Reproduction of code samples in StackBlitz

No response

@tylermercer tylermercer added the add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. label Feb 6, 2024
@tylermercer
Copy link
Contributor Author

I've made this change on a fork of this repo, but didn't open a PR since the CONTRIBUTING.md says to start with an issue. 🙂

@sarah11918
Copy link
Member

Hi @tylermercer ! This sounds like a great addition! We would welcome a PR with this guidance, and a link to the spec. Thank you for your patience as we work through issues, and I appreciate you filing an issue to discuss first! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add new content Document something that is not in docs. May require testing, confirmation, or affect other pages.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@sarah11918 @tylermercer and others