Introduction
Introduction Statistics Contact Development Disclaimer Help
rss atom w3c compliant - cl-yag - Common Lisp Yet Another website Generator
git clone git://bitreich.org/cl-yag/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws…
Log
Files
Refs
Tags
README
LICENSE
---
commit 2266a8168f065f2b1311edee3999fcf9373cfaf7
parent e37816fdaba64ea82b138e9d4678d556f8c7f20d
Author: solene rapenne <[email protected]>
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(-)
---
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>
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>
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.