Juris-M / zotero

Juris-M is a variant of the free and friendly Zotero research platform, with support for legal and multilingual materials.
https://juris-m.github.io
Other
77 stars 12 forks source link

"video recording" director exported as author in CSL-JSON #33

Closed retorquere closed 6 years ago

retorquere commented 7 years ago

video-recording

When I export this reference I get

[
  {
    "type": "video",
    "multi": {
      "main": {},
      "_keys": {}
    },
    "title": "The one with the Princess Leia fantasy",
    "publisher": "Warner Home Video",
    "publisher-place": "US",
    "volume": "3",
    "dimensions": "22 min",
    "medium": "DVD",
    "event-place": "US",
    "archive-place": "US",
    "note": "bibtex: friends:leia:dvd\ncontainer-title: Friends\nnumber: 1\noriginal-publisher: NBC\noriginal-date: 1996-09-16",
    "language": "en-US",
    "author": [
      {
        "family": "Mancuso",
        "given": "Gail",
        "multi": {
          "_key": {}
        }
      }
    ],
    "issued": {
      "raw": "2003"
    }
  }
]

where I had expected author to be director.

What is the best way to get test source references your way BTW instead of a screenshot? I use a JSON dump of the (mostly untouched) internal state of the reference in the translator, but you can't import that without having BBT installed.

fbennett commented 6 years ago

If you have the references in Juris-M, a CSL-JSON export should work. Zotero RDF may also push everything across, but that's less well tested in Juris-M.

fbennett commented 6 years ago

I've imported the item (at last!), and the creator comes through in the client as "Director." That's nice, but of course it should be "director" in the CSL, to get the correct label with pluralization support. Needs to be fixed.

fbennett commented 6 years ago

CSL JSON export now forces author to director when exporting JM videoRecording type.

fbennett commented 6 years ago

(Further to the previous note, the fix is in master, and will appear in the next release when it eventually surfaces.)

retorquere commented 6 years ago

This is not yet in 5.0.42m18?

retorquere commented 6 years ago

NM, my tests were off.