diff --git a/README b/README index 2ebc781..d4e6d98 100644 --- a/README +++ b/README @@ -5,4 +5,4 @@ The process of creating a Website for MMD&C on the backend entails 4 steps: * create JSON dictionary * create index * create pages -* (parse pages) +* (parse pages diff --git a/allworks_mmdc.json b/allworks_mmdc.json index fba243c..6d753d6 100644 --- a/allworks_mmdc.json +++ b/allworks_mmdc.json @@ -1 +1 @@ -{"9961": {"Website": "http://www.janisklimanovs.com/", "Description": "Weathering Love is a documental film that reveals an intimate story of a life-long romance.", "Creator": "Janis Klimanovs,", "Title": "Weathering_Love", "Thumbnail_url": "http://pzwiki.wdka.nl/mw-mediadesign/images/thumb/8/88/2x2_905.jpg/500px-2x2_905.jpg", "Date": "2013", "Thumbnail": "2x2 905.jpg", "Extra": "\"Listen how the winds of spring are singing, they will bring you joy and my greetings of love\u2026\" February 14, 1953, RankaWeathering Love is a documental film that reveals an intimate story of a life-long romance.Janis Klimanovs documents his grandparents, he is interested in finding out what kind of memories are most valuable to them. The film depicts an intimate portrait which reveals a true love story. His grandparents daily life is simple, and yet special, holding some magical beauty deep inside.Cinematography: Janis KlimanovsMusic: Max RichterVideo 16'45''2013Thanks to David HainesJanis Klimanovs [LV] is a photographer and video artist. Filmmaking and photography are currently his primary modes of making his ideas tangible. In his work he is interested to absorb, record and appropriate the pure innocence of daily life. His explorations translates in a mixture of still and moving images, creating meaningful metaphors. Duality and subtexts are important in his work. He is looking for another way of how to manipulate reality and tell his stories."}, "9939": {"Website": "http://consentsus.org/", "Description": "Consentus is an open research project, contributing to a critical feminist theory of consent and connecting it to collaborative production and consensus.", "Creator": "Eleanor Greenhalgh", "Title": "Consentsus", "Thumbnail_url": "http://pzwiki.wdka.nl/mw-mediadesign/images/thumb/7/7e/Stickers.JPG/500px-Stickers.JPG", "Date": "2013", "Thumbnail": "Stickers.JPG", "Extra": "Through interviews, workshops and events, Consentsus explores the questions:* What is missing from current definitions of consent? How is consent produced and manipulated?* Beyond \"yes means yes\", what would a radical theory of consent look like?* (How) could a feminist critique of consent be applied to other types of collaboration and decision-making?Consentsus is an art/activist project facilitated by Eleanor Greenhalgh, supported by the Piet Zwart Institute, Rotterdam. It will culminate in the production of a democratically-edited publication during the exhibition News from Nowhere at V2 Institute for the Unstable Media, Rotterdam, in July 2013.File:InterfacesStickers700.JPGFile:InterfacesDrink2.JPGFile:InterfacesPapers700.JPGFile:InterfacesGroup700.JPG"}, "9974": {"Description": "Detached is a series of evocative videos, with a loose narrative, that share an uncanny atmosphere. The minimal soundscape, the pace of the actions and the slow revealing of the staged situations amplify the increasing tension. In Detached, the main characters seem alienated, detached from the repetitive actions they perform. A series of secondary characters, observe or trigger the flow of events with their decisions.", "Creator": "Javier Lloret,", "Title": "Detached", "Thumbnail_url": "http://pzwiki.wdka.nl/mw-mediadesign/images/thumb/c/c0/Resizedimage600337-JavierTent1.png/500px-Resizedimage600337-JavierTent1.png", "Date": "2013", "Thumbnail": "Resizedimage600337-JavierTent1.png", "Extra": "File:Resizedimage600337-JavierTent1.pngFile:Resizedimage600337-detached-pic2.pngFile:Resizedimage600337-detached-pic3.png[[Javier Lloret - Detached series]]"}, "9975": {"Website": "http://theartworld.org/; http://jonaslund.biz/works/the-top-100-highest-ranked-curators-in-the-world/", "Description": "''The Top 100 Highest Ranked Curators In The World'' derives from a three month long process of collecting, analyzing and reorganizing online available data. By building a comprehensive art world database, consisting of artists, exhibitions, curators, galleries, institutions, writers and publishers, a curator\u2019s ranking algorithm could be written based largely on who they have worked with and where they have organised exhibitions. ''The Top 100 Highest Ranked Curators In The World'' reveals who are among the most important and influential curators in the world according to the relations in the art world database.", "Creator": "Jonas Lund,", "Title": "The_Top_100_Highest_Ranked_Curators_In_The_World", "Thumbnail_url": "http://pzwiki.wdka.nl/mw-mediadesign/images/thumb/c/c0/Theartworld-pzi3.png/500px-Theartworld-pzi3.png", "Date": "2013", "Thumbnail": "Theartworld-pzi3.png", "Extra": "100 21x30cm laser prints, aluminium frames"}, "9978": {"Description": "Based on her written thesis: The Web Cheated on Me, Marie is trying to figure out where her disappointment with the web comes from. She analyzed her webbrowser history for half a year to find out what kind of information she is looking up. Her graduation work is an audio installation based on this research.", "Creator": "Marie Wocher,", "Title": "From_Hypertext_to_Apple_Pie", "Thumbnail_url": "http://pzwiki.wdka.nl/mw-mediadesign/images/thumb/5/52/4_FromHypertextToApplePie.jpg/500px-4_FromHypertextToApplePie.jpg", "Date": "2013", "Thumbnail": "4 FromHypertextToApplePie.jpg", "Extra": "File:3 FromHypertextToApplePie.jpgFile:2 FromHypertextToApplePie.jpgFile:1 FromHypertextToApplePie.jpg"}, "9979": {"Website": "http://dvyng.com/selected/repositionmatrix/", "Description": "In The Reposition Matrix workshop series, participants are invited to investigate the use of cybernetic military systems such as unmanned aerial vehicles and the \u201cdisposition matrix\u201d, a dynamic database of intelligence that produces protocological kill-lists for the US Department of Defense. Both of these systems contribute to a supposed dematerialisation of warfare: their technologies are semi-automated, networked, and almost invisible, operating kilometers up into the sky or beyond public Freedom of Information request access.", "Creator": "Dave Young,", "Title": "The_Reposition_Matrix", "Thumbnail_url": "http://pzwiki.wdka.nl/mw-mediadesign/images/thumb/d/d4/DaveYoung-Main-image.png/500px-DaveYoung-Main-image.png", "Date": "2013", "Thumbnail": "DaveYoung-Main-image.png", "Extra": "The workshops aim to reterritorialise the drone as a physical, industrially-produced technology of war through the creation of a new world map: a 'reposition matrix' that geopolitically situates the organisations, locations, and trading networks that play a role in the production of military drone technologies.Workshop:7th July, 13.00-17.00 at V2.Participation free.Email info@movableborders.com to book a place.File:RepositionMatrixLeadImage.jpg"}} \ No newline at end of file +{"9264": {"Website": "http://pwd.io/guide/", "Description": "It\u2019s everybody\u2019s dream to rule a repressive state, but how can this be done in the digital era? This presentation focuses on all the best tips and tricks for keeping control of your population using the Internet. It\u2019s an easy-to-follow, step-by-step guide highlighting all the best practices of what dictators should do in difficult situations. It will accompany you in the obliteration of political dissidence. By having everyone agree with you, or having people believe that everyone else agrees with you, your stay at the top will be long and prosperous. Hard copies of the guide will be available too.", "Creator": "Laurier Rochon,", "Title": "The_Dictator\u2019s_Practical_Internet_Guide_to_Power_Retention", "Thumbnail_url": "http://pzwiki.wdka.nl/mw-mediadesign/images/f/fe/Lr_media1.jpg", "Date": "2012", "Thumbnail": "Lr media1.jpg", "Extra": "{{vimeo|44977056}}

The Dictator's Practical Guide to Internet Power Retention, Global Edition is a wry little 45-page booklet that is, superfically, a book of practical advice for totalitarian, autocratic and theocratic dictators who are looking for advice on how to shape their countries' Internet policy to ensure that the network doesn't loosen their grip on power.

Really, though, this is Laurier Rochon's very good critique of the state of Internet liberation technologies -- a critical analysis of what works, what needs work, and what doesn't work in the world of networked technologies that hope to serve as a force for democratization and self-determination.[http://boingboing.net/2012/08/22/the-dictators-practical-guid.html Cory Doctorow on boingboing...]

[http://www.lulu.com/shop/laurier-rochon/the-dictators-practical-internet-guide-to-power-retention/paperback/product-20216278.html lulu] [http://www.scribd.com/doc/105882261/THE-DICTATOR-S-PRACTICAL-INTERNET-GUIDE-TO-POWER-RETENTION scribd]"}, "9257": {"Description": "(re)describe is an immersive video installation that focuses on re-drawing physical spaces. This visualization, displayed on a 270 degree screen surrounding the audience, presents glimpses of the recognizable amidst an array of abstract images -sourced, generated and manipulated from physical spaces.", "Creator": "Sebastian Cimpean,", "Title": "(re)describe", "Thumbnail_url": "http://pzwiki.wdka.nl/mw-mediadesign/images/thumb/a/af/Redescribe_still1.jpg/500px-Redescribe_still1.jpg", "Date": "2012", "Thumbnail": "redescribe_still1.jpg", "Extra": "{{vimeo|46940365}}File:ReDescribe.jpg|photo by: Janis KlimanovsFile:redescribe_still1.jpgFile:redescribe_still2.jpgFile:redescribe_still3.jpgFile:redescribe_still4.jpgFile:redescribe_still5.jpgThis process started with a series of experiments: testing various software, hardware and techniques within the framework of the concept. The experiments allowed me to test the limitations of my tools and allowed me to understand the extent of what is achievable within the set parameters. Each experiment is documented and analyzed in terms of the ultimate goal of the project - perception of space. This process represents my practice based research.The research conducted weaved between various fields and subjects including the phenomenon of projected visuals, art theory, 360 degree panoramas, performances and happenings, as well as works that combine engineering, technology and art. The project was inspired by the idea of dimensions and Edwin A. Abbott\u2019s satirical novella Flatland and was synthesized within a framework of simple geometry.The following pages are a report of how this project came to life, explaining the various shapes and forms it has been through, the experiments and research that were conducted and the final form of the project as it will be presented in TENT Gallery in Rotterdam."}, "9234": {"Website": "http://pzwart3.wdka.hro.nl/wiki/User:Fako_Berkers/Fako_Berkers,_WWWonopo.ly,_2012", "Description": "People will immediately recognize the game as a variant upon Monopoly. However the streets don't represent streets in Atlantis City or any other city in the world. Instead they portray internet platforms like Facebook, Windows Live, Youtube and Twitter. When you buy part of a set you actually buy shares, bonds or derivates from these web services and although you can't buy houses or hotels you're able to buy \u201cdata storages\u201d and \u201cdata centers\u201d.", "Creator": "Fako Berkers,", "Title": "WWWonopo.ly", "Thumbnail_url": "http://pzwiki.wdka.nl/mw-mediadesign/images/thumb/c/ce/WWWonopoly_Board.png/500px-WWWonopoly_Board.png", "Date": "2012", "Thumbnail": "WWWonopoly Board.png", "Extra": "File:WWWonopoly Board.pngImage:monopoly_logoboxed.pngImage:communitychest.pngImage:platform.pngImage:offline.pngImage:provider.pngFile:Wwwonopoly.png[http://pzwart3.wdka.hro.nl/django/fberkers/finalthesis/hyperdocument/online-privacy/page/the-game Read the full Thesis]By staying very close to the game of Monopoly everybody can engage with the work immediately. Funny anecdotes about how people loose their privacy online are included through the \u201cchance\u201d and \u201ccommunity chest\u201d cards. At the same time the digital part of the game demonstrates how something as innocent as a visit to a news site, gets tracked and used to make a profit, possibly at the expanse of the visitor.People often enjoy social media, [http://www.guardian.co.uk/technology/2012/mar/03/internet-privacy but they can't assess the risk tied to them very well. WWWonopo.ly aims to make these risks visible and tangible, in a playful, funny and confronting manner. == Links ==* http://v2.infrae.com/archive/works/wwwonopo.ly/"}, "9230": {"Website": "http://monoskop.org/", "Description": "Monoskop is a collaborative wiki research on the history of media art and culture.", "Creator": "Du\u0161an Barok", "Title": "Monoskop_Library", "Thumbnail_url": "http://pzwiki.wdka.nl/mw-mediadesign/images/d/d1/Monoskop_Logo.png", "Date": "2012", "Thumbnail": "Monoskop Logo.png", "Extra": ""}} \ No newline at end of file diff --git a/mmdc_create_json.py b/mmdc_create_json.py index 7a1b3af..dad5b75 100755 --- a/mmdc_create_json.py +++ b/mmdc_create_json.py @@ -74,17 +74,37 @@ def parse_work_page(title, content): print 'THUMB:', thumburl work_dict[key]=val return work_dict + +def api_PageCategories(pageid): + '''Find all the categories, and their parent category of a page ''' + query = 'action=query&pageids={}&prop=categories'.format(pageid) + url = endpoint + query + request = urllib2.urlopen(url) + jsonp = json.loads(request.read()) + json_dic = jsonp['query']['pages'] + page_id = json_dic.keys()[0] + page_categories = json_dic[page_id][u'categories'] + all_cats = [ entry[u'title'].encode('utf-8') for entry in page_categories ] #.replace('Category:', '') + return all_cats + def api_category(category, year): #Find all pages incategory and add to allworks dictionary - ''' TODO: category intersection; With SirrusSearch''' category = category.replace(' ', '_') - if year: - api_url = endpoint + 'action=query&list=categorymembers&cmlimit=500&cmtitle=Category:{}&cmtitle=Category:{}'.format(category, year) - else: - api_url = endpoint + 'action=query&list=categorymembers&cmlimit=500&cmtitle=Category:{}'.format(category) - request = urllib2.urlopen(api_url) + apiCatMembers = endpoint + 'action=query&list=categorymembers&cmlimit=1000&cmtitle=Category:{}'.format(category) + request = urllib2.urlopen(apiCatMembers) jsonp = json.loads(request.read()) - for page in jsonp['query']['categorymembers']: + Graduation_work_Members = jsonp['query']['categorymembers'] + intersectCatMembers = [] + if year: + for member in Graduation_work_Members: + page_cats = api_PageCategories(member['pageid']) + if ('Category:{}'.format(year)) in page_cats: + print year, 'in', page_cats + intersectCatMembers.append(member)# add member to intersectCatMembers + else: + intersectCatMembers = Graduation_work_Members + + for page in intersectCatMembers: title = ((page['title']).encode('utf-8') ).replace(" ", "_") #snakecase for page titles pageid = page['pageid'] article = api_page(pageid, 'content')