Skip to content

Instantly share code, notes, and snippets.

@danielcooper
Created July 15, 2012 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielcooper/3118892 to your computer and use it in GitHub Desktop.
Save danielcooper/3118892 to your computer and use it in GitHub Desktop.
RSS usage
{% rss source: http://rubysource.com/feed/%}
<article class='main rss_list'>
<h1>{{ feed.title }}</h1>
{% for item in feed.items limit:3%}
<section>
<h1><a href='{{item.link}}'>{{item.title}}</a></h1>
<p>{{item.description}}</p>
</section>
<hr/>
{%endfor%}
</article>
{% endrss %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment