Task #2837

DOC: Metadata file format precedence

Added by Matthieu Decorde 2 months ago. Updated 2 months ago.

Status:New Start date:06/04/2020
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Documentation Spent time: -
Target version:TXM 0.8.1

Description

If several metadata files are present in the corpus source directory, in different format, only one will be used at import.

The file used is choosen from its extension, from the following file extension precedence list (an extension in the list has priority to extensions listed after it):
  1. metadata.ods (for Calc format)
  2. metadata.xslx (for Excel format)
  3. metadata.tsv
    • column separator: tabulation (TAB)
    • text separator: double quote (")
  4. metadata.csv
    • column separator: comma (,) (can be modified in preferences)
    • text separator: double quote (") (can be modified in preferences)

The first file in the source directory matching an extension in the file extension precedence list will be used.

All other files are ignored.

History

#1 Updated by Matthieu Decorde 2 months ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde 2 months ago

  • Description updated (diff)

#3 Updated by Serge Heiden 2 months ago

  • Subject changed from DOC: Metadata discovery priorities to DOC: Metadata file format precedence
  • Description updated (diff)

#4 Updated by Matthieu Decorde 2 months ago

  • Description updated (diff)

metadata.csv sep ";" -> ","

#5 Updated by Matthieu Decorde 2 months ago

  • Description updated (diff)

Also available in: Atom PDF