You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 and content similar as https://github.com/ORCID/bibtexParseJs does.
{
"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:
Example:
Bad, because it mixes up meta data (type and key) with real data: https://github.com/chbrown/tex/blob/master/tests/bibfiles/W11-1107.json. (conflicts in
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
The text was updated successfully, but these errors were encountered: