Sha256: 1990668d8b9c135408fb95a5b0e324df3f8b63f7037b330e9a882519e14e831d
Contents?: true
Size: 981 Bytes
Versions: 9
Compression:
Stored size: 981 Bytes
Contents
!!! XML %feed(xmlns='http://www.w3.org/2005/Atom') %title(type='text')= @title %generator(uri='http://effectif.com/nesta') Nesta %id= atom_id %link(href="#{base_url}/articles.xml" rel='self') %link(href=base_url rel='alternate') %subtitle(type='text')= @subtitle - if @articles[0] %updated= @articles[0].date(:xmlschema) - if @author %author - if @author['name'] %name= @author['name'] - if @author['uri'] %uri= @author['uri'] - if @author['email'] %email= @author['email'] - @articles.each do |article| %entry %title= article.heading %link{ :href => url_for(article), :type => 'text/html', :rel => 'alternate' } %id= atom_id(article) %content(type='html')&= find_and_preserve(absolute_urls(article.body)) %published= article.date(:xmlschema) %updated= article.date(:xmlschema) - article.categories.each do |category| %category{ :term => category.permalink }
Version data entries
9 entries across 9 versions & 2 rubygems