Import crude data from txt file
I have over 5000 units of bibliographic sources distributed over 5000 txt files. The main issue is that the data is in a crude form, eg. not standardized. This is how the format generally goes:
Name : Name_of_book
Author : Author_of_book
Editor : Editor_of_book
Publisher : Publisher_of_book
Publication Date : Publication_Date_of_book
It would be nice if I could just select that data, press a button so that it gets stored in the Zotero Referencing Database. No way that I am going to manually input those fields for 5000+ references...
Any suggestions?
Name : Name_of_book
Author : Author_of_book
Editor : Editor_of_book
Publisher : Publisher_of_book
Publication Date : Publication_Date_of_book
It would be nice if I could just select that data, press a button so that it gets stored in the Zotero Referencing Database. No way that I am going to manually input those fields for 5000+ references...
Any suggestions?
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
If, say, that format was consistent among all the files, I would merge the files into a single file, separating each entry with
ER -
TY - BOOK
then add a "TY - BOOK" to the beginning and an "ER - "
Now you search and replace "Name : " with "TI - ", "Author : " with "AU - ", "Editor - " with "A3 - ", etc. according to https://github.com/aurimasv/translators/wiki/RIS-Tag-Map-(narrow)
and in the end you have a RIS formatted library, which Zotero can import.
Be sure to work from a copy of your original file. If you don't have experience with search/replace in large text files, ask someone for help. All of us have made errors at least once that would have been disasters without undo.