gnunet-svn
[Top][All Lists]
Advanced

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

[www_shared] 09/19: rss2.0 spec.


From: gnunet
Subject: [www_shared] 09/19: rss2.0 spec.
Date: Sat, 25 Jan 2020 11:29:24 +0100

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

ng0 pushed a commit to branch master
in repository www_shared.

commit 1dc65315af4dbe083b222995944245ab7272329d
Author: ng0 <address@hidden>
AuthorDate: Thu Nov 14 01:48:38 2019 +0000

    rss2.0 spec.
---
 rss.xml.j2 | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/rss.xml.j2 b/rss.xml.j2
index bdd9b69..29e06a0 100644
--- a/rss.xml.j2
+++ b/rss.xml.j2
@@ -8,21 +8,21 @@
       <description>{{ siteconfitem['rssdescr']|e }}</description>
       <link>https://{{ siteconfitem['baseurl'] }}/</link>
       <lastBuildDate>{{ now }}</lastBuildDate>
+      {% for newspostitem in newsposts %}
+        <item>
+          <guid>https://{{ siteconfitem['baseurl'] }}/{{ lang }}{{ 
siteconfitem['newsloc'] }}{{ newspostitem['page'] }}</guid>
+          <link>https://{{ siteconfitem['baseurl'] }}/{{ lang }}{{ 
siteconfitem['newsloc'] }}{{ newspostitem['page'] }}</link>
+          <pubDate>{{ conv_date_rfc822(newspostitem["date"]) }}</pubDate>
+          <title>{{ newspostitem['title']|e }}</title>
+          <description>
+            <![CDATA[
+             <article>
+               {{ newspostitem['content'] }}
+             </article>
+             ]]>
+          </description>
+        </item>
+      {% endfor %}
     </channel>
-    {% for newspostitem in newsposts %}
-      <item>
-        <guid>https://{{ siteconfitem['baseurl'] }}/{{ lang }}{{ 
siteconfitem['newsloc'] }}{{ newspostitem['page'] }}</guid>
-        <link>https://{{ siteconfitem['baseurl'] }}/{{ lang }}{{ 
siteconfitem['newsloc'] }}{{ newspostitem['page'] }}</link>
-        <pubDate>{{ conv_date_rfc822(newspostitem["date"]) }}</pubDate>
-        <title>{{ newspostitem['title']|e }}</title>
-        <description>
-          <![CDATA[
-          <article>
-          {{ newspostitem['content'] }}
-          </article>
-          ]]>
-        </description>
-      </item>
-    {% endfor %}
   {% endfor %}
 </rss>

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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