diff --git a/2017-template.html b/2017-template.html index 84a4ce8..c57c484 100644 --- a/2017-template.html +++ b/2017-template.html @@ -17,7 +17,7 @@
Piet Zwart Master Media Design Graduate Festival 2017
Graduation Show 2017:
--
Locations:
- ++
JUNE 15th 17.00-24.00: Het Nieuwe Instituut +
JUNE 16th 13.OO-21.00: KINO Cinema
+The Piet Zwart Institute houses the international Master programmes of the Willem de Kooning Academy at Hogeschool Rotterdam. Since 1999 it has been dedicated to promoting study and research in the fields of art, design and art education.
- -The Piet Zwart Institute Master Media Design & Communication is a -research orientated master programme, with a strong emphasis on the -connection between practice and theory. The course focused on -practice-led research through project-based work will equip you to -create a distinctive voice as an artist/designer in the contemporary - media landscape.
-The course is a two-year, full-time, international, English-language -study programme. It comprises six study trimesters. The first three -include thematic seminars, technical sessions and a reading, writing and -research methodologies seminar to support your developing research path. -The last three are focused on your individual graduation project with - tailored tutorial support.
- -This academic year we are establishing two new specialist study paths to -allow students to intensively engage with a particular aspect of the - contemporary media landscape: lens-based and experimental publishing.
+ +Het Nieuwe Instituut
+Museumpark 25
+3015CB
+Rotterdam
+hetnieuweinstituut.nl
+
For the first part of this festival, located at HNI, the first year students of the Experimental Publishing path will present their trimester work Interfacing the Law. Later in the evening, graduating students present their graduation projects, and discuss their practice with guests.
+17:00- 19:00 Special Issue #3: Interfacing the Law The HNI Library
+Public event, presentations of projects with guest Séverine Dusollier (SciencesPo)
+17:00 - 21:00 Mystery Tour For All Ages
+Ministry Of Anomie and volunteers
+21:30 - 22:30 Adverserial Interface Space 5th Floor
+Presentation and Q&A with Femke Snelting
+ + +KINO Cinema
+Gouvernestraat 129-133
+3014 PM Rotterdam
+kinorotterdam.nl
+
The second day of the festival is an evening of public screenings: works by first year students of the lens-based path, followed by films of graduating students.
+18.00 - 18.30 KINO GRAND Cafe
+Come and join us for drinks in the KINO GRAND Cafe
+18.30 - 19.30 Lens-Based Cohort Screening +
Works & Research In Progress
+20.00 - 22.00 Graduation Film Screenings KINO 4
+ +PZI / WDKA
+Rotterdam University of Applied Sciences
+ +Master Media Design & Communication
diff --git a/mmdc_wiki2web.py b/mmdc_wiki2web.py index 6a29a99..ff4a746 100755 --- a/mmdc_wiki2web.py +++ b/mmdc_wiki2web.py @@ -49,7 +49,7 @@ def create_page(memberpages, mode): articledict[key] = replace_video(articledict['Content']) articledict['Imgs'] = mw_page_imgsurl(site, page, articledict['Thumbnail'] ) - + pprint.pprint( articledict) page_tree = html5lib.parse(page_template, namespaceHTMLElements=False) page_title = page_tree.find('.//title') page_title.text=articledict['Title']#.decode('utf-8') @@ -73,24 +73,40 @@ def create_page(memberpages, mode): page_website.text=articledict['Website'] page_thumb = page_tree.find('.//img[@id="thumbnail"]') page_thumb.set('src', articledict['Thumbnail']) - + #print + #print ET.tostring(page_tree) + #print figures = page_tree.findall('.//figure') - for figure in figures: - img = figure.find('.//img') - figcaption = figure.find('.//figcaption') - img_src = img.get('src') - figcaption_text = figcaption.text - if figcaption_text == img_src:# remove figcation if == src - figure.remove(figcaption) - - src = (('File:'+img_src).capitalize()).decode('utf-8') - if src in articledict['Imgs'].keys(): #full-url - url = (articledict['Imgs'][src]) - print url - img.set('src', url) - - - + images = page_tree.findall('.//img') + print 'Number of imgs:', len(images) + + if len(figures) > 0: + print 'figures', figures + for figure in figures: + img = figure.find('.//img') + figcaption = figure.find('.//figcaption') + img_src = img.get('src') + print img_src + figcaption_text = figcaption.text + if figcaption_text == img_src:# remove figcation if == src + figure.remove(figcaption) + + src = (('File:'+img_src).capitalize()).decode('utf-8') + if src in articledict['Imgs'].keys(): #full-url + url = (articledict['Imgs'][src]) + print url + img.set('src', url) + else: + for img in images: + img_src = img.get('src') + print img_src + src = (('File:'+img_src).capitalize()).decode('utf-8') + if src in articledict['Imgs'].keys(): #full-url + url = (articledict['Imgs'][src]) + print url + img.set('src', url) + print ET.tostring(img) + img.set('title', (img.get('title').replace('fig:','')) ) # save work page creator = articledict['Creator'].encode('ascii', 'ignore') creator = creator.replace(' ','_') diff --git a/web/css/style.css b/web/css/style.css index 2efbb47..2f2142f 100644 --- a/web/css/style.css +++ b/web/css/style.css @@ -14,6 +14,10 @@ body { font-family: 'texgyreheroscnbold'; } +hr { + border-top: 3px black double; +} + h1, p { padding: 0; margin: 0; @@ -29,6 +33,11 @@ h2 { margin: 0; } +h2.white{ color:white; +font-size: 20px; + font-weight: bold; +} + a:visited { color:black} .hiddenOverflow{ @@ -214,12 +223,19 @@ p.colophon {5px!important;} overflow: auto; } -#sideBarDescInner p{ +#sideBarDescInner p { padding: 10px; line-height: 1.4; font-size: 16px; font-family: "inconsolata", monospace; - border-bottom: 3px double black; +} + +#sideBarDescInner li { + padding: 5px; + line-height: 1.4; + font-size: 15px; +font-family: "inconsolata", monospace; + } #sideBarDescInner a{ @@ -408,7 +424,7 @@ label{ line-height: 21px; font-size: 15px; font-family: "inconsolata", monospace; - border-bottom: 3px double black; + border-bottom:0px double black; } #sidebar { @@ -426,7 +442,7 @@ label{ .zwartAreaFull h1{ font-size: 30px; - text-indent: 20px; + text-indent: 0px; } .colophon, .highlight { diff --git a/web/index.html b/web/index.html index 111ec66..49d6837 100644 --- a/web/index.html +++ b/web/index.html @@ -52,56 +52,85 @@Piet Zwart Master Media Design Graduate Festival 2017
Graduation Show 2017:
--
Locations:
- -+
JUNE 15th 17.00-24.00: Het Nieuwe Instituut +
JUNE 16th 13.OO-21.00: KINO Cinema
+The Piet Zwart Institute houses the international Master programmes of the Willem de Kooning Academy at Hogeschool Rotterdam. Since 1999 it has been dedicated to promoting study and research in the fields of art, design and art education.
- -The Piet Zwart Institute Master Media Design & Communication is a -research orientated master programme, with a strong emphasis on the -connection between practice and theory. The course focused on -practice-led research through project-based work will equip you to -create a distinctive voice as an artist/designer in the contemporary - media landscape.
-The course is a two-year, full-time, international, English-language -study programme. It comprises six study trimesters. The first three -include thematic seminars, technical sessions and a reading, writing and -research methodologies seminar to support your developing research path. -The last three are focused on your individual graduation project with - tailored tutorial support.
- -This academic year we are establishing two new specialist study paths to -allow students to intensively engage with a particular aspect of the - contemporary media landscape: lens-based and experimental publishing.
+ +Het Nieuwe Instituut
+Museumpark 25
+3015CB
+Rotterdam
+hetnieuweinstituut.nl
+
For the first part of this festival, located at HNI, the first year students of the Experimental Publishing path will present their trimester work Interfacing the Law. Later in the evening, graduating students present their graduation projects, and discuss their practice with guests.
+17:00- 19:00 Special Issue #3: Interfacing the Law The HNI Library
+Public event, presentations of projects with guest Séverine Dusollier (SciencesPo)
+17:00 - 21:00 Mystery Tour For All Ages
+Ministry Of Anomie and volunteers
+21:30 - 22:30 Adverserial Interface Space 5th Floor
+Presentation and Q&A with Femke Snelting
+ + +KINO Cinema
+Gouvernestraat 129-133
+3014 PM Rotterdam
+kinorotterdam.nl
+
The second day of the festival is an evening of public screenings: works by first year students of the lens-based path, followed by films of graduating students.
+18.00 - 18.30 KINO GRAND Cafe
+Come and join us for drinks in the KINO GRAND Cafe
+18.30 - 19.30 Lens-Based Cohort Screening +
Works & Research In Progress
+20.00 - 22.00 Graduation Film Screenings KINO 4
+ +PZI / WDKA
+Rotterdam University of Applied Sciences
+ +