Skip to content

Commit

Permalink
Refer/BibIX import: recognize value "Audio" for %0 (type) tag (zotero…
Browse files Browse the repository at this point in the history
  • Loading branch information
zoe-translates authored Oct 27, 2023
1 parent 6df218c commit fd45efc
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion ReferBibIX.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"inRepository": true,
"translatorType": 3,
"lastUpdated": "2021-10-23 20:56:30"
"lastUpdated": "2023-10-27 09:03:42"
}

function detectImport() {
Expand Down Expand Up @@ -104,6 +104,7 @@ var typeMap = {
// TODO: BILL, CASE, COMP, CONF, DATA, HEAR, MUSIC, PAT, SOUND, STAT
var inputTypeMap = {
"Ancient Text": "book",
Audio: "audioRecording",
"Audiovisual Material": "videoRecording",
Generic: "book",
"Chart or Table": "artwork",
Expand Down Expand Up @@ -437,6 +438,26 @@ var testCases = [
"seeAlso": []
}
]
},
{
"type": "import",
"input": "%0 Serial\n%0 Audio\n%I Studio Omega, Verein für Christliche Radioarbeit\n%D 2021\n%C Wien\n%G German\n%T Diesseits von Eden: der Podcast der katholischen Fakultäten Österreichs & Südtirols\n%U https://diesseits.theopodcast.at/home",
"items": [
{
"itemType": "audioRecording",
"title": "Diesseits von Eden: der Podcast der katholischen Fakultäten Österreichs & Südtirols",
"creators": [],
"date": "2021",
"label": "Studio Omega, Verein für Christliche Radioarbeit",
"language": "German",
"place": "Wien",
"url": "https://diesseits.theopodcast.at/home",
"attachments": [],
"tags": [],
"notes": [],
"seeAlso": []
}
]
}
]
/** END TEST CASES **/

0 comments on commit fd45efc

Please sign in to comment.