<%-: config.title | cdata %> <%- encodeURI(config.url) %>/ <%-: config.description | cdata %> <%= posts.first().updated.toDate().toUTCString() %> http://hexo.io/ <% posts.each(function(post){ %> <%-: post.title | cdata %> <%- encodeURI(post.permalink) %> <%- encodeURI(post.permalink) %> <%= post.date.toDate().toUTCString() %> <% if (post.description){ %><%-: post.description | cdata %> <% } else if (post.excerpt){ %><%-: post.excerpt | cdata %> <% } else {%><%-: post.content.substring(0, 140) | cdata %><% } %> <%-: post.content | cdata %> <% if (post.comments){ %><%- encodeURI(post.permalink) %>#disqus_comments<% } %> <% }) %>