Add post body to RSS feed
This commit is contained in:
parent
3e4e3d84d6
commit
4628cab3f8
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ return function(posts)
|
||||||
return xml.item {
|
return xml.item {
|
||||||
xml.title(post.head.title);
|
xml.title(post.head.title);
|
||||||
xml.description(post.head.description);
|
xml.description(post.head.description);
|
||||||
|
xml.content {
|
||||||
|
type="html";
|
||||||
|
post.body;
|
||||||
|
};
|
||||||
xml.link(link);
|
xml.link(link);
|
||||||
xml.guid(link);
|
xml.guid(link);
|
||||||
xml.pubDate(os.date("%d %b %Y", post.head.timestamp));
|
xml.pubDate(os.date("%d %b %Y", post.head.timestamp));
|
||||||
|
|
Loading…
Reference in a new issue