Update rss.xml and atom.xml #157

wants to merge 2 commits into


None yet

4 participants

dieyushi commented May 7, 2013

update those two file to match RSS 2.0 Specification and RFC 4287.

@Lax Lax commented on the diff Jun 4, 2013
-{% for post in site.posts %}
+{% for post in site.posts limit:15 %}
Lax Jun 4, 2013 Contributor

I think it's better to give an option in _config.yml, like named rss_limit.

dieyushi commented Jun 4, 2013

@Lax yeah, it's better.

@fujii fujii referenced this pull request May 25, 2014

Fix feeds #215

@Miguelos Miguelos commented on the diff May 27, 2014
<title>{{ post.title }}</title>
<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: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
Miguelos May 27, 2014 Contributor

I'm using the liquid template date _to_rfc822 (http://jekyllrb.com/docs/templates/)[http://jekyllrb.com/docs/templates/]:

               <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>

Source in #215

@groundh0g groundh0g added this to the v 0.5.0 milestone Apr 4, 2015
@groundh0g groundh0g self-assigned this Apr 4, 2015

Unfortunately, it's been too long to merge this PR as-is. I've made the edits from #157 and #215 locally and am testing tonight. Hope to commit and close soon. Thanks for your contribution. Sorry for the delay in accepting it.


Testing is complete. Works as expected. Thanks for the patch! Will merge the changes to master soonish.

@groundh0g groundh0g added a commit to groundh0g/jekyll-bootstrap that referenced this pull request May 23, 2015
@groundh0g groundh0g Incorporates #157 from @dieyushi and #215 from @miguelos. In a nutshe…
…ll: limit RSS feeds to 20, correct some bathing issues, format timestamps, shorten TTL.

Incorporated into #272.

@groundh0g groundh0g closed this May 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment