Skip to content

Generate BASE Compliant OAI-PMH XML files from Wikidata entries #56

Open
@bootsa

Description

@bootsa

With the simple OAI-PMH server (#52) working on toolforge (#53), generating compliant XML files from Wikidata entries is next.

Two possible path's seem worthy of initial exploration:

  1. using CitationJS to generate a JSON object from Wikidata and then producing XML output using either:
    1. creating a custom CitationJS output plugin
    2. XMLBuilder2
    3. xml-js
  2. using XSLT to transform the RDF record of a Wikidata entity (encoded as XML) into a BASE compliant XML file

Creating an XSLT transform (2) would probably be more useful in creating a generalised solution for Wikibase (#14) though involves traversing multiple interlinked nodes which could be tricky and might be more brittle than (1).

As we have established that CitationJS generates a well formed JSON object from Wikidata (including some clean up of Author names, etc) (1) might be a quicker, though more specific to solely our project, approach.

Thus I shall prioritise investigating (1) first.

Metadata

Metadata

Assignees

Labels

exploratoryFirst trials of software, system, processesoai-pmhthings related to the OAI-PMH protocol

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions