Closed nichtich closed 3 years ago
Just fetch the PICA Plain data (format=pp
) and display between analysis and list of download formats. Syntax highlighting can be added afterwards.
Only problem I see is that for PICA Plain, we need one request per notation. Maybe we could only load it when necessary? Or add some way to either
?
You can convert to PICA in the browser with serializePica(picaFromDDC(jskosConcept))
.
You can convert to PICA in the browser with
serializePica(picaFromDDC(jskosConcept))
.
That's even better! But where do those methods come from? They aren't used in coli-ana. 🤔
I've added them in lib/pica.js
Now implemented in dev (without syntax highlighting though).
Syntax highlighting should be easy to implement by (re-)implementing it in a few lines of code instead of using e syntax highlighting library.
Syntax highlighting is nice but not important in this case as it is always the same PICA field definition. I've added Pica3 instead.
Possible with PicaEditor or prism but it makes more sense to first discuss how results of coli-ana should become part of the K10plus catalog.