Skip to content

Commit

Permalink
update config-files #14 (#15)
Browse files Browse the repository at this point in the history
* update config-files

* update metadata fields; add objects for testing

* modify config-nav.csv
  • Loading branch information
koilebeit authored Feb 12, 2024
1 parent 7fb750f commit d7cb583
Show file tree
Hide file tree
Showing 27 changed files with 80 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Gemfile.lock

# Ignore objects directory to avoid committing binary files (other than demo files)
# if you would like to commit your objects to github, delete the line below!
objects/
# objects/
22 changes: 11 additions & 11 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ source-code: https://github.com/Stadt-Geschichte-Basel/forschung.stadtgeschichte
# SITE SETTINGS
#
# title of site appears in banner
title: CollectionBuilder CSV
title: Stadt.Geschichte.Basel
# tagline, a short phrase that will appear throughout the site in the top banner
tagline: Digital Collection Magic with Static Web Technologies
tagline: Forschung, Quellen und Daten zur Geschichte der Stadt Basel
# description appears in meta tags and other locations
# this description might appear in search result lists, keep around 160 characters max
description: "CollectionBuilder-CSV is a template for creating digital collection exhibits using static web technology."
description: "Auf der Forschungsdatenplattform von Stadt.Geschichte.Basel finden Sie nachnutzbare Quellen und Daten zur Geschichte der Stadt Basel."
# keywords, a short list of subjects describing the collection, separated by semicolon, to appear in rich markup
keywords: idaho;history;inland northwest
keywords: basel;history;stadtgeschichte
# creator of the digital collection, to appear in meta tags; we typically use our GitHub usernames but feel free to just use your name
author: CollectionBuilder
author: Stadt.Geschichte.Basel

##########
# COLLECTION SETTINGS
#
# Set the metadata for your collection (the name of the CSV file in your _data directory that describes the objects in your collection)
# Use the filename of your CSV **without** the ".csv" extension! E.g. _data/demo-metadata.csv --> "demo-metadata"
metadata: demo-compoundobjects-metadata
metadata: sgb-metadata
# page generation settings [optional!]
# [optional: only used if you need to tweak CB defaults or generate from more than one data file]
# page_gen:
Expand All @@ -50,10 +50,10 @@ metadata: demo-compoundobjects-metadata
# Enter information for your organization (replacing the CDIL links and name below) if you'd like to brand your site with a logo
# To remove the branding, comment out these values, or delete them.
#
organization-name: "Center for Digital Inquiry and Learning (CDIL)"
organization-link: https://cdil.lib.uidaho.edu/
organization-logo-banner: https://cdil.lib.uidaho.edu/storying-extinction/assets/img/cdil.png
organization-logo-nav: https://cdil.lib.uidaho.edu/assets/img/logo.png
organization-name: "Stadt.Geschichte.Basel"
organization-link: https://stadtgeschichtebasel.ch/
organization-logo-banner: assets/img/logo.svg
organization-logo-nav: assets/img/logo.svg

##########
# GOOGLE SERVICES [optional!]
Expand All @@ -67,7 +67,7 @@ organization-logo-nav: https://cdil.lib.uidaho.edu/assets/img/logo.png
# ROBOTS EXCLUDE
#
# set noindex to true if you do NOT want Google to index your site
# noindex: true
noindex: true

