feed.xml.html (1323B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="<%- language -%>"> 3 <title><%- siteurl:match('^%w+://([^/]+)') -%> ~ <%- title -%></title> 4 <% if description then %> 5 <subtitle><%- description -%></subtitle> 6 <% end %> 7 <id><%- id -%></id> 8 <link href="<%- dirlink -%>index.xml" rel="self" type="application/atom+xml" /> 9 <link href="<%= permalink -%>" rel="alternate" /> 10 <link href="https://creativecommons.org/licenses/by/2.5/ca/deed.fr" rel="license" /> 11 <updated><%- os.date('%Y-%m-%dT%H:%M:%S', time_modified_child) -%>Z</updated> 12 <author> 13 <name><%- author.name -%></name> 14 <email><%- author.email -%></email> 15 <uri><%- author.uri -%></uri> 16 </author> 17 18 <% if children then %> 19 <% for i = 1, #children do %> 20 <entry> 21 <title><%- children[i].title -%></title> 22 <id><%- children[i].id -%></id> 23 <link href="<%= children[i].permalink -%>" hreflang="<%= children[i].language -%>" rel="alternate" type="text/html" /> 24 <published><%= children[i].date -%>T<%= children[i].datetime -%>Z</published> 25 <updated><%- os.date('%Y-%m-%dT%H:%M:%S', children[i].time_modification) -%>Z</updated> 26 <content type="html"> 27 <%= children[i].content -%> 28 </content> 29 </entry> 30 <% end %> 31 <% end %> 32 </feed>