diff --git a/README.md b/README.md index 0320ab7..7ab1903 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,46 @@ -# [kulturfinder.sh](https://kulturfinder.sh) - Frontend - - - -Made by [kultursphäre.sh](https://www.kultursphaere.sh/) +# Kulturfinder - Frontend + + + Logo of kulturfinder.sh + + + + Logo of kulturfinder.bremen.de + + +Made by [Dataport](https://dataport.de) and [kultursphäre.sh](https://www.kultursphaere.sh/) + +Productions: +- [kulturfinder.sh](https://kulturfinder.sh) +- [kulturfinder.bremen.de](https://kulturfinder.bremen.de) ## Beschreibung - description -Der kulturfinder.sh ist eine Web-App, die es den Nutzer:innen ermöglicht, mobil auf ihrem Smartphone -Kulturinstitutionen in ganz Schleswig-Holstein zu finden. Geobasiert werden Kultureinrichtungen im Umkreis des -Standortes des Nutzers auf einer Landkarte angezeigt. Zu jeder Institution gibt es zudem ein Foto sowie eine -Beschreibung, die Adresse und weitere Angebote. - -The kulturfinder.sh is a web-app that enables users to find cultural institutions in Schleswig-Holstein on their mobile -devices. It uses to geodata to show users a map of nearby insitutions. A photo and description are included for each -institution as well as the address and information about other services. - -A smartphone is held in one hand. The smartphone shows the homepage of Kulturfinder.sh. +Der Kulturfinder ist eine Web-App, die es den Nutzer:innen ermöglicht, mobil auf ihrem Smartphone +Kulturinstitutionen in ganz Schleswig-Holstein, Bremen und Bremerhaven zu finden. Geobasiert werden +Kultureinrichtungen im Umkreis des Standortes des Nutzers auf einer Landkarte angezeigt. Zu jeder Institution gibt +es zudem ein Foto sowie eine Beschreibung, die Adresse und weitere Angebote. + +The Kulturfinder is a web-app that enables users to find cultural institutions throughout Schleswig-Holstein, Bremen +and Bremerhaven. Geobased cultural institutions in the vicinity of the user's location are displayed on a map. For +each institution there is a photo, description, address and other offers for each institution. + +A smartphone is held in one hand. The smartphone shows the homepage of Kulturfinder.sh. [📺 Image Video 📺](https://vimeo.com/274652974) diff --git a/bin/check_image_count.js b/bin/check_image_count.js deleted file mode 100644 index 8b6d205..0000000 --- a/bin/check_image_count.js +++ /dev/null @@ -1,55 +0,0 @@ -const fetch = require('node-fetch') - -const digiCultUrl = 'https://kultursphaere.sh/corsproxy.php?url=http://xtree-actor-api.digicult-verbund.de' -const locale = 'de'; - -(async () => { - console.log('fetching...') - - const response = await fetch(`${digiCultUrl}/getRepositoryList?portalURI=http://digicult.vocnet.org/portal/p0287&count=9999&lang=${locale}`) - const data = await response.json() - - console.log(`fetched ${data.Actor.length} institutions.`) - - for (let i = 0; i < data.Actor.length; i++) { - let institution = data.Actor[i] - - try { - const response = await fetch(`${digiCultUrl}/getRepositoryItem?id=${institution.id}&lang=${locale}`) - const data = await response.json() - - institution = data.Actor - - institution.name = institution.name.find(item => item.role === 'preferred') - if (institution.name.nameAddition) { - institution.name = institution.name.nameAddition - } else if (institution.name.label) { - institution.name = institution.name.label - } else { - institution.name = 'Unbekannter Name' - } - - // set images (by kultursphaere identifier tag) - if (institution.resource) { - institution.images = institution.resource.filter( - resource => resource.tag && resource.tag.toLowerCase().includes('kultursphäre') - ) - - institution.images.map(image => { - image.imageList = {} - image.imageList.thumbnail = image.resourceRepresentation[0].link - image.imageList.preview = image.imageList.thumbnail.replace('thumbnail', 'preview_image') - image.imageList.provided = image.imageList.thumbnail.replace('thumbnail', 'provided_image') - - return image - }) - - if (institution.images.length < 2) { - console.log(`${institution.id};${institution.name};${institution.images.length}`) - } - } - } catch (error) { - console.log(`error fetching details for ${institution.id};${institution.name}: ${error}`) - } - } -})() diff --git a/docs/logo.png b/docs/logo.png deleted file mode 100644 index 713ba39..0000000 Binary files a/docs/logo.png and /dev/null differ diff --git a/docs/logo_hb.png b/docs/logo_hb.png new file mode 100644 index 0000000..9c10a2b Binary files /dev/null and b/docs/logo_hb.png differ diff --git a/docs/logo_sh.png b/docs/logo_sh.png new file mode 100644 index 0000000..5c6bfde Binary files /dev/null and b/docs/logo_sh.png differ