diff options
Diffstat (limited to '_rss/item.xml')
-rw-r--r-- | _rss/item.xml | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/_rss/item.xml b/_rss/item.xml index 07f6506..554a7fd 100644 --- a/_rss/item.xml +++ b/_rss/item.xml @@ -17,44 +17,31 @@ We use the conservative 'only one' approach by default but you could tweak this defining your own `rss_enclosures` variable with a list of string and use that. --> <item> - <title> - <![CDATA[ {{fd2rss rss_title}} ]]> - </title> - <link> {{fd_full_url}} </link> - <guid> {{fd_full_url}} </guid> + <title><![CDATA[{{fd2rss rss_title}}]]></title> + <link>{{fd_full_url}}</link> + <guid>{{fd_full_url}}</guid> <description> - <![CDATA[ {{fd2rss rss_description}} ]]> + <![CDATA[{{fd2rss rss_description}}]]> </description> <!-- note that fd_page_html is already HTML, so we don't use fd2rss here --> {{if rss_full_content}} <content:encoded> - <![CDATA[ {{fix_relative_links fd_page_html}} ]]> + <![CDATA[{{fix_relative_links fd_page_html}}]]> </content:encoded> {{end}} <!-- RFC1123 enforces a RSS-compliant date formatting --> <pubDate>{{RFC822 rss_pubdate}}</pubDate> - <!-- if given this must be an email, see specs --> - {{isnotempty rss_author}} - <author> {{rss_author}} </author> - {{end}} + {{isnotempty rss_author}}<author>{{rss_author}}</author>{{end}} {{isnotempty author}} <atom:author> <atom:name>{{author}}</atom:name> </atom:author> {{end}} - {{isnotempty rss_category}} - <category> {{rss_category}} </category> - {{end}} - - {{isnotempty rss_comments}} - <comments> {{rss_comments}} </comments> - {{end}} - - {{isnotempty rss_enclosure}} - <enclosure> {{rss_enclosure}} </enclosure> - {{end}} + {{isnotempty rss_category}}<category>{{rss_category}}</category>{{end}} + {{isnotempty rss_comments}}<comments>{{rss_comments}}</comments>{{end}} + {{isnotempty rss_enclosure}}<enclosure>{{rss_enclosure}}</enclosure>{{end}} </item> |