rss atom w3c compliant - cl-yag - Common Lisp Yet Another website Generator
 (HTM) git clone git://bitreich.org/cl-yag/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/cl-yag/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 2266a8168f065f2b1311edee3999fcf9373cfaf7
 (DIR) parent e37816fdaba64ea82b138e9d4678d556f8c7f20d
 (HTM) Author: solene rapenne <solene@dataswamp.org>
       Date:   Thu, 19 May 2016 17:02:32 +0200
       
       rss atom w3c compliant
       
       Diffstat:
         M template/rss-item.tpl               |       7 ++++++-
         M template/rss.tpl                    |       4 ++--
       
       2 files changed, 8 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/template/rss-item.tpl b/template/rss-item.tpl
       @@ -1,5 +1,10 @@
        <item>
          <title>%%Title%%</title>
       -  <description>%%Description%%</description>
       +  <description>
       +    <![CDATA[
       +%%Description%%
       +    ]]>
       +  </description>
       +  <guid>%%Url%%</guid>
          <link>%%Url%%</link>
        </item>
 (DIR) diff --git a/template/rss.tpl b/template/rss.tpl
       @@ -1,10 +1,10 @@
        <?xml version="1.0" encoding="UTF-8"?> 
       -<rss version="2.0">
       +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
          <channel>
            <title>%%Title%%</title>
            <description>%%Description%%</description>
            <link>%%Url%%</link>
       -
       +    <atom:link href="%%Url%%rss.xml" rel="self" type="application/rss+xml" />
            %%Items%%
          </channel>
        </rss>