Added BibTeX import option, by extracting the DOI from the .bib file and building a session.
In-depth
In SelectedPublicationsComponent.vue:
Added a button to import a BibTeX file, that calls a helper function 'bibtexParser' in Util.js to parse the BibTeX. The returned session is then directly used.
In Util.js:
Added function 'bibtexParser' which takes a file, searches for DOI: #######, and returns a session file (formatted like an exported session).
Closes #50
Summary
Added BibTeX import option, by extracting the DOI from the .bib file and building a session.
In-depth
In SelectedPublicationsComponent.vue: Added a button to import a BibTeX file, that calls a helper function 'bibtexParser' in Util.js to parse the BibTeX. The returned session is then directly used.
In Util.js: Added function 'bibtexParser' which takes a file, searches for DOI: #######, and returns a session file (formatted like an exported session).