Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
RSS Feed for Jekyll (feed/index.xml) - paulstamatiou.com
---
layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="text" xml:lang="en">{{ site.root_desc }}</title>
<link type="application/atom+xml" href="http://paulstamatiou.com/feed/" rel="self"/>
<link type="text" href="http://paulstamatiou.com" rel="alternate"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://paulstamatiou.com</id>
<author>
<name>Paul Stamatiou</name>
</author>
<rights>Copyright (c) 2005-2011, Paul Stamatiou; all rights reserved.</rights>
{% for post in site.posts limit:20 %}
<entry>
<title>{{ post.title }}</title>
<link href="http://paulstamatiou.com{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>http://paulstamatiou.com{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}{% include rss_footer.html %}</content>
</entry>
{% endfor %}
</feed>
@siscia

This comment has been minimized.

Show comment Hide comment
@siscia

siscia Jun 23, 2013

How do you use it ?
You just put the file into the main directory ?
(Talking about a jekyll running on github...)

siscia commented Jun 23, 2013

How do you use it ?
You just put the file into the main directory ?
(Talking about a jekyll running on github...)

@ge

This comment has been minimized.

Show comment Hide comment
@ge

ge Jun 29, 2013

I second siscla's comment. Why go to the trouble of posting this without explaining how to use it? And do you have a sample rss_footer.html file anywhere? Where do you place this file? How does jekyll know to put it in a feed directory? Help us here, Paul.

ge commented Jun 29, 2013

I second siscla's comment. Why go to the trouble of posting this without explaining how to use it? And do you have a sample rss_footer.html file anywhere? Where do you place this file? How does jekyll know to put it in a feed directory? Help us here, Paul.

@asselinpaul

This comment has been minimized.

Show comment Hide comment
@asselinpaul

asselinpaul Jun 30, 2013

To use it, follow this guideline: https://github.com/snaptortoise/jekyll-rss-feeds

To use it, follow this guideline: https://github.com/snaptortoise/jekyll-rss-feeds

@keith

This comment has been minimized.

Show comment Hide comment
@keith

keith Jul 8, 2013

This file works simply like all other Jekyll files. Drop it in the main directory, name it something like atom.xml and it will be generated with your site. Then you can link to it if you'd like just how you would any other page.

keith commented Jul 8, 2013

This file works simply like all other Jekyll files. Drop it in the main directory, name it something like atom.xml and it will be generated with your site. Then you can link to it if you'd like just how you would any other page.

@jonschlinkert

This comment has been minimized.

Show comment Hide comment
@jonschlinkert

jonschlinkert Oct 22, 2013

lol people get angry when someone gives you free code

lol people get angry when someone gives you free code

@bolo1729

This comment has been minimized.

Show comment Hide comment
@bolo1729

bolo1729 May 14, 2014

Works like a charm. Thanks a lot!

Works like a charm. Thanks a lot!

@Pithikos

This comment has been minimized.

Show comment Hide comment
@Pithikos

Pithikos Jan 7, 2015

@jonschlinkert code without comments or instructions is just pollution. It's like having 1000 (bad) trees hiding the 10 golden ones in the forest.

Pithikos commented Jan 7, 2015

@jonschlinkert code without comments or instructions is just pollution. It's like having 1000 (bad) trees hiding the 10 golden ones in the forest.

@zerosteady

This comment has been minimized.

Show comment Hide comment
@zerosteady

zerosteady Jun 7, 2015

Cool..!! thanks for this 😃

Cool..!! thanks for this 😃

@elizabethsiegle

This comment has been minimized.

Show comment Hide comment
@elizabethsiegle

elizabethsiegle Jul 25, 2015

thank youuu 👍

thank youuu 👍

@julien51

This comment has been minimized.

Show comment Hide comment
@julien51

julien51 Dec 22, 2015

Think about adding PubSubHubbub too: in the <head> section add:

    <link rel="hub" href="http://pubsubhubbub.superfeedr.com/" />

Think about adding PubSubHubbub too: in the <head> section add:

    <link rel="hub" href="http://pubsubhubbub.superfeedr.com/" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment