Using abook import needs semi-colons and ALL fields

Started by richardh9935, 03 November 2016, 23:16:45

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

richardh9935

Your standard response to people wanting help to import books in bulk is clear, but incomplete.

Firstly, you say "colon" but then specify semi-colon.  Later, you specify the opposite for AUTHORS and TAGS fields.  The first is ":" and the second is ";".  Does this matter to Abook?

Secondly, you do not tell us that the import file MUST contain data for all fields, even if empty.  eg ;""; must appear for empty fields, because the parser can only work with positional parameters in this case.  (The parser could not know which fields were being omitted.)

richard.

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

federica

You can make a csv export for 1 book only so you get the right syntax. It is the way easiest I known.
Near the import form you can see the instruction to create a csv import file.
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]