forked from eleybourn/Book-Catalogue
-
Notifications
You must be signed in to change notification settings - Fork 0
Export Import Format
Grunthos edited this page Mar 7, 2012
·
6 revisions
Export Import Format
The easiest way is to run an export (add 1 book first) and copy the format.
Notes:
- Up to version 3.8.x there were up to 24 fields, in version 4.0 there are 29 potential fields in a standard CSV file (with ” enclosing cells).
- All fields except for author and title can be left blank.
- Each book should be on 1 line. Replace any newlines in fields (such as notes) with “\n” (minus the quotes)
- It is strongly suggested that you edit the CSV file as text: if using a spreadsheet it is essential that you import all fields as ‘text’ otherwise ISBNs may lose leading zeroes, and dates may be truncated or reformatted in ways that make them unreadable.
Fields:
- _id: For new books this would be blank. See also book_uuid, below.
- author_details: The names of the authors - e.g. a book by Richard Morgan would be `Morgan, Richard` and a book by Buzz Aldrin and John Barnes would be `Aldrin, Buzz|Barnes, John`
- title
- isbn
- publisher
- date_published: in `yyyy-mm-dd` format
- rating: `0-5`
- bookshelf_id: would be blank or `1` for new books
- bookshelf: Would be blank or `Default`
- read: have you read this book `0` for no, `1` for yes
- series_details: The series the book belongs to. The 4th book of the discworld series would be `Discworld (4)`
- pages: How many pages in the book
- notes: free notes
- list_price: Exclude the $ sign
- anthology: Is the book an anothology - `0` = no, `1` = yes all by the same author, `2` = yes by different authors
- location: free text field
- read_start: when did you start reading the book in `yyyy-mm-dd` format
- read_end: when did you finish reading the book in `yyyy-mm-dd` format
- format: One of `Paperback, Hard Cover, eBook, Audiobook, Guide / Companion`
- signed: Is the book signed - `0` = no, `1` = yes
- loaned_to: The name of the person the book is loaned to
- anthology_titles: A pipe (|) delimited list of anthology titles. Each title is split into two parts. Part 1 the title itself, part 2 is the author. e.g. `All Cats Are Grey * Norton, Andre|The Assassin * Silverberg, Robert`
- description: Free text description
- genre:
- (V4.0) date_added: The date when the book was added to the catalogue; leave blank for new books
- (V4.0) goodreads_book_id: The internal goodreads Book ID for the book. Do not edit this field unless you are sure what you are doing
- (V4.0) last_goodreads_sync_date: The last date/time that this book was sent to goodreads
- (V4.0) last_update_date: the last date/time that this book was updated
- (V4.0) book_uuid: the global unique ID for this book. As of version 4.0 this supersedes the ID in terms of identifying a book. If book_uuid is present in a CSV file, the ID field is ignored when searching for an existing book. This makes it possible to scan books on multiple devices and combine collections by copying CSV files and .jpg files from one device to another.