Begin transition to Atom-only RSS feeds

This commit is contained in:
jultty 2024-09-01 18:39:40 -03:00
commit 05f69d9afa
7 changed files with 48 additions and 15 deletions

View file

@ -3,6 +3,6 @@
# Feeds
- All English content: [RSS](https://blog.jutty.dev/rss.xml) [Atom](https://blog.jutty.dev/atom.xml)
- Blog posts only: [RSS](https://blog.jutty.dev/posts/rss.xml) [Atom](https://blog.jutty.dev/posts/atom.xml)
- Links only: [RSS](https://blog.jutty.dev/links/rss.xml) [Atom](https://blog.jutty.dev/links/atom.xml)
- [All English content](https://blog.jutty.dev/atom.xml)
- [Blog posts only](https://blog.jutty.dev/posts/atom.xml)
- [Links only](https://blog.jutty.dev/links/atom.xml)

View file

@ -3,7 +3,6 @@
# Feeds
- Todo o conteúdo em português: [RSS](https://blog.jutty.dev/pt/rss.xml) [Atom](https://blog.jutty.dev/pt/atom.xml)
- Apenas posts: [RSS](https://blog.jutty.dev/pt/posts/rss.xml) [Atom](https://blog.jutty.dev/pt/posts/atom.xml)
- Apenas links: [RSS](https://blog.jutty.dev/pt/links/rss.xml) [Atom](https://blog.jutty.dev/pt/links/atom.xml)
- O feed de links terá apenas links com comentários (neste caso, em português). O feed principal de links ([RSS](https://blog.jutty.dev/links/rss.xml) [Atom](https://blog.jutty.dev/links/atom.xml)) é onde aparecem todos os links.
- [Todo o conteúdo em português](https://blog.jutty.dev/pt/atom.xml)
- [Apenas posts](https://blog.jutty.dev/pt/posts/atom.xml)
- [Apenas links](https://blog.jutty.dev/links/atom.xml)

View file

@ -0,0 +1,19 @@
+++
title = "[Meta] Notice on RSS feeds"
date = 2024-09-01
+++
For those subscribing to this blog's RSS feeds:
First, if you are getting links but would rather only be notified about posts, you are probably subscribed to an "all content" feed. You can find all feed options in the [feeds](/feeds) page.
Second, as per a [recent thread](https://mastodon.bsd.cafe/@jutty/113013450769036273) I started on Mastodon, I am planning on keeping only the Atom feeds in the future.
Currently, all feeds are served in two formats, for example:
- <https://blog.jutty.dev/posts/rss.xml>
- <https://blog.jutty.dev/posts/atom.xml>
On a much later date, I plan on retiring the `rss.xml` feeds, so if that's what you are subscribed to, consider changing to the equivalent `atom.xml` feed sometime in the future.
Both formats will keep working for now. The only immediate change will be that only the `atom.xml` ones will be advertised on the [feeds](/feeds) page and on HTML meta tags.

View file

@ -0,0 +1,19 @@
+++
title = "[Meta] Aviso sobre os feeds RSS"
date = 2024-09-01
+++
Para quem está assinando o feed RSS desse blog:
Primeiro, se você está recebendo links mas prefere apenas os posts, você provavelmente se inscreveu em um feed de "todo o conteúdo". Todas as opções de feeds estão na página [feeds](/feeds).
Segundo, conforme um [fio recente](https://mastodon.bsd.cafe/@jutty/113013450769036273) que fiz no Mastodon, estou planejando manter apenas os feeds Atom futuramente.
Atualmente, todos os feeds são oferecidos em dois formatos. Por exemplo:
- <https://blog.jutty.dev/posts/rss.xml>
- <https://blog.jutty.dev/posts/atom.xml>
Após um bom tempo, irei eventualmente desativar os feeds que acabam em `rss.xml`, então, se é um desses em que você se inscreveu, considere mudar para o equivalente com `atom.xml` no final.
Os dois formatos vão continuar a funcionar por hora. A única mudança imediata será que apenas os feeds `atom.xml` vão continuar listados na [página de feeds](/feeds) e nas tags de metadados do código HTML.

View file

@ -50,10 +50,8 @@
{%- set locale_all_content = "All content" %}
{%- set locale_language_name = "English" %}
{%- endif -%}
<link rel="alternate" type="application/rss+xml" title="{{ locale_all_content }}: {{ locale_language_name }} (RSS)" href="{{ get_url(path="rss.xml", lang=lang, trailing_slash=false) }}">
<link rel="alternate" type="application/rss+xml" title="{{ locale_all_content }}: {{ locale_language_name }} (Atom)" href="{{ get_url(path="atom.xml", lang=lang, trailing_slash=false) }}">
<link rel="alternate" type="application/rss+xml" title="Posts: {{ locale_language_name }} (RSS)" href="{{ get_url(path="posts/rss.xml", lang=lang, trailing_slash=false) }}">
<link rel="alternate" type="application/rss+xml" title="Posts: {{ locale_language_name }} (Atom)" href="{{ get_url(path="posts/atom.xml", lang=lang, trailing_slash=false) }}">
<link rel="alternate" type="application/rss+xml" title="{{ locale_all_content }} ({{ locale_language_name }})" href="{{ get_url(path="atom.xml", lang=lang, trailing_slash=false) }}">
<link rel="alternate" type="application/rss+xml" title="Posts ({{ locale_language_name }})" href="{{ get_url(path="posts/atom.xml", lang=lang, trailing_slash=false) }}">
{%- endblock %}
{%- block extra_head %}{% endblock %}
</head>

View file

@ -1,8 +1,7 @@
{% extends "base.html" %}
{%- block extra_head %}
<link rel="alternate" type="application/rss+xml" title="Links (RSS)" href="http://127.0.0.1:1111/links/rss.xml">
<link rel="alternate" type="application/rss+xml" title="Links (Atom)" href="http://127.0.0.1:1111/links/atom.xml">
<link rel="alternate" type="application/rss+xml" title="Links" href="http://127.0.0.1:1111/links/atom.xml">
{%- endblock %}
{%- block content %}

View file

@ -1,8 +1,7 @@
{% extends "base.html" %}
{%- block extra_head %}
<link rel="alternate" type="application/rss+xml" title="Links (RSS)" href="http://127.0.0.1:1111/links/rss.xml">
<link rel="alternate" type="application/rss+xml" title="Links (Atom)" href="http://127.0.0.1:1111/links/atom.xml">
<link rel="alternate" type="application/rss+xml" title="Links" href="http://127.0.0.1:1111/links/atom.xml">
{%- endblock %}
{%- block content %}