diff --git a/content/references.html b/content/references.html index 32e00f0f..b3bef6e4 100644 --- a/content/references.html +++ b/content/references.html @@ -25,45 +25,64 @@ draft: false const setsSec = $('#publis_sets') var myDB = await indexDB.loadAsync() const sets = myDB.sets - for (const [setName,publis] of sets) { - const uopublis = await PubliData.loadManyAsync(publis) - if (uopublis.length !== 0) { + var odois=[] + for (const [setName,dois] of sets) { + if (dois.length !== 0) { + odois = odois.concat(dois.slice(1)) const mySetSec = $('
').addClass('publiSet').attr("data-setName", setName).attr("id",setName).appendTo(setsSec) $("

").text(setName).appendTo(mySetSec) - const spublis = uopublis.sort((puba, pubb) => pubUtils.getIssuedDate(puba) - pubUtils.getIssuedDate(pubb)) - for (const publi of spublis) { + const doi = dois[0] + if (doi!==null) { + publi = await PubliData.loadAsync(doi) const art = await createPubliUI(publi, true, true) - $(art).appendTo(mySetSec) + $(art).appendTo(mySetSec) + } + } + } + odois = odois.concat(myDB.others) + var sodois = new Set(odois) + if (sodois.has(null)) { + sodois.delete(null) + } + odois=Array.from(sodois) + const uoopublis = await PubliData.loadManyAsync(odois) + const opublis = uoopublis.sort((puba, pubb) => pubUtils.getIssuedDate(puba) - pubUtils.getIssuedDate(pubb)) + for (const publi of opublis) { + const art = await createPubliUI(publi, true, false) + $(art).appendTo("#publis_other") + } + const rdois = myDB.reviews + const uorpublis = await PubliData.loadManyAsync(rdois) + const rpublis = uorpublis.sort((puba, pubb) => pubUtils.getIssuedDate(puba) - pubUtils.getIssuedDate(pubb)) + for (const publi of rpublis) { + art = await createPubliUI(publi, true, true) + $(art).appendTo("#publis_review") + } + processingIndicator.isActive = false + const hash=window.location.hash + if (hash.length>1 && hash.startsWith("#")) { + sec=document.getElementById(decodeURIComponent(hash.substring(1))) + if (sec) { + sec.scrollIntoView({ + block: 'start', + behavior: 'smooth', + inline: 'nearest' + }) } } } - const odois = myDB.others - const uoopublis = await PubliData.loadManyAsync(odois) - const opublis = uoopublis.sort((puba, pubb) => pubUtils.getIssuedDate(puba) - pubUtils.getIssuedDate(pubb)) - for (const publi of opublis) { - art = await createPubliUI(publi, true, true) - $(art).appendTo("#publis_others") - } - processingIndicator.isActive = false - const hash=window.location.hash - if (hash.length>1 && hash.startsWith("#")) { - sec=document.getElementById(decodeURIComponent(hash.substring(1))) - if (sec) { - sec.scrollIntoView({ - block: 'start', - behavior: 'smooth', - inline: 'nearest' - }) - } - } - }

The QUEST subsets

-
+
+
+

Other publications using QUEST

+
+
+

Review articles about QUEST

diff --git a/static/data/index.yaml b/static/data/index.yaml index 0a1cb02e..015685d6 100644 --- a/static/data/index.yaml +++ b/static/data/index.yaml @@ -14,5 +14,5 @@ sets: - null QUEST#5: - null -others: +reviews: - 10.1021/acs.jpclett.0c00014 diff --git a/static/js/indexDB.js b/static/js/indexDB.js index 554691f3..0e123cf5 100644 --- a/static/js/indexDB.js +++ b/static/js/indexDB.js @@ -10,6 +10,7 @@ class indexDB { const myYaml = jsyaml.load(text); db.sets = ((myYaml.sets === undefined) ? new Map() : new Map(Object.entries(myYaml.sets))); db.others = ((myYaml.others === undefined) ? [] : Array.from(myYaml.others)); + db.reviews = ((myYaml.reviews === undefined) ? [] : Array.from(myYaml.reviews)); window.indexDB=db return db }