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

View File

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