Skip to content

Instantly share code, notes, and snippets.

@richardlehane
Created June 3, 2011 01:34
Show Gist options
  • Save richardlehane/1005702 to your computer and use it in GitHub Desktop.
Save richardlehane/1005702 to your computer and use it in GitHub Desktop.
Suggested changes to Zotero's MODS translator
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