gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[www_shared] branch master updated: fix RSS syntax


From: gnunet
Subject: [www_shared] branch master updated: fix RSS syntax
Date: Fri, 03 Jul 2020 11:01:32 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository www_shared.

The following commit(s) were added to refs/heads/master by this push:
     new a9d1fb0  fix RSS syntax
     new e037b35  Merge branch 'master' of git+ssh://git.gnunet.org/www_shared
a9d1fb0 is described below

commit a9d1fb0e7cf8f7c98418ebf539ed029b857e6f9c
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jul 3 10:55:43 2020 +0200

    fix RSS syntax
---
 rss.xml.j2 | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/rss.xml.j2 b/rss.xml.j2
index b996cdd..77106f6 100644
--- a/rss.xml.j2
+++ b/rss.xml.j2
@@ -1,12 +1,20 @@
 {#
-# Copyright (C) 2019 GNUnet e.V.
+# Copyright (C) 2019, 2020 GNUnet e.V.
 #
 # This code is derived from code contributed to GNUnet eV
-# by ng0 <ng0@n0.is>.
+# by nikita <nikita@n0.is>.
 #
-# Permission to use, copy, modify, and/or distribute this software for any 
purpose with or without fee is hereby granted.
+# Permission to use, copy, modify, and/or distribute this software for
+# any purpose with or without fee is hereby granted.
 #
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 
SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER 
RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE 
USE OR PERFORMANCE OF THIS SOFTWARE.
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+# WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+# WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
+# AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
+# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
+# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+# PERFORMANCE OF THIS SOFTWARE.
 #
 # SPDX-License-Identifier: 0BSD
 #}
@@ -14,7 +22,7 @@
 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom";>
   {% for siteconfitem in siteconf %}
     <channel>
-      <atom:link href="https://{{ siteconfitem['baseurl'] }}/{{ lang }}{{ 
siteconfitem['newsloc'] }}rss.xml" rel="self" type="application/rss+xml" />
+      <atom:link href="https://{{ siteconfitem['baseurl'] }}/{{ lang 
}}rss.xml" rel="self" type="application/rss+xml" />
       <title>{{ siteconfitem['rsstitle'] }}</title>
       <language>{{ lang }}</language>
       <description>{{ siteconfitem['rssdescr']|e }}</description>
@@ -29,9 +37,9 @@
           <description>
             <![CDATA[
              <article>
-               {{ newspostitem['content'] }}
+               newspostitem['content']
              </article>
-             ]]>
+             ]]/>
           </description>
         </item>
       {% endfor %}

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]