Sha256: d534f4ae800eb084cbaf2270f4b0e521766312e29fe6232d6582be4d97d98492
Contents?: true
Size: 1.09 KB
Versions: 6
Compression:
Stored size: 1.09 KB
Contents
--- --- !!! XML %feed{ 'xml:base'=>site.base_url, 'xml:lang'=>'en-US', :xmlns=>'http://www.w3.org/2005/Atom' } %id #{site.base_url} %title #{page.title} - unless page.entries.empty? %updated= page.entries.first.date.xmlschema %link{:rel=>"alternate", :type=>"text/html", :href=>site.base_url} %link{:rel=>"self", :type=>"application/atom+xml", :href=>"#{site.base_url}#{page.url}" } - for entry in page.entries %entry %id #{site.base_url}#{entry.url} %title= escape_once( entry.title ) %updated= entry.date.xmlschema %link{:rel=>"alternate", :type=>"text/html", :href=>"#{site.base_url}#{entry.url}" } %author - if ( defined?( entry.author.name ) ) %name= entry.author.name - if ( entry.author.email ) %name= entry.author.email - else %name= entry.author %summary #{summarize( html_to_text( entry.content ), 100 )}... %content{:type=>'html'} = clean_html( escape_once( fully_qualify_urls( site.base_url, entry.content ) ) )
Version data entries
6 entries across 6 versions & 1 rubygems