changeset 137:d3291e4150a2

Another br after items in feed.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 03 Apr 2014 16:20:36 +0200
parents 9238e6fff8da
children c791f4e9be39
files newsfeed.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/newsfeed.py	Thu Apr 03 16:11:55 2014 +0200
+++ b/newsfeed.py	Thu Apr 03 16:20:36 2014 +0200
@@ -60,11 +60,11 @@
     oa('<br>')
     actor = item["actor"]
     #oa("<a href="+item["object"]["links"]["self"]["href"]+">more...</a>")
-    oa('<span style="font-size:smaller; margin-bottom:1em">')
+    oa('<span style="font-size:smaller>')
     oa('<a href="'+actor["url"]+'">'+actor["displayName"]+'</a>')
     #oa(item["content"])
     if verb == "share":
-        oa(' via <a href="'+item["object"]["url"]+'">'+item["object"]["author"]["displayName"]+'</a><br/>')
+        oa(' via <a href="'+item["object"]["url"]+'">'+item["object"]["author"]["displayName"]+'</a><br>')
     #if verb == "share":
     #   oa(' via <a href="'+item["object"]["author"]["url"]+'">'+item["object"]["author"]["displayName"]+'</a>')
 
@@ -72,6 +72,7 @@
     date = time.strptime(item["updated"],"%Y-%m-%dT%H:%M:%SZ")
     oa(time.strftime(" %d.%m.%Y um %H:%M:%S", date))
     oa('</span>')
+    oa('<br>')
     oa("</li>")
 
 oa("</ul>")
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)