Open koppor opened 4 years ago
To make it clear: plain-key-value-map:
{
"entrytype": "InProceedings",
"citekey": "exampleKey",
"author": "Pradeep Muthukrishnan and Dragomir Radev and Qiaozhu Mei",
"title": "Simultaneous Similarity Learning and Feature-Weight Learning for Document Clustering",
"booktitle": "Proceedings of TextGraphs-6: Graph-based Methods for Natural Language Processing",
"month": "June",
"year": "2011",
"address": "Portland, Oregon",
"publisher": "Association for Computational Linguistics",
"url": "http://www.aclweb.org/anthology/W11-1107",
"pages": "42--50"
}
The EntryType
goes into entrytype
and CiteKey
("Citation Key") goes into citekey
. (In the options in the issue desription, it was pubtype
, but entrytype is more consistent to JabRef's model, isn't it?)
We need to have an ADR describing the JSON format used to exchange BibTeX data via HTTP. Refs #67.
After digging more into alternatives for the JSON format, I ask to change our things send/received from/to the server. We seprated
meta
andcontent
similar as https://github.com/ORCID/bibtexParseJs does.Seeing https://github.com/chbrown/tex/blob/master/tests/bibfiles/W11-1107.json, I think, the ORCID-Approach is over-engineered and we should go with a plain key-value map.
Options:
https://github.com/chbrown/tex
pubtype
andcitekey
could occur in some cases)Good, because
citekey
is also used by BibLaTeX(Maybe investigate more at https://www.npmjs.com/search?q=keywords:bibtex)
Library to read bibtex directly