comparison newsfeed.py @ 135:f00a8a8d9225

Added extra break in newfeed after the author of an entry.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 03 Apr 2014 16:08:15 +0200
parents a9a3c55ef91c
children 9238e6fff8da
comparison
equal deleted inserted replaced
134:c1c0f073b4e2 135:f00a8a8d9225
62 #oa("<a href="+item["object"]["links"]["self"]["href"]+">more...</a>") 62 #oa("<a href="+item["object"]["links"]["self"]["href"]+">more...</a>")
63 oa('<span style="font-size:smaller">') 63 oa('<span style="font-size:smaller">')
64 oa('<a href="'+actor["url"]+'">'+actor["displayName"]+'</a>') 64 oa('<a href="'+actor["url"]+'">'+actor["displayName"]+'</a>')
65 #oa(item["content"]) 65 #oa(item["content"])
66 if verb == "share": 66 if verb == "share":
67 oa(' via <a href="'+item["object"]["url"]+'">'+item["object"]["author"]["displayName"]+'</a>') 67 oa(' via <a href="'+item["object"]["url"]+'">'+item["object"]["author"]["displayName"]+'</a><br/>')
68 #if verb == "share": 68 #if verb == "share":
69 # oa(' via <a href="'+item["object"]["author"]["url"]+'">'+item["object"]["author"]["displayName"]+'</a>') 69 # oa(' via <a href="'+item["object"]["author"]["url"]+'">'+item["object"]["author"]["displayName"]+'</a>')
70 70
71 # 2014-01-03T10:30:02Z 71 # 2014-01-03T10:30:02Z
72 date = time.strptime(item["updated"],"%Y-%m-%dT%H:%M:%SZ") 72 date = time.strptime(item["updated"],"%Y-%m-%dT%H:%M:%SZ")
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)