##########
# BUILD SETTINGS
Expand Down
10 changes: 5 additions & 5 deletions _data/config-browse.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
field,display_name,btn,hidden,sort_name
date,Date,,,Date
creator,Creator,,,
subject,,true
location,,true
identifier,,,true,Identifier
date,Datum,,,Datum
subject,Themen,true,,
era,Epoche,true,,
creator,,,true,
publisher,,,true,
7 changes: 3 additions & 4 deletions _data/config-map.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
field,display_name,search
date,Date,true
creator,Creator,true
subject,Subjects,true
location,Location,true
date,Datum,true
creator,Ersteller:in,true
subject,Themen,true
33 changes: 20 additions & 13 deletions _data/config-metadata.csv
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
field,display_name,browse_link,external_link,dc_map,schema_map
title,Title,,,DCTERMS.title,headline
creator,Creator,,,DCTERMS.creator,creator
date,Date Created,,,DCTERMS.date,dateCreated
description,Description,,,DCTERMS.description,description
subject,Subjects,true,,DCTERMS.subject,keywords
location,Location,,,,contentLocation
latitude,Latitude,,,,
longitude,Longitude,,,,
source,Source,,,,
identifier,Source Identifier,,,,
type,Type,,,DCTERMS.type,
format,Format,,,,encodingFormat
rightsstatement,,,,DCTERMS.rights,license
objectid,Identifikator,,,DCTERMS.identifier,identifier
title,Titel,,,DCTERMS.title,headline
subject,Thema,true,,DCTERMS.subject,keywords
description,Beschreibung,,,DCTERMS.description,description
creator,Ersteller:in,,,DCTERMS.creator,creator
publisher,Rechteinhaber:in,true,,DCTERMS.publisher,publisher
date,Datum,,,DCTERMS.date,dateCreated
era,Epoche,true,,DCTERMS.temporal,
type,Typ,,,DCTERMS.type,
format,Format,,,DCTERMS.format,encodingFormat
extent,Umfang,,,DCTERMS.extent,
source,Quelle,,,DCTERMS.source,
language,Sprache,true,,DCTERMS.language,inLanguage
relation,Zugeordnete Ressource,,,,
rights,Rechte,,,DCTERMS.rights,usageInfo
license,Lizenz,,true,DCTERMS.license,license
iiif,IIIF-Manifest,,,,
hasVersion,Version,,,DCTERMS.hasVersion,version
isPartOf,Teil von,true,,DCTERMS.isPartOf,isPartOf
isReferencedBy,Referenziert durch,,,DCTERMS.isReferencedBy,
14 changes: 7 additions & 7 deletions _data/config-nav.csv
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
display_name,stub,dropdown_parent
Home,/,
Browse,/browse.html,
Subjects,/subjects.html,
Locations,/locations.html,
Map,/map.html,
Timeline,/timeline.html,
Data,/data.html,
About,/about.html,
Sammlung,/browse.html,
Themen,/subjects.html,
Zeitachse,/timeline.html
Daten,
Sammlung,/data.html,Daten
Zenodo,https://zenodo.org/communities/stadt-geschichte-basel/,Daten
Bibliografie,https://www.zotero.org/groups/5004193/stadt.geschichte.basel/,Daten
2 changes: 1 addition & 1 deletion _data/config-search.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ date,true,true
creator,true,false
description,true,true
subject,true,true
location,true,false
era,true,true
8 changes: 4 additions & 4 deletions _data/config-table.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
field,display_name
title,Title
date,Date
description,Description
subject,Subjects
title,Titel
date,Datum
description,Beschreibung
subject,Themen
6 changes: 6 additions & 0 deletions _data/sgb-metadata.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
objectid,filename,title,subject,description,creator,publisher,date,era,type,format,extent,source,language,relation,rights,license,,hasVersion,isPartOf,isReferencedBy,display_template,object_location,image_small,image_thumb,image_alt_text
abb13578,abb13578.tif,"Plakat zur Völkerschau in Basel, 1926",Kolonialismus; Imperialismus; Rassismus; Öffentlichkeit; Kultur,"Im Zeitraum zwischen 1879 und 1935 fanden im Basler Zoo 21 sogenannte «Völkerschauen» statt, in denen Menschen aus verschiedenen Kulturen gezeigt wurden. Dahinter stand ein rassistisches, imperialistisches und kolonialistischen Menschenbild. Die in den Werbeplakaten verwendete Bildsprache stellte die Menschen als «wild», «kriegerisch» und «exotisch» dar, was zu einer Aufrechterhaltung von negativen Stereotypen führte. Die Schauen waren in der Ideologie der «Rassentheorie» verwurzelt, die eine Überlegenheit der europäischen Bevölkerung gegenüber anderen Kulturen behauptete. Diese Überzeugung liess es akzeptabel erscheinen, die Menschen als blosse Objekte zur Belustigung des Publikums zu behandeln.",,StaBS Q2324698,1926,Zeitgeschichte,Image,image/tiff,23376 x 30371,StaBs BSL 1001 N 7,DE,https://dls.staatsarchiv.bs.ch/records/135592,print und print digital (2022-),https://creativecommons.org/publicdomain/mark/1.0/,,,,,,objects/abb13578.tif,objects/small/abb13578_sm.jpg,objects/thumbs/abb13578_th.jpg,
abb40689,abb40689.tif,Schnitzerei am Chorgestühl des Basler Münsters,Antisemitismus; Judentum; Kunst; Religion; Kirche,"Ein Schnitzwerk im Chorgestühl des Basler Münsters aus der Zeit um 1380 zeigt eine beleidigende Darstellung von jüdischen Personen. Das Bild zeigt zwei Personen, die Milch direkt von einer Sau trinken, was eine Karikatur des jüdischen Nahrungstabus für Schweine ist. Dieses Motiv hat eine lange Geschichte von ausgrenzenden und beleidigenden Darstellungen jüdischer Menschen, die bis ins 13. Jahrhundert zurück reicht.",,Denkmalpflege Basel Stadt Q27479725,1384/1390,Mittelalter,Image,image/tiff,3887 x 3619,Sammlung Münsterfoto,,,Foto Hans Grunert,https://rightsstatements.org/page/InC-RUU/1.0/?language=de,,,,,,objects/abb40689.tif,objects/small/abb40689_sm.jpg,objects/thumbs/abb40689_th.jpg,
abb19619,abb19619.tif,Hie Basel Hie Schweizer Boden - Liste 3,Politik; Rassismus; Diskurs; Nationalismus; Nationalstaat; Sozialismus; Werbung ,"Das undatierte Wahlplakat der Bürger- und Gewerbepartei (BGP), das von Otto Plattner erstellt wurde, spiegelt die ideologischen Auswirkungen des Generalstreiks wider. Die bürgerliche Partei versuchte, dem Aufstieg der Kommunistischen Partei (KP) entschieden entgegenzutreten und nutzte dabei rassistische Darstellungen: Auf dem Plakat wird das Schreckgespenst des Kommunismus als eine gewalttätige und ungesunde Menschenmenge dargestellt, die als Bedrohung für die Schweiz und ihre Bürger:innen angesehen wird.",Otto Plattner Q1748710,"Plakatsammlung, Schule für Gestaltung ",1925~,Zeitgeschichte,Image,image/tiff,2877 x 4096,CH-000957-X:4432,Schweizerdeutsch ,https://commons.wikimedia.org/wiki/File:CH-000957-X-4432_Plattner.tif,Wikimedia Commons,https://creativecommons.org/publicdomain/mark/1.0/,,,,,,objects/abb19619.tif,objects/small/abb19619_sm.jpg,objects/thumbs/abb19619_th.jpg,
abb21535,abb21535.jpeg,"Die ausländische Wohnbevölkerung von Basel-Stadt nach Heimatnation, 1920–1965",Asyl; Migration; Minderheit; Integration; Heimat; Gesellschaft; Gesetz,"Die vorliegende Statistik bietet Informationen über den prozentualen Anteil der Bevölkerung im Kanton Basel-Stadt, der im Zeitraum von 1920 bis 1965 eine deutsche, französische oder italienische Staatsbürgerschaft besass. Der grau schraffierte Bereich repräsentiert die «übrigen Nationalitäten»",Stadt.Geschichte.Basel Q122442230,Stadt.Geschichte.Basel Q122442230,1920/1965,Zeitgeschichte,Image,image/jpeg,1450 x 788,,DE,,Public Domain,https://creativecommons.org/publicdomain/mark/1.0/,,,,,,objects/abb21535.jpeg,objects/small/abb21535.jpeg_sm.jpg,objects/thumbs/abb21535.jpeg_th.jpg,
abb42444,abb42444.jpeg,Plan mit Verteilung jüdischer Häuser,Antisemitismus; Judentum; Gesellschaft; Wohnen; Stadt,"Die Karte zeigt die Verteilung von jüdischen Häusern, Gemeinden, Synagogen sowie Friedhöfen im mittelalterlichen Basel. Die erste jüdische Gemeinde ist im Zeitraum von 1200 bis Anfang 1349 datiert und die zweite Gemeinde zwischen 1362 und 1397. Beide Gemeinden besassen eine Synagoge und einen Friedhof. Am 16. Januar 1349 wurde die erste Gemeinde vernichtet. Im Zusammenhang der Pestepidemie wurde die jüdische Gemeinschaft der angeblichen ""Brunnenvergiftung"" bezichtigt und deshalb auf einer Rheininsel bei Basel ermordet. Solche Anklagen und anschliessende Ermordungen fanden zu dieser Zeit nicht nur in Basel statt. Ab 1362 siedelten sich wieder vermehrt jüdische Familien in Basel an. Der Standort der Synagoge hatte sich wohl aufgrund Beschlagnahmung und Enteignung der Synagoge der ersten Gemeinde verschoben. Sie lag nun in der Grünpfahlgasse. ",Stadt.Geschichte.Basel Q122442230,Stadt.Geschichte.Basel Q122442230,1398,Mittelalter,Image,image/jpeg,1421 x 1004,,DE,,Public Domain,https://creativecommons.org/publicdomain/mark/1.0/,,,,,,objects/abb42444.jpeg,objects/small/abb42444.jpeg_sm.jpg,objects/thumbs/abb42444.jpeg_th.jpg,
10 changes: 5 additions & 5 deletions _data/theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#
# featured image is used in home page banner and in meta markup to represent the collection
# use either an objectid (from an item in this collect), a relative location of an image in this repo, or a full url to an image elsewhere
featured-image: demo_001
featured-image:
# optional: add extra padding around collection title for a larger image feature.
home-title-y-padding: 12em # the margin from the top your title portion will appear.
home-title-y-padding: 10em # the margin from the top your title portion will appear.
# optional: change position of background image, center, top, bottom
home-banner-image-position: center # Default is top

Expand All @@ -23,7 +23,7 @@ browse-buttons: true # true / false, adds previous/next arrows to items, but inc
##########
# SUBJECTS PAGE
#
subjects-fields: subject;creator # set of fields separated by ; to be featured in the cloud (leave blank or comment out to not generate)
subjects-fields: subject # set of fields separated by ; to be featured in the cloud (leave blank or comment out to not generate)
subjects-min: 1 # min size for subject cloud, too many terms = slow load time!
subjects-stopwords: # set of subjects separated by ; that will be removed from display, e.g. boxers;boxing

Expand Down Expand Up @@ -59,7 +59,7 @@ year-nav-increment: 5 # set increments to auto gen nav years
#
# add metadata fields for export in data downloads (tip: paste in first row of csv)
# comma delimited list, reference url is automatic
metadata-export-fields: "title,creator,date,description,subject,location,latitude,longitude,source,identifier,type,format,language,rights,rightsstatement"
metadata-export-fields: "title,creator,date,description,subject,source,identifier,type,format,language,rights,rightsstatement"
# generate a facets list for given fields, comma delimited
metadata-facets-fields: "subject,creator,format"

Expand Down Expand Up @@ -95,7 +95,7 @@ navbar-background: bg-dark
bootswatch: # leave blank or comment out for plain bootstrap

# THEME FONTS [optional!]
base-font-size: 1.2em
base-font-size: 1em
text-color: "#191919"
link-color: "#0d6efd"
base-font-family: # comment out for bootstrap defaults. e.g. Roboto
Expand Down
1 change: 1 addition & 0 deletions assets/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added objects/ABB40689.tif
Binary file not shown.
Binary file added objects/abb13578.tif
Binary file not shown.
Binary file added objects/abb19619.tif
Binary file not shown.
Binary file added objects/abb21535.jpeg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added objects/abb42444.jpeg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions objects/object_list.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
filename,object_location,image_small,image_thumb
210a.jpg,/objects/210a.jpg,/objects/small/210a_sm.jpg,/objects/thumbs/210a_th.jpg
210b.jpg,/objects/210b.jpg,/objects/small/210b_sm.jpg,/objects/thumbs/210b_th.jpg
ABB40689.tif,/objects/ABB40689.tif,/objects/small/abb40689_sm.jpg,/objects/thumbs/abb40689_th.jpg
abb13578.tif,/objects/abb13578.tif,/objects/small/abb13578_sm.jpg,/objects/thumbs/abb13578_th.jpg
abb19619.tif,/objects/abb19619.tif,/objects/small/abb19619_sm.jpg,/objects/thumbs/abb19619_th.jpg
abb21535.jpeg.jpg,/objects/abb21535.jpeg.jpg,/objects/small/abb21535.jpeg_sm.jpg,/objects/thumbs/abb21535.jpeg_th.jpg
abb42444.jpeg.jpg,/objects/abb42444.jpeg.jpg,/objects/small/abb42444.jpeg_sm.jpg,/objects/thumbs/abb42444.jpeg_th.jpg
demo_001.jpg,/objects/demo_001.jpg,/objects/small/demo_001_sm.jpg,/objects/thumbs/demo_001_th.jpg
demo_002.pdf,/objects/demo_002.pdf,/objects/small/demo_002_sm.jpg,/objects/thumbs/demo_002_th.jpg
demo_003.mp3,/objects/demo_003.mp3,,
demo_004.jpg,/objects/demo_004.jpg,/objects/small/demo_004_sm.jpg,/objects/thumbs/demo_004_th.jpg
demo_005.txt,/objects/demo_005.txt,,
demo_012.md,/objects/demo_012.md,,
hells_half_theta.jpg,/objects/hells_half_theta.jpg,/objects/small/hells_half_theta_sm.jpg,/objects/thumbs/hells_half_theta_th.jpg
hughes_article.png,/objects/hughes_article.png,/objects/small/hughes_article_sm.jpg,/objects/thumbs/hughes_article_th.jpg
Binary file added objects/small/abb13578_sm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added objects/small/abb19619_sm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added objects/small/abb21535.jpeg_sm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added objects/small/abb40689_sm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added objects/small/abb42444.jpeg_sm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added objects/thumbs/abb13578_th.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added objects/thumbs/abb19619_th.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added objects/thumbs/abb21535.jpeg_th.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added objects/thumbs/abb40689_th.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added objects/thumbs/abb42444.jpeg_th.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d7cb583

Please sign in to comment.