<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/css" href="/public/css/rss.css" ?>
<rss version="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title><%-: config.title | cdata %></title>
<link><%- encodeURI(url) %></link>
<script xmlns="http://www.w3.org/1999/xhtml" src="/public/js/rss.js"></script>
<atom:link href="<%- encodeURI(feed_url) %>" rel="self" type="application/rss+xml"/>
<description><%-: config.description | cdata %></description>
<pubDate><%= posts.first().updated.toDate().toString() %></pubDate>
<generator>http://hexo.io/</generator>
<% posts.each(function(post){ %>
<item>
<title><%-: post.title | cdata %></title>
<link><%- encodeURI(url + post.path) %></link>
<guid><%- encodeURI(url + post.path) %></guid>
<pubDate><%= post.date.toDate().toString() %></pubDate>
<description>
<% if (post.description){ %><%-: post.description | cdata %>
<% } else if (post.excerpt){ %><%-: post.excerpt | cdata %>
<% } else {%><%-: post.content.substring(0, 140) | cdata %><% } %>
</description>
<content:encoded><% if (post.description){ %><%-: post.description | cdata %>
<% } else if (post.excerpt){ %><%-: post.excerpt | cdata %>
<% } else {%><%-: post.content.substring(0, 140) | cdata %><% } %></content:encoded>
<% if (post.comments){ %><comments><%- encodeURI(url + post.path) %>#disqus_thread</comments><% } %>
</item>
<% }) %>
</channel>
</rss>