diff --git a/__pycache__/daapinterface.cpython-37.pyc b/__pycache__/daapinterface.cpython-37.pyc new file mode 100644 index 0000000..47794fc Binary files /dev/null and b/__pycache__/daapinterface.cpython-37.pyc differ diff --git a/daapinterface.py b/daapinterface.py index 4ad0efc..133ef13 100644 --- a/daapinterface.py +++ b/daapinterface.py @@ -31,22 +31,46 @@ sparql3 = SPARQLWrapper("https://query.daap.bannerrepeater.org/proxy/wdqs/bigdat @app.route("/") def home(): # this doesn't show any results yet because I just added the data and I guess the query builder needs to be reloaded again, but the query code should work correctly. + # sparql.setQuery(''' + # SELECT ?work ?workLabel ?image ?date ?dateadded + # WHERE { + # SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } + # ?work wdt:P1 wd:Q1; + # wdt:P87 ?dateadded. + # OPTIONAL { ?work wdt:P30 ?image. } + # OPTIONAL { ?work wdt:P13 ?date. } + # FILTER(?work != wd:Q57) + # } + # ORDER BY (?dateadded) + # LIMIT 24 + # ''') + # sparql.setReturnFormat(JSON) + # results = sparql.query().convert() + # return render_template('home.html', results=results) sparql.setQuery(''' - SELECT ?work ?workLabel ?image ?date ?dateadded - WHERE { - SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } - ?work wdt:P1 wd:Q1; - wdt:P87 ?dateadded. - OPTIONAL { ?work wdt:P30 ?image. } - OPTIONAL { ?work wdt:P13 ?date. } - FILTER(?work != wd:Q57) - } - ORDER BY (?dateadded) - LIMIT 24 + SELECT ?work ?workLabel ?image ?date WHERE { + SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } + ?work wdt:P1 wd:Q1. + OPTIONAL { ?work p:P30 ?statement. + ?statement ps:P30 ?image; + pq:P54 wd:Q90.} + OPTIONAL { ?work wdt:P13 ?date. } + FILTER(?work != wd:Q57) +} +ORDER BY (?workLabel) ''') sparql.setReturnFormat(JSON) results = sparql.query().convert() - return render_template('home.html', results=results) + # print(results) + for publication in results["results"]["bindings"]: + publication_title = publication["workLabel"]["value"] + publication_uri = publication["work"]["value"] + #if key exists + if "date" in publication: + publication_date = publication["date"]["value"] + if "image" in publication: + publication_image = publication["image"]["value"] + return render_template('browsethearchive.html', results=results) @app.route("/browsethearchive") diff --git a/static/css/style.css b/static/css/style.css index 790a9ed..59f5b74 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -155,11 +155,11 @@ div#footer-title-socials{ grid-area: 1 / 3 / 2 / 4; } -div#footer-title-subscribe{ +div#footer-title-contact{ grid-area: 1 / 4 / 2 / 5; } -div#footer-title-br p, div#footer-title-others p, div#footer-title-subscribe p, div#footer-title-socials p{ +div#footer-title-br p, div#footer-title-others p, div#footer-title-contact p, div#footer-title-socials p{ text-transform: uppercase; font-family: 'Roboto Condensed', sans-serif; color:#7f7f7f; @@ -200,10 +200,23 @@ div#footer-socials-links a{ font-family: 'Roboto Condensed', sans-serif; } -div#footer-subscribe{ +div#footer-contact{ grid-area: 2 / 4 / 3 / 5; padding-top: 5%; - +} +div#contactform{ + background-color: #1B42D8; + width: 250px; + height: 55px; + border-radius: 6px; + display: flex; + align-items: center; + justify-content: center; +} +div#footer-contact a{ + text-decoration: none; + color: #FFFFFF; + font-weight: bold; } @@ -253,9 +266,15 @@ input.submitemail{ /*Titles all pages*/ -div#home-recent-title, div#browsethearchive-title, div#artistsindex-title, div#publishersindex-title, div#selfpublishedindex-title, div#zinesindex-title{ +/*div#home-recent-title, div#browsethearchive-title, div#artistsindex-title, div#publishersindex-title, div#selfpublishedindex-title, div#zinesindex-title, */ +div.pagetitle{ margin-top: 60px; margin-bottom: 30px; + font-size: 25px; + font-family: 'Roboto Condensed', sans-serif; + font-weight: bold; + text-transform: uppercase; + margin-left: 81px; } /******************************************************/ @@ -298,12 +317,6 @@ tbody tr th.description{ font-size: 16px; } -/* Titles */ -div#artistsindex-title, div#publishersindex-title, div#selfpublishedindex, div#zinesindex-title{ - font-weight: bold; - font-size: 25px; - font-family: 'Roboto Condensed', sans-serif; -} /************ RECENTLY ADDED + HOME ************/ @@ -317,15 +330,7 @@ div#home-top-div{ border:blue solid 1px; } -/*Recent stuff*/ -div#home-recent-title{ - font-size: 25px; - font-family: 'Roboto Condensed', sans-serif; - font-weight: bold; - max-width: 90%; - margin: 0 auto; - padding-left: 20px; -} + img.home-recent-imgs{ /*max-height: 200px;*/ width: 200px; @@ -389,11 +394,7 @@ img.browsethearchive-imgs{ width: 200px; } -div#browsethearchive-title{ - font-size: 25px; - font-family: 'Roboto Condensed', sans-serif; - font-weight: bold; -} + div.browsethearchive-items{ display: inline-block; @@ -530,16 +531,20 @@ img.person_creatorof-imgs{ /************ ABOUT ************/ -div#about-intro{ - text-align: center; - padding-top: 5em; -} -div#about-intro h3, div#about-intro p { - text-align: center; - width: 50%; - margin: auto; +div#about-content{ + padding-left: 81px; + padding-right: 81px; + } +div#about-content-top{ +} +div#about-content-top-left{ + +} +div#about-content-top-right{ + +} /************ TUTORIALS ************/ div#tutorials-intro{ diff --git a/static/imgs/Pages/mockup_page_artwork-min.jpg b/static/imgs/Pages/mockup_page_artwork-min.jpg new file mode 100644 index 0000000..37b4048 Binary files /dev/null and b/static/imgs/Pages/mockup_page_artwork-min.jpg differ diff --git a/templates/about.html b/templates/about.html index 854adc8..598a92d 100644 --- a/templates/about.html +++ b/templates/about.html @@ -1,13 +1,100 @@ {% extends "layout.html" %} {% block content %} -
-

ABOUT

-

About page upcoming

-
+ +
About: Digital Archive of Artists Publishing (DAAP)
+
-
-
+
+
The Digital Archive of Artists Publishing (DAAP) is an interactive, user-driven, searchable database of Artists’ Books and publications, that acts as a hub to engage with others, built by artists, publishers, and a community of producers in contemporary Artists’ Publishing, developed via an ethically driven design process and open-data methodology. +
+
+ +
+ +
+ +
+
Introduction to the project
+ +
+ A collaborative project, with the support of Wikimedia UK, DAAP is inspired by the site of Banner Repeater’s public Archive of Artists’ Publishing on Hackney Downs train station, with 11,000 people passing a day, in response to the need for a similarly dynamic approach to archiving in an online context.

+ + We have drawn upon the working knowledge of users and archivists alike, to develop a database with sufficient complexity, whilst remaining searchable, that affords multiple histories to develop, confronting issues of authorship and representation, whilst addressing the challenges of cataloguing often deliberately difficult to categorise materials. With an emphasis on inclusivity from the start, we aim to privilege anecdotal histories and multiple perspectives alongside factual data, whilst the wiki style approach means that users can upload their own material, single items, or entire collections, choosing appropriate sharing permissions at time of upload.

+ + DAAP is committed to challenging the politics of traditional archives that come of issues regarding inclusion and accessibility, from a post-colonial, critical gender and LGBTQI perspective. The project will work to ensure an equitable and ethical design process occurs throughout the archive development. +
+
+ +
+
Introduction to the digital infrastructure
+ +
+ DAAP brings together scholars and practitioners in the field of art, artist’s publishing and creative technology to set a precedent for modelling bespoke and non-standardised artist publications as linked data. Linked open data is data that is machine-readable, published online following specific interoperability standards, and published with an open license thus enabling others to connect to it.

+ + Utilising the open-source software Wikibase, DAAP brings to the surface new and unexpected data connections across diverse collection artefacts, providing a resource to link to other archives, and communities, whilst visualisation tools offer exciting visual diagrams for in-depth research. DAAP implements a custom frontend interface on top of the Wikibase database, which follows familiar user interface metaphors, increasing accessibility across a broader audience.

+ + Wikibase is part of a family of applications maintained by the Wikimedia Foundation, an international non-profit supporting public knowledge platforms such as Wikipedia and Wikidata. DAAP’s installation of Wikibase benefits from the technical affordances of the public platform Wikidata:

+ +
    +
  • storing structured data;
  • +
  • using a flexible linked-data-compliant model for developing bibliographic data about publications;
  • +
  • capacity for multiple users to contribute to the database;
  • +
  • version control;
  • +
  • sophisticated querying options and visualizations provided via Wikidata Query Service tools.
  • +
+ + In addition to the structured data in the database, DAAP takes advantage of the possibility to connect archive records held in Wikibase to regular wiki text pages, so that long-form anecdotal narratives can sit alongside factual data. At the same time, due to its independence from Wikidata, DAAP also serves as a space of more open experimentation – where data is modelled and tested with active users within a community of subject specialists (artists, self-publishers, librarians, academics, students, etc). +
+
+ +
+
Our ethical standpoint
+
+ Artists' Publishing is incredibly complex, to the extent that each item could almost warrant a new category of its own, making visible the challenges in sharing deliberately difficult to categorise material.

+ + The project has developed through an interrogation of how an informed use of open-source linked data technology can be utilised towards a more ethically driven archival process.

+ + Utilising a linked data database for the digital platform enables data to be structured in flexible ways, which can grow and develop organically around community needs, rather than conforming to rigid, pre-existing bibliographic standards. Traditional ‘standards’ aim to structure bibliographic data in ways that make it possible to find publications online, but as is increasingly clear, technology is not neutral, with an active tendency to reproduce existing bias’ and discriminations already existing in the world today. How search criteria, and other structural aspects of archiving contribute to this, is an ongoing conversation that drives the development of the archive, drawing from the experiences of users, archivists and technologists, alike.

+ + The native features of the linked data environment have been activated within a communal practice, in order for the project to support an equitable, and ethical design process throughout the archive development. This in itself, is a vital and ongoing conversational process, in which mistakes can be made, discussed and rectified. Workshops have facilitated much of these conversations so far, with a host of users, as well as experts, joining in discussion and debate, which will continue as the archive continues to grow.

+ + DAAP developed from critique regarding the extractive relations of digital neo-colonialisms, as well as historical colonialisms, since 2010, and we are strongly committed to challenging the politics of traditional archives that come of issues regarding inclusion and accessibility, from a post-colonial, critical gender and LGBTQI perspective.

+ +

Telegram channel

+ We have initiated a dedicated Telegram group to facilitate discussions around data entry and the ethics of archiving in between the workshop sessions. Get in touch if you’d like to join the channel. + +

Code of conduct

+ We enforce a strict Code of Conduct throughout our public events both in person and online. Read the full CoC text here. +
+
+ + +
+
Our Team
+
+ The Artists' Publishing team is led by artist and writer Ami Clarke, founder of Banner Repeater, curator of the arts programme and Un-Publish series, joined by experts in Artists' Publishing: Arnaud Desjardin of The Everyday Press, and Marcus Campbell Books and author of The Book on Books on Artists' Books, Gustavo Grandal Montero librarian and researcher at UAL, curator of The Special Collections at Chelsea College of Arts Library - the oldest and one of the largest artists' books collection in the UK, and editor of the Art Libraries Journal, and, curator and digital archivist Dr Karen Di Franco who produced Book Works digital archive, and recently having been awarded her AHRC Collaborative Doctoral Candidate, University of Reading & Tate Britain.

+ + The Technical team is led by digital designer and UX researcher Lozana Rossenova, currently completing her PhD in Digital Archive Design at the Centre for the Study of the Networked Image, in collaboration with leading digital art organization Rhizome. She brings her UX design and data modeling expertise developed during her PhD research and her professional practice in working with born-digital archives and linked open data (LOD) standards. The technical team is joined by Julie Boschat Thorez as lead developer on the project and brings technical expertise from working on archival and conservation projects with leading digital artists and art organizations from the Netherlands, such as LIMA and Varia collective. Paulien Hosang has developed the visual design for the archive’s interface, drawing on experience working for non-profit clients at digital agencies both in the UK and the Netherlands.

+ + The Artists’ Publishing team is also joined by historian, archivist and writer Frances Whorrall-Campbell (MA) and artist Cicilia Östholm (PhD student, Fine Art/Humanities RCA), co-initiator of equal voices in the room? who will help guide important ways to address bias and inequality through technological intervention, to undermine dominance and hegemonies based on gender binaries and the Western canon. Over the years important contributions have been made to the archival process, by several Banner Repeater volunteers, most recently of whom have done considerable work: Charlie Pritchard, Ariel Finch, Amelia Claringbull, Louise Rutledge, and Nína Óskarsdóttir, Maša Škrinjar kindly funded by an Erasmus scheme. +
+
+ +
+
A project by Banner Repeater with the support of Wikimedia UK.
+
+ Banner Repeater is an artist-led org: experimental project space and reading room with a public Archive of Artists’ Publishing, founded in 2010 by artist Ami Clarke. The project is driven by its location, on Hackney Downs train station, platform 1, dedicated to developing critical art in the natural interstice the platform and incidental footfall of over 11,000 passengers a day provides.

+ + Banner Repeater works with artists to develop new works, through an ambitious exhibition programme installed in a highly visible and accessible project space, with a programme of events, talks, and performances, to introduce discussion and encourage debate of key issues in art today. The reading room holds a permanently sited public Archive of Artists’ Publishing that provides an important bibliographic resource that all visitors to BR can browse, alongside the Digital Archive of Artists’ Publishing - a tool as well as an electronic commons for the exchange of detailed information.

+ + Networked strategies underpin everything that we do, pioneering a hybrid way of working in critically engaged contemporary art practice through the strong symbiosis between the experiments in text and publishing held in the public Archive of Artists’ Publishing on platform 1 Hackney Downs, and artistic practices engaging in networked strategies today.

+ + Banner Repeater is supported by Arts Council England, The Elephant Trust, The British Council, Chelsea Arts Club Trust, The Goethe Institut, Transport for London, Arriva Rail, ACoRP, The Community Rail Network, Del Chopo Museum Mexico City, The Italian Institute of Culture, London. BR was initially supported by a grant from the Empty Shop Fund, Arts in Empty Spaces, Hackney Council in 2010. +
+
+ +
diff --git a/templates/artistsindex.html b/templates/artistsindex.html index e4a09c8..cc80b74 100644 --- a/templates/artistsindex.html +++ b/templates/artistsindex.html @@ -1,7 +1,7 @@ {% extends "layout.html" %} {% block content %} -
INDEX OF ARTIST
+
INDEX OF ARTIST
diff --git a/templates/artwork.html b/templates/artwork.html index fb9844f..c7d9553 100644 --- a/templates/artwork.html +++ b/templates/artwork.html @@ -23,13 +23,13 @@ -
+
Go to backend to see live data
- + {% endblock content %} \ No newline at end of file diff --git a/templates/browsethearchive.html b/templates/browsethearchive.html index a8195c7..014c3f7 100644 --- a/templates/browsethearchive.html +++ b/templates/browsethearchive.html @@ -2,7 +2,7 @@ {% block content %}
-
BROWSE THE ARCHIVE
+
BROWSE THE ARCHIVE
diff --git a/templates/home.html b/templates/home.html index d509844..1093958 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,9 +1,11 @@ {% extends "layout.html" %} {% block content %} -
+
+ +
-
RECENTLY ADDED WORKS
+
RECENTLY ADDED WORKS
diff --git a/templates/layout-later.html b/templates/layout-later.html new file mode 100644 index 0000000..b58c47b --- /dev/null +++ b/templates/layout-later.html @@ -0,0 +1,78 @@ + + + + + + D.A.A.P + + + + + + + + + + + {% block content %} + {% endblock content %} + + + + + + + + + \ No newline at end of file diff --git a/templates/layout.html b/templates/layout.html index b5a411a..0b8f959 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -21,7 +21,7 @@ DIGITAL ARCHIVE OF ARTISTS' PUBLISHING
@@ -29,10 +29,10 @@ @@ -61,12 +61,12 @@

Facebook

Twitter

Instagram

-

Email address

+

Email address

- - + +
diff --git a/templates/publishersindex.html b/templates/publishersindex.html index bcd40be..0c37510 100644 --- a/templates/publishersindex.html +++ b/templates/publishersindex.html @@ -1,7 +1,7 @@ {% extends "layout.html" %} {% block content %} -
INDEX OF PUBLISHERS
+
INDEX OF PUBLISHERS
diff --git a/templates/selfpublishedindex.html b/templates/selfpublishedindex.html index 53b05ac..407fe98 100644 --- a/templates/selfpublishedindex.html +++ b/templates/selfpublishedindex.html @@ -1,7 +1,7 @@ {% extends "layout.html" %} {% block content %} -
INDEX OF PUBLISHERS
+
INDEX OF PUBLISHERS
diff --git a/templates/zinesindex.html b/templates/zinesindex.html index 42cf782..4feed32 100644 --- a/templates/zinesindex.html +++ b/templates/zinesindex.html @@ -1,7 +1,7 @@ {% extends "layout.html" %} {% block content %} -
INDEX OF ZINES
+
INDEX OF ZINES