I'm seeking a way to get my books database, stored on Goodreads, into BibTeX form. As near as I can tell, Goodreads provides no support for this directly, but does provide for CSV export (on the right). Are there tools I could used to import from the CSV file into BibTeX?
FWIW, the fields exported by goodreads are
Book Id,Title,Author,Author l-f,Additional Authors,ISBN,ISBN13,My Rating,Average Rating,Publisher,Binding,Number of Pages,Year Published,Original Publication Year,Date Read,Date Added,Bookshelves,Bookshelves with positions,Exclusive Shelf,My Review,Spoiler,Private Notes,Read Count,Recommended For,Recommended By,Owned Copies,Original Purchase Date,Original Purchase Location,Condition,Condition Description,BCID
and I can, of course, easily rearrange their order or convert to other delimiters.
Best Answer
I won't give complete answer, but some suggestions (it would have to be really worked on to make it complete).
There are tools:
The problem is that xml2bib needs a very special format called Metadata Object Description Schema: MODS.
Below, I give example file of my thesis
.bib
bibliography, converted to the correct.xml
MODS format by bib2xml and coverted back to a.bib
file by xml2bib. It illustrates how complicated the XML format is:I apologize for the long file listings but I don't have a reliable online file storage.
Now: The following is an input file with header and one bibliography item (containing for each field the filed name with
abc...xyz
dummy text). I believe that the output XML file could be converted into the MODS format, but I'm not sure how and it will be a lot of work. The why that I thought of is replacing each string of the form<Title>
to the string of XML markups that stands before the Title in the correct format.