Hey guys,
I’m a software engineer at Mendeley, developing our Word and OpenOffice
plugins along with Carles Pina.
I’m altering the format we use to store the references documents. Currently
we just store our own document UUIDs, but we want to store all the document
metadata necessary for CSL formatting, which would make sharing documents
between our users easier, and potentially between users of other reference
managers which can read this format.
The plan is to embed JSON in a format readable by Frank Bennett’s
citeproc-js, along with some optional Mendeley specific fields. They would
be stored in the Word field codes, or in OpenOffice bookmarks. An example
field code would look like this:
{Mendeley
Citation{5756f170-e97d-4c32-8279-b2039884c21b};{a8315e66-67a2-4693-b51a-e0741f556d6a}
CslCitation:<JSON-DATA>}
where will look like this (but without the whitespace):
{
“ITEM-1”: {
<CITEPROC-CSL-FIELDS>,
“mendeley”: {
“account”: “@Steve_Ridout”,
“server”: “www.mendeley.com”,
“uuid”: “5756f170-e97d-4c32-8279-b2039884c21b”
}
},
“ITEM-2”: {
<CITEPROC-CSL-FIELDS>,
“mendeley”: {
“account”: “@Steve_Ridout”,
“server”: “www.mendeley.com”,
“uuid”: “a8315e66-67a2-4693-b51a-e0741f556d6a”
}
},
“ITEM-3”: {
<CITEPROC-CSL-FIELDS>,
“mendeley”: {
“group”: “14217”,
“server”: “www.mendeley.com”,
“uuid”: “ae405489-9d99-4c05-bc56-788ba48fd16b”
}
},
“mendeley”: {
“previousFormattedCitation”: “(Ahn & Schmidt, 1995; Al-shehbaz &
O’kane, 2002; Alcaraz & Donaire, 2004)”
}
“version”: “1”
}
Notes:
- We need the original “Mendeley Citation{}” at the start for compatibility
with old plugin versions, but it’s optional. - The JSON “mendeley” elements are optional, and if anyone else (e.g.
Zotero) wants to they can add their own. - The “version” element represents the version of this JSON schema, in case
we add to it or change it in future.
Does this sound sensible to you?
Steve–
View this message in context: http://xbiblio-devel.2463403.n2.nabble.com/Embedded-CSL-fields-in-Mendeley-Word-OO-documents-tp6096952p6096952.html
Sent from the xbiblio-devel mailing list archive at Nabble.com.