Newer
Older
web-services / data-wrapper / v1 / tar-tei2json.ini
@Nicolas Thouvenin Nicolas Thouvenin on 18 Aug 390 bytes first import of data wrapper
mimeType = application/x-tar

[use]
plugin = basics

[TARExtract]
path = **/*_tei.xml
compress = false
json = false
[debug]

[map]
path = value
[map/XMLParse]
separator = /tei:TEI
separator = /tei

[replace]
path = fileName
value = get('id')

path = fileContent
value = get('value.0')

[TARDump]
compress = true
manifest = fix({version: '1'})
manifest = fix({generator: 'v1/tar-tei2json'})