From 541d10b1c829f58499a82accb5c8019d5f2812d4 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 22 Jul 2014 13:15:05 +0200 Subject: [PATCH 1/2] only render once per uid (not unique in feed) --- pycon14/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pycon14/__init__.py b/pycon14/__init__.py index ae94f98..2faf2a8 100644 --- a/pycon14/__init__.py +++ b/pycon14/__init__.py @@ -77,8 +77,13 @@ def debug(): # ) def tasks(queue): + uid = [] # iterate over all events extracted from the schedule xml-export for event in events(): + if event['id'] in uid: + continue + + uid.append(event['id']) # generate a task description and put them into the queue queue.put(( From bfe0f37f55341f755de92081ea996967c62ef7db Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 22 Jul 2014 13:21:11 +0200 Subject: [PATCH 2/2] support for long tites --- pycon14/artwork/intro.svg | 37 +++++++++++++------------------------ 1 file changed, 13 insertions(+), 24 deletions(-) diff --git a/pycon14/artwork/intro.svg b/pycon14/artwork/intro.svg index 241c482..584bc9e 100644 --- a/pycon14/artwork/intro.svg +++ b/pycon14/artwork/intro.svg @@ -25,9 +25,9 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="1.979899" - inkscape:cx="441.8117" - inkscape:cy="345.68203" + inkscape:zoom="1.4" + inkscape:cx="484.07583" + inkscape:cy="329.25548" inkscape:document-units="px" inkscape:current-layer="text" showgrid="false" @@ -63,11 +63,11 @@ + height="576" + id="bg" + x="0" /> @@ -79,12 +79,14 @@ id="flowRegion3006">$title $title$personnames $personnames + id="flowPara3013" />