Created
June 3, 2011 01:34
-
-
Save richardlehane/1005702 to your computer and use it in GitHub Desktop.
Suggested changes to Zotero's MODS translator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(mods.m::location.m::shelfLocator.length()) { | |
// change behaviour | |
newItem.archiveLocation = mods.m::location.m::shelfLocator.text().toString(); | |
newItem.archive = mods.m::location.m::physicalLocation.text().toString(); | |
} else { | |
// leave as is | |
newItem.archiveLocation = mods.m::location.m::physicalLocation.text().toString(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment