Newer
Older
web-dumps / halcnrs-dumps / 03-export.ini
@Nicolas Thouvenin Nicolas Thouvenin on 3 May 479 bytes refactor: like conditor dump
[use]
plugin = basics
plugin = conditor
plugin = lodex

[unpack]

[replace]
path = doublons
value = get('sourceUids').filter(i => (i.indexOf('hal') === 0)).map(i => i.replace(/^hal\$/, 'https://hal.archives-ouvertes.fr/')).join('\n')

path = notice unifiée
value = get('business.sourceUidChain').prepend('https://corhal-api.inist.fr/mergedDocuments/')

path = doi
value = get('doi')

path = title
value = get('title.default')

[CSVString]
format = strict
separator = fix('\t')