|
|
@ -174,6 +174,7 @@ class Publications(Bureau):
|
|
|
|
entry = feed.entries.pop()
|
|
|
|
entry = feed.entries.pop()
|
|
|
|
entry.source = feed.feed.title
|
|
|
|
entry.source = feed.feed.title
|
|
|
|
entry.dbhash = self._make_shorturl(entry.link)
|
|
|
|
entry.dbhash = self._make_shorturl(entry.link)
|
|
|
|
|
|
|
|
entry.svg = code128.svg("PBr." + entry.dbhash)
|
|
|
|
if hasattr(entry, "media_thumbnail"):
|
|
|
|
if hasattr(entry, "media_thumbnail"):
|
|
|
|
entry.img = entry.media_thumbnail[-1]["url"]
|
|
|
|
entry.img = entry.media_thumbnail[-1]["url"]
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|