Some changes to be more precise with the Atom standard

master
kirbylife 2023-12-11 00:00:13 -06:00
parent 317f752253
commit 9cd59dbe2a
2 changed files with 8 additions and 9 deletions

View File

@ -3,9 +3,9 @@
<title>Código Comentado</title>
<link href="https://blog.kirbylife.dev" rel="alternate" />
<link href="https://blog.kirbylife.dev/atom.xml" rel="self" />
<id>"https://blog.kirbylife.dev"</id>
<id>https://blog.kirbylife.dev</id>
<subtitle>Blog personal de kirbylife</subtitle>
<updated>{{ posts.0.created_at | date(format="%Y-%m-%d") }}</updated>
<updated>{{ posts.0.created_at | date(format="%Y-%m-%dT%H:%M:%S%.3fZ") }}</updated>
<author>
<name>kirbylife</name>
<email>hola@kirbylife.dev</email>
@ -13,9 +13,9 @@
{%- for post in posts %}
<entry>
<title>{{ post.title }}</title>
<link>https://blog.kirbylife.dev/post/{{ post.title | slugify }}-{{ post.id }}</link>
<published>{{ post.created_at | date(format="%a, %d %b %Y %H:%M:%S GMT") }}</published>
<updated>{{ post.created_at | date(format="%a, %d %b %Y %H:%M:%S GMT") }}</updated>
<link href="https://blog.kirbylife.dev/post/{{ post.title | slugify }}-{{ post.id }}" />
<published>{{ post.created_at | date(format="%Y-%m-%dT%H:%M:%S%.3fZ") }}</published>
<updated>{{ post.created_at | date(format="%Y-%m-%dT%H:%M:%S%.3fZ") }}</updated>
<author>
<name>kirbylife</name>
<email>hola@kirbylife.dev</email>

View File

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="https://blog.kirbylife.dev/atom.xml">
<rss version="2.0">
<channel>
<title>Código Comentado</title>
<link>https://blog.kirbylife.dev</link>
<atom:link href="https://blog.kirbylife.dev/atom.xml" rel="self" type="application/rss+xml" />
<description>Blog personal de kirbylife</description>
<language>es-mx</language>
<webMaster>hola@kirbylife.dev</webMaster>
<managingEditor>hola@kirbylife.dev</managingEditor>
<webMaster>hola@kirbylife.dev (kirbylife)</webMaster>
<managingEditor>hola@kirbylife.dev (kirbylife)</managingEditor>
<generator>Rocket</generator>
{%- for post in posts %}
<item>