update lastUpdated on modified translators so that they won't be overwritten by repo
This commit is contained in:
parent
352158b48c
commit
b5dd5b5e9f
10 changed files with 12 additions and 11 deletions
|
@ -10,7 +10,7 @@
|
||||||
"configOptions":{"dataMode":"block"},
|
"configOptions":{"dataMode":"block"},
|
||||||
"displayOptions":{"exportCharset":"UTF-8", "exportFileData":false},
|
"displayOptions":{"exportCharset":"UTF-8", "exportFileData":false},
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2010-06-18 08:32:05"
|
"lastUpdated":"2010-11-07 03:10:59"
|
||||||
}
|
}
|
||||||
|
|
||||||
function detectImport() {
|
function detectImport() {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"configOptions":{"getCollections":"true", "dataMode":"rdf/xml"},
|
"configOptions":{"getCollections":"true", "dataMode":"rdf/xml"},
|
||||||
"displayOptions":{"exportNotes":true, "exportFileData":false},
|
"displayOptions":{"exportNotes":true, "exportFileData":false},
|
||||||
"inRepository":false,
|
"inRepository":false,
|
||||||
"lastUpdated":"2010-04-20 23:02:43"
|
"lastUpdated":"2010-11-07 03:10:59"
|
||||||
}
|
}
|
||||||
|
|
||||||
var n = {
|
var n = {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"priority":100,
|
"priority":100,
|
||||||
"configOptions":{"getCollections":"true", "dataMode":"line"},
|
"configOptions":{"getCollections":"true", "dataMode":"line"},
|
||||||
"inRepository":false,
|
"inRepository":false,
|
||||||
"lastUpdated":"2010-10-09 07:21:37"
|
"lastUpdated":"2010-11-07 03:10:59"
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"configOptions":{"dataMode":"dom/xml"},
|
"configOptions":{"dataMode":"dom/xml"},
|
||||||
"displayOptions":{"exportNotes":true},
|
"displayOptions":{"exportNotes":true},
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2010-09-10 01:22:13"
|
"lastUpdated":"2010-11-07 03:10:59"
|
||||||
}
|
}
|
||||||
|
|
||||||
function detectImport() {
|
function detectImport() {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"priority":100,
|
"priority":100,
|
||||||
"configOptions":{"dataMode":"rdf/xml"},
|
"configOptions":{"dataMode":"rdf/xml"},
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2009-11-12 07:20:00"
|
"lastUpdated":"2010-11-07 03:10:59"
|
||||||
}
|
}
|
||||||
|
|
||||||
function detectImport() {
|
function detectImport() {
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
"label":"RIS",
|
"label":"RIS",
|
||||||
"creator":"Simon Kornblith",
|
"creator":"Simon Kornblith",
|
||||||
"target":"ris",
|
"target":"ris",
|
||||||
"minVersion":"1.0.2",
|
"minVersion":"2.1b2",
|
||||||
"maxVersion":"",
|
"maxVersion":"",
|
||||||
"priority":100,
|
"priority":100,
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"configOptions":{"dataMode":"block"},
|
"configOptions":{"dataMode":"block"},
|
||||||
"displayOptions":{"exportCharset":"UTF-8", "exportNotes":true},
|
"displayOptions":{"exportCharset":"UTF-8", "exportNotes":true},
|
||||||
"lastUpdated":"2010-09-28 21:40:00"
|
"lastUpdated":"2010-11-07 03:10:59"
|
||||||
}
|
}
|
||||||
|
|
||||||
function detectImport() {
|
function detectImport() {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"configOptions":{"dataMode":"line"},
|
"configOptions":{"dataMode":"line"},
|
||||||
"displayOptions":{"exportCharset":"UTF-8"},
|
"displayOptions":{"exportCharset":"UTF-8"},
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2009-07-17 20:20:00"
|
"lastUpdated":"2010-11-07 03:10:59"
|
||||||
}
|
}
|
||||||
|
|
||||||
function detectImport() {
|
function detectImport() {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"priority":100,
|
"priority":100,
|
||||||
"configOptions":{"dataMode":"rdf/xml"},
|
"configOptions":{"dataMode":"rdf/xml"},
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2006-10-02 17:00:00"
|
"lastUpdated":"2010-11-07 03:10:59"
|
||||||
}
|
}
|
||||||
|
|
||||||
function doExport() {
|
function doExport() {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"priority":100,
|
"priority":100,
|
||||||
"displayOptions":{"exportCharset":"UTF-8"},
|
"displayOptions":{"exportCharset":"UTF-8"},
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2008-07-17 22:05:00"
|
"lastUpdated":"2010-11-07 03:10:59"
|
||||||
}
|
}
|
||||||
|
|
||||||
var fieldMap = {
|
var fieldMap = {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"configOptions":{"getCollections":"true", "dataMode":"rdf/xml"},
|
"configOptions":{"getCollections":"true", "dataMode":"rdf/xml"},
|
||||||
"displayOptions":{"exportNotes":true, "exportFileData":false},
|
"displayOptions":{"exportNotes":true, "exportFileData":false},
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2010-10-10 02:07:05"
|
"lastUpdated":"2010-11-07 03:10:59"
|
||||||
}
|
}
|
||||||
|
|
||||||
var rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
|
var rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
|
||||||
|
@ -503,6 +503,7 @@ function doExport() {
|
||||||
// first, map each ID to a resource
|
// first, map each ID to a resource
|
||||||
while(item = Zotero.nextItem()) {
|
while(item = Zotero.nextItem()) {
|
||||||
items.push(item);
|
items.push(item);
|
||||||
|
Zotero.debug(item);
|
||||||
|
|
||||||
var testISBN = "urn:isbn:"+encodeURI(item.ISBN);
|
var testISBN = "urn:isbn:"+encodeURI(item.ISBN);
|
||||||
if(item.ISBN && !usedResources[testISBN]) {
|
if(item.ISBN && !usedResources[testISBN]) {
|
||||||
|
|
Loading…
Reference in a new issue