Skip to content

Commit

Permalink
Some more nbib refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith committed Jun 9, 2023
1 parent c3479bf commit e90a29b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MEDLINEnbib.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ var inputTypeMap = {
Books: "book", // ERIC
"Book Chapter": "bookSection", // can't find in specs, but is used.
"Case Reports": "journalArticle", // Case reports in medicine are basically always in journals
"Case Report": "journalArticle",
"Journal Article": "journalArticle",
"Newspaper Article": "newspaperArticle",
"Video-Audio Media": "videoRecording",
Expand Down Expand Up @@ -174,7 +175,7 @@ function processTag(item, tag, value) {
}
else if (value.includes("[pii]")) item.pagesBackup = value.replace(/\s*\[pii\]/, "");
}
else if (tag == "MH" || tag == "OT") {
else if (tag == "MH" || tag == "OT" || tag = "KW") { // KoreaMed uses KW
item.tags.push(value);
}
}
Expand Down

0 comments on commit e90a29b

Please sign in to comment.