Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ title : Atom Feed
<feed xmlns="http://www.w3.org/2005/Atom">

<title>{{ site.title }}</title>
<link href="{{ site.production_url }}/{{ site.atom_path }}" rel="self"/>
<link href="{{ site.production_url }}/{{ site.JB.atom_path }}" rel="self"/>
<link href="{{ site.production_url }}"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.production_url }}</id>
<id>{{ site.production_url }}/</id>
<author>
<name>{{ site.author.name }}</name>
<email>{{ site.author.email }}</email>
Expand All @@ -19,10 +19,10 @@ title : Atom Feed
<entry>
<title>{{ post.title }}</title>
<link href="{{ site.production_url }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<updated>{% if post.updated == null %}{{ post.date | date_to_xmlschema }}{% else %}{{ post.updated | append: '@10am' | date_to_xmlschema }}{% endif %}</updated>
<id>{{ site.production_url }}{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}

</feed>
</feed>
12 changes: 6 additions & 6 deletions rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ title : RSS Feed
---

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title }}</title>
<description>{{ site.title }} - {{ site.author.name }}</description>
<link>{{ site.production_url }}{{ site.rss_path }}</link>
<link>{{ site.production_url }}</link>
<lastBuildDate>{{ site.time | date_to_xmlschema }}</lastBuildDate>
<pubDate>{{ site.time | date_to_xmlschema }}</pubDate>
<link>{{ site.production_url }}{{ site.JB.rss_path }}</link>
<atom:link href="{{ site.production_url }}{{ site.JB.rss_path }}" rel="self" type="application/rss+xml" />
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<ttl>1800</ttl>

{% for post in site.posts %}
Expand All @@ -20,7 +20,7 @@ title : RSS Feed
<description>{{ post.content | xml_escape }}</description>
<link>{{ site.production_url }}{{ post.url }}</link>
<guid>{{ site.production_url }}{{ post.id }}</guid>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
</item>
{% endfor %}

Expand Down