master
Castro0o 10 years ago
parent 95c0b40a1b
commit d156b2d4e0

@ -121,7 +121,7 @@ def pandoc2html(mw_content):
gallery_exp=re.compile('<gallery>(.*?)</gallery>', re.S) gallery_exp=re.compile('<gallery>(.*?)</gallery>', re.S)
imgfile_exp=re.compile('(File:(.*?)\.(gif|jpg|jpeg|png))') imgfile_exp=re.compile('(File:(.*?)\.(gif|jpg|jpeg|png|svg))')
def replace_gallery(content): def replace_gallery(content):
content = re.sub(imgfile_exp, '[[\g<1>]]', content) #add [[ ]] to File:.*? content = re.sub(imgfile_exp, '[[\g<1>]]', content) #add [[ ]] to File:.*?

@ -102,7 +102,7 @@
&lt;div class="item video flash"&gt;&lt;img src="img/project_roel2.png"&gt;&lt;/div&gt; &lt;div class="item video flash"&gt;&lt;img src="img/project_roel2.png"&gt;&lt;/div&gt;
&lt;div class="item narrative"&gt;&lt;img src="img/project_andre.jpeg"&gt;&lt;/div--> &lt;div class="item narrative"&gt;&lt;img src="img/project_andre.jpeg"&gt;&lt;/div-->
<div class="item" data-creator="Max Dovey" data-date="2015" data-title="User:Max Dovey/maxgradbio" id="Extra"><a class="work" href="2015-Max_Dovey.html"><img class="work" src="http://pzwiki.wdka.nl/mw-mediadesign/images/1/16/Pointer.gif"></a></div><div class="item" data-creator="Luther Blisset" data-date="2015" data-title="Qq" id="Extra"><a class="work" href="2015-Luther_Blisset.html"><img class="work" src="http://pzwiki.wdka.nl/mw-mediadesign/images/thumb/8/85/Luther-blissett-300.jpg/500px-Luther-blissett-300.jpg"></a></div><div class="item" data-creator="Artyom" data-date="2015" data-title="Artyom-graduation-work" id="Extra"><a class="work" href="2015-Artyom.html"><img class="work" src="http://pzwiki.wdka.nl/mw-mediadesign/images/thumb/6/6a/Screen_Shot_2014-10-26_at_16.10.08.jpg/500px-Screen_Shot_2014-10-26_at_16.10.08.jpg"></a></div><div class="item" data-creator="Joseph Knierzinger" data-date="2015" data-title="User:Joak/graduation/catalog1" id="Extra"><a class="work" href="2015-Joseph_Knierzinger.html"><img class="work" src="http://pzwiki.wdka.nl/mw-mediadesign/images/1/16/Pointer.gif"></a></div><div class="item" data-creator="Ana Luísa Moura" data-date="2015" data-title="The Aesthetics of Ethics" id="Extra"><a class="work" href="2015-Ana_Lusa_Moura.html"><img class="work" src="http://pzwiki.wdka.nl/mw-mediadesign/images/b/bd/Collage_007_thumbnail.jpg"></a></div><div class="item" data-creator="Lucia Dossin" data-date="2015" data-title="Mina" id="Extra"><a class="work" href="2015-Lucia_Dossin.html"><img class="work" src="http://pzwiki.wdka.nl/mw-mediadesign/images/5/59/3legs.jpg"></a></div><div class="item" data-creator="Henk-Jelle de Groot" data-date="2015" data-title="U ntitled" id="Extra"><a class="work" href="2015-Henk-Jelle_de_Groot.html"><img class="work" src="http://pzwiki.wdka.nl/mw-mediadesign/images/e/e7/9m4MBqRM1w-6.png"></a></div></div> <div class="item" data-creator="Dragana Antic" data-date="2005" data-title="Sonic Jacket" id="Extra"><a class="work" href="2005-Dragana_Antic.html"><img class="work" src=""></a></div><div class="item" data-creator="Oliver Meskawi," data-date="2005" data-title="Erreur: un parcours sinueux et imprévisible" id="Extra"><a class="work" href="2005-Oliver_Meskawi,.html"><img class="work" src=""></a></div><div class="item" data-creator="Roxana Torre," data-date="2005" data-title="Personal World Map" id="Extra"><a class="work" href="2005-Roxana_Torre,.html"><img class="work" src="http://pzwiki.wdka.nl/mw-mediadesign/images/thumb/d/d8/PersonalWorldMap01.png/500px-PersonalWorldMap01.png"></a></div><div class="item" data-creator="Alejandra Pérez Núñez," data-date="2005" data-title="Elpicoroco" id="Extra"><a class="work" href="2005-Alejandra_Prez_Nez,.html"><img class="work" src="http://pzwiki.wdka.nl/mw-mediadesign/images/4/4a/Pzigradshow2005000069.jpg"></a></div><div class="item" data-creator="Anna Andersson," data-date="2005" data-title="Movement of Moments" id="Extra"><a class="work" href="2005-Anna_Andersson,.html"><img class="work" src=""></a></div><div class="item" data-creator="Kim de Groot," data-date="2005" data-title="As We Speak" id="Extra"><a class="work" href="2005-Kim_de_Groot,.html"><img class="work" src=""></a></div><div class="item" data-creator="Dirk van Oosterbosch," data-date="2005" data-title="Intellistener" id="Extra"><a class="work" href="2005-Dirk_van_Oosterbosch,.html"><img class="work" src="http://pzwiki.wdka.nl/mw-mediadesign/images/1/18/Intellistener_Screenshot_6june.gif"></a></div><div class="item" data-creator="Tsila Hassine" data-date="2005" data-title="Ctrl-F Reader" id="Extra"><a class="work" href="2005-Tsila_Hassine.html"><img class="work" src="http://pzwiki.wdka.nl/mw-mediadesign/images/thumb/9/92/Ctrl-F_Reader01.png/500px-Ctrl-F_Reader01.png"></a></div></div>
</div> </div>
<div class="sidebarBorderLeft zwartArea" id="section03"> <div class="sidebarBorderLeft zwartArea" id="section03">

Loading…
Cancel
Save