From 715066eb931b0b74afb8746e0cf0d263ddedc7b3 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 25 May 2021 15:28:14 +0700 Subject: Bundle full content in RSS feed --- _rss/head.xml | 12 ++++-------- _rss/item.xml | 31 +++++++++---------------------- 2 files changed, 13 insertions(+), 30 deletions(-) (limited to '_rss') diff --git a/_rss/head.xml b/_rss/head.xml index 4c9f62b..28f4204 100644 --- a/_rss/head.xml +++ b/_rss/head.xml @@ -20,17 +20,13 @@ rss_file variable in your config file if you want to use something different tha xmlns:georss="http://www.georss.org/georss"> - - <![CDATA[ {{fd2rss website_title}} ]]> - - {{website_url}} - - - + <![CDATA[{{fd2rss website_title}}]]> + {{website_url}} + + type="application/rss+xml"/> - - <![CDATA[ {{fd2rss rss_title}} ]]> - - {{fd_full_url}} - {{fd_full_url}} + <![CDATA[{{fd2rss rss_title}}]]> + {{fd_full_url}} + {{fd_full_url}} - + {{if rss_full_content}} - + {{end}} {{RFC822 rss_pubdate}} - - {{isnotempty rss_author}} - {{rss_author}} - {{end}} + {{isnotempty rss_author}}{{rss_author}}{{end}} {{isnotempty author}} {{author}} {{end}} - {{isnotempty rss_category}} - {{rss_category}} - {{end}} - - {{isnotempty rss_comments}} - {{rss_comments}} - {{end}} - - {{isnotempty rss_enclosure}} - {{rss_enclosure}} - {{end}} + {{isnotempty rss_category}}{{rss_category}}{{end}} + {{isnotempty rss_comments}}{{rss_comments}}{{end}} + {{isnotempty rss_enclosure}}{{rss_enclosure}}{{end}} -- cgit 1.4.1