Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve feed.xml.

  • Loading branch information...
commit b65fb27f6e64ba35d61f697a247c3a5d8c9bb3d9 1 parent 6e87d86
@XhmikosR XhmikosR authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 feed.xml
View
9 feed.xml
@@ -1,6 +1,7 @@
---
layout: nil
---
+
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
@@ -14,16 +15,16 @@ layout: nil
<title xml:lang="en">{{ site.name}}</title>
<atom:link type="application/atom+xml" href="{{ site.url }}/feed.xml" rel="self"/>
<link>{{ site.url }}/</link>
- <pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
- <lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
+ <pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
+ <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<language>en-US</language>
<generator>Jekyll v{{ jekyll.version }}</generator>
<description>{{ site.feed_description }}</description>
{% for post in site.posts limit:10 %}
<item>
- <title>{{ post.title }}</title>
+ <title>{{ post.title | xml_escape }}</title>
<link>{{ site.url }}{{ post.url }}</link>
- <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
+ <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<dc:creator>{{ post.author }}</dc:creator>
{% for tag in post.tags %}
<category>{{ tag | xml_escape }}</category>
Please sign in to comment.
Something went wrong with that request. Please try again.