Parsing arkivstruktur for import in Nikita Noark5 Core

Ole Aamot oka at oka.no
Sun Jun 4 18:35:15 CEST 2017


The free Noark 5 tool noark5-parser is now parsing the XML file in
<URL:https://raw.githubusercontent.com/KDRS-SA/noark5-validator/master/src/resources/test-uttrekk/uttrekk1/n5uttrekk/arkivstruktur.xml>
with XMLReader and DOM, but lots of coding still remains to import XML
archive files into the free Nikita Noark5 Core.

git clone https://github.com/oleaamot/noark5-parser.git
cd noark5-parser/

You can see the full parsing output of noark5-parser in
noark5-parser.log by running

./runparser >noark5-parser.log

The function browse() is called recursively and traverses the
entire tree on my HP in about 48 minutes with PHP 7.0.19-1
on Debian unstable.

Happy hacking,
Ole


More information about the nikita-noark mailing list