Skip to content

Commit

Permalink
Merge branch 'updatePubsAndMetadatenCommunity' of https://github.com/…
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Feb 5, 2024
2 parents b15d9ae + d3c9661 commit ff6f8a3
Show file tree
Hide file tree
Showing 20 changed files with 514 additions and 4 deletions.
6 changes: 6 additions & 0 deletions gatsby/lobid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ nvm use 18
cd lobid/gatsby/lobid
```

Install node packages:

```shell
npm i
```

Start it up.

```shell
Expand Down
45 changes: 44 additions & 1 deletion gatsby/lobid/src/components/member.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,46 @@ export class Member extends React.Component {
constructor(props) {
super(props);
this.props = props;
this.state = {
infoToggledProjects: false
};
}

getToggle = (state, event) => {
return (
<small>
<button
className={
state
? "glyphicon glyphicon-minus-sign"
: "glyphicon glyphicon-plus-sign"
}
style={{
color: "#004678",
backgroundColor: "transparent",
border: "none"
}}
onClick={event}
/>
</small>
);
}

toggleFormerProjects = () => {
this.setState(prevState => ({
...prevState,
infoToggledProjects: !prevState.infoToggledProjects
}));
};

getFormerProjects = () => {
return (
<div id="former-projects">
<Projects projects={this.props.projects.filter(project => project.endDate)} lang={this.props.lang}/>
</div>
);
};

render() {
console.log('Header', Header);
return (
Expand Down Expand Up @@ -71,7 +109,12 @@ export class Member extends React.Component {
{this.props.products.length > 0 && <p className="lead">{this.props.makesOfferName}</p>}
<Products products={this.props.products} lang={this.props.lang}/>
{this.props.projects.length > 0 && <p className="lead">{this.props.projectsName}</p>}
<Projects projects={this.props.projects} lang={this.props.lang}/>
<Projects projects={this.props.projects.filter(project => !project.endDate)} lang={this.props.lang}/>
<p className="lead">
{this.props.memberFormerName} {this.props.projectsName}
{this.getToggle(this.state.infoToggledProjects, this.toggleFormerProjects)}
</p>
{this.state.infoToggledProjects ? this.getFormerProjects() : ""}
<Publications pubs={this.props.pubs} publications={this.props.publications} />
<Footer companyDetails={this.props.companyDetails} privacy={this.props.privacy} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion gatsby/lobid/src/templates/member.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function MemberPage({ data, location, pageContext }) {
}
projects={data.allProjectJson.edges
.map(edge => edge.node)
.filter(p => !p.endDate && p.membership.find(m => m.member.id === member.jsonId))
.filter(p => p.membership.find(m => m.member.id === member.jsonId))
}
pubs={data.allPublicationJson.edges
.map(edge => edge.node)
Expand Down
40 changes: 40 additions & 0 deletions gatsby/lobid/static/product/metadaten.community.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"@context": "https://schema.org/",
"id": "https://lobid.org/product/metadaten.community",
"url": "https://metadaten.community",
"type": [
"Product"
],
"name": {
"de": "metadaten.community",
"en": "metadaten.community"
},
"image": "https://metadaten.community/uploads/default/original/1X/b549c3d27f8b0c4d4bdca73d6b7c0be3783e439b.png",
"startDate": "2023-12-06",
"description": {
"de": "Ein Forum zum Austausch von Metadatenpraktiker:innen im deutschsprachigen Raum.",
"en": "A forum for professional exchange of German-speaking metadata practitioners."
},
"membership": [
{
"type": "Role",
"roleName": {
"de": "Administration und Moderation",
"en": "administration and moderation"
},
"member": {
"id": "http://lobid.org/team/pt#!"
}
},
{
"type": "Role",
"roleName": {
"de": "Moderation",
"en": "moderation"
},
"member": {
"id": "http://lobid.org/team/ap#!"
}
}
]
}
2 changes: 1 addition & 1 deletion gatsby/lobid/static/product/oersi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "https://lobid.org/product/oersi",
"url": "https://oersi.org",
"type": [
"Project"
"Product"
],
"name": {
"de": "OER Search Index",
Expand Down
2 changes: 2 additions & 0 deletions gatsby/lobid/static/project/alma-migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"en": "Switch lobid-resources ETL and indexing from Aleph to Alma Marc21 XML",
"de": "Der schrittweise Umstieg der hbz-Verbundbibliotheken auf das Bibliotheksmanagementsystem Alma im Rahmen des GO:AL-Projekts bringt auch für die Gruppe Offene Infrastruktur dauerhaft Aufgaben mit sich: lobid indexiert unter anderem die Verbunddaten des hbz, die nun schrittweise nach Alma wandern. Demenstprechend müssen sämtliche Prozesse zum Extrahieren, Transformieren und Laden (ETL) der Verbunddaten angepasst werden, damit sie (auch) auf Basis von Alma-Daten funktionieren."
},
"startDate": "2020-03-23",
"endDate": "2023-06-30",
"enhances": [
{
"id": "https://lobid.org/product/lobid"
Expand Down
2 changes: 2 additions & 0 deletions gatsby/lobid/static/project/amb.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"en": "A schema.org/LRMI-based profile for describing learning resources.",
"de": "In diesem Projekt wird die erste offizielle Version eines Metadatenprofils für die web-konforme Publikation von Metadaten für Lehr- und Lernressourcen im deutschsprachigen Raum entwickelt. Es basiert auf dem schema.org-Vokabular mit seinen LRMI-Erweiterungen (Learning Resource Metadata Initiative) und fokussiert auf die Publikation der Metadaten als JSON-LD.\n\nDas Profil ist Basis für das Index-Schema im OERSI-Projekt und soll als Vorgabe dienen für die Vergabe von Metadaten für OERs, die mit Fördergeldern des Landes NRW erstellt werden.\n\nFür die Validierung von Metadaten im Hinblick auf ihre Konformität zum Profil wird ein JSON Schema gepflegt."
},
"startDate": "2020-03-23",
"endDate": "2023-10-19",
"isBasedOn": [
{
"id": "https://lobid.org/project/oer-stoeberspecs"
Expand Down
2 changes: 2 additions & 0 deletions gatsby/lobid/static/project/metafacture-fix.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"en": "Implementation of the Fix language for Metafacture as an alternative to configuring data transformations with Metamorph",
"de": "Ziel des Projekts ist die Erleichterung der Metafacture-Konfiguration und damit die Erweiterung der Zielgruppe um Bibliothekar:innen und andere Metadatenfachleute, die keinen Programmierhintergrund haben.\n\nDies geschieht durch die Implementierung der Fix-DSL (domain-specific language) für die Konfiguration von Metadatenmappings als Alternative zum XML-basierten Metamorph. Zunächst wird die Erweiterung zur produktiven Nutzung im OERSI-Kontext und anderen neu zu erstellenden ETL-Prozessen entwickelt und dann auf die komplexeren Prozesse – etwa im lobid-Kontext – ausgeweitet.\n\nIn einem nächsten Schritt soll an einer Standardisierung der Fix-Sprache gearbeitet werden mit dem Ziel, Kompatibilität zwischen Metafacture und Catmandu zu erreichen."
},
"startDate": "2021-08-01",
"endDate": "2022-12-01",
"enhances": [
{
"id": "https://lobid.org/product/metafacture"
Expand Down
2 changes: 2 additions & 0 deletions gatsby/lobid/static/project/metafacture-playground.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"en": "This projects aims to provide a web application to play around with Metafactures languages Fix and Flux.",
"de": "Der Metafacture Playground ist eine browserbasierte Umgebung, um an der Konfiguration von ETL-Prozessen mittels Metafacture zu arbeiten. Der Playground unterstützt dabei auch die Metafacture-Fix-Erweiterung. Kurzfristig soll der Playground zum Teilen von ETL-Konfigurationen via URL und für aktive Arbeit in Metafacture-Workshops Verwendung finden.\n\nMittelfristiges Ziel ist der Aufbau einer Plattform zum Teilen von ETL-Konfigurationen, um das Auffinden bestehender Lösungen und deren Nachnutzung zu erleichtern und damit Parallelarbeiten zu vermeiden."
},
"startDate": "2021-01-24",
"endDate": "2023-05-08",
"enhances": [
{
"id": "https://lobid.org/product/metafacture"
Expand Down
1 change: 1 addition & 0 deletions gatsby/lobid/static/project/orca.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"de": "ORCA ist ein kostenfreies Online-Portal rund um digital gestütztes Lehren und Lernen an Hochschulen. Die Gruppe Offene Infrastruktur ist im Rahmen von ORCA.nrw für die zwei Aufgabenbereiche ORCA-Metadateninfrastruktur und ORCA-Suche mit OERSI zuständig."
},
"startDate": "2021-02-15",
"endDate": "2023-04-30",
"isBasedOn": [
{
"id": "https://lobid.org/product/oersi"
Expand Down
67 changes: 67 additions & 0 deletions gatsby/lobid/static/publication/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"@context": "https://schema.org",
"type": [
"PresentationDigitalDocument"
],
"name": {
"de": "Offene Metadatendienste – kooperativ, verlässlich und effizient in die Zukunft"
},
"description": {
"de": "Präsentationsfolien zum Vortrag bei der \"hbz-Roadshow\" am 17.8.2023"
},
"creator": [
{
"id": "http://lobid.org/team/ap#!",
"type": "Person",
"name": "Adrian Pohl"
},
{
"id": "http://lobid.org/team/ak#!",
"type": "Person",
"name": "Anna Keller"
}
],
"keywords": [
"lobid",
"hbz",
"Linked Open Data",
"libraries",
"metadata"
],
"id": "https://pad.gwdg.de/p/2022-08-mi@hbz-roadshow",
"about": [
{
"id": "https://lobid.org/product/lobid"
},
{
"id": "https://lobid.org/product/lobid-resources"
},
{
"id": "https://lobid.org/product/lobid-gnd"
},
{
"id": "https://lobid.org/project/reconciliation"
},
{
"id": "https://lobid.org/project/infrastrukturinitiative"
},
{
"id": "https://lobid.org/product/oersi"
},
{
"id": "https://lobid.org/product/metafacture"
},
{
"id": "https://lobid.org/product/skohub"
}
],
"datePublished": "2023-08-17",
"inLanguage": [
"de"
],
"audience": [
"librarians",
"library management"
],
"license": "https://creativecommons.org/licenses/by/4.0/"
}
70 changes: 70 additions & 0 deletions gatsby/lobid/static/publication/2023-11-16-netz-ag.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"@context": "https://schema.org",
"type": [
"PresentationDigitalDocument"
],
"name": {
"de": "Metadatenmanagement – Tools und Dienste des hbz"
},
"description": {
"de": "Präsentationsfolien zum Vortrag beim \"Erfahrungsaustausch: DV-Systembetreuung in Bibliotheken\" der ZBIW"
},
"creator": [
{
"id": "http://lobid.org/team/ap#!",
"type": "Person",
"name": "Adrian Pohl"
},
{
"id": "http://lobid.org/team/ak#!",
"type": "Person",
"name": "Anna Keller"
}
],
"keywords": [
"lobid",
"hbz",
"Linked Open Data",
"libraries",
"metadata"
],
"id": "https://pad.lobid.org/p/2023-11-16-zbiw-erfahrungsaustausch-dv",
"about": [
{
"id": "https://lobid.org/product/lobid"
},
{
"id": "https://lobid.org/product/lobid-resources"
},
{
"id": "https://lobid.org/product/lobid-gnd"
},
{
"id": "https://lobid.org/project/reconciliation"
},
{
"id": "https://lobid.org/project/infrastrukturinitiative"
},
{
"id": "https://lobid.org/product/oersi"
},
{
"id": "https://lobid.org/product/metafacture"
},
{
"id": "https://lobid.org/product/skohub"
},
{
"id": "https://lobid.org/product/metadaten.community"
}
],
"datePublished": "2023-11-16",
"inLanguage": [
"de"
],
"audience": [
"librarians",
"developers"
],
"license": "https://creativecommons.org/licenses/by/4.0/"
}
42 changes: 42 additions & 0 deletions gatsby/lobid/static/publication/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"@context": "https://schema.org",
"type": [
"PresentationDigitalDocument"
],
"name": {
"de": "metadaten.community – ein Forum für Metadatenpraktiker:innen"
},
"description": {
"de": "Folien zu einer Session in der Metadaten-Corner des #vBIB23"
},
"creator": [
{
"id": "http://lobid.org/team/ap#!",
"type": "Person",
"name": "Adrian Pohl"
},
{
"id": "http://lobid.org/team/pt#!",
"type": "Person",
"name": "Phu Tu"
}
],
"keywords": [
"metadaten",
"community" ],
"id": "https://pad.lobid.org/p/nmmvvKKnB",
"about": [
{
"id": "https://lobid.org/product/metadaten.community"
}
],
"datePublished": "2023-12-06",
"inLanguage": [
"de"
],
"audience": [
"librarians",
"developers"
],
"license": "https://creativecommons.org/licenses/by/4.0/"
}
Loading

0 comments on commit ff6f8a3

Please sign in to comment.