mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 05:03:53 +01:00
Merge branch 'QUEST#1' into QUEST#3
This commit is contained in:
commit
c78ec858fb
@ -20,15 +20,18 @@ draft: false
|
||||
window.onload = async function () {
|
||||
var div = document.getElementById("publis_div")
|
||||
const Cite = require("citation-js")
|
||||
const dois = uniq(Object.values(await loadAllData()).flat().map(d => d.DOI.string))
|
||||
const publiscite = await Cite.async(dois)
|
||||
const sdois = uniq(Object.values(await loadAllData()).flat().map(d => d.DOI.string))
|
||||
const spubliscite = await Cite.async(sdois)
|
||||
const pubs = await getPublis()
|
||||
const publis = publiscite.format('data', { format: 'object' })
|
||||
for (const publi of publis) {
|
||||
const spublis = spubliscite.format('data', { format: 'object' })
|
||||
for (const publi of spublis) {
|
||||
art=createPubliUI(publi,pubs.sets,true)
|
||||
$(art).appendTo("<li/>").appendTo("#publis_ul")
|
||||
}
|
||||
for (const publi of pubs.others.keys()) {
|
||||
const odois=Array.from(pubs.others.keys())
|
||||
const opubliscite = await Cite.async(odois)
|
||||
const opublis = opubliscite.format('data', { format: 'object' })
|
||||
for (const publi of opublis) {
|
||||
art=createPubliUI(publi,pubs.others,true)
|
||||
$(art).appendTo("<li/>").appendTo("#publis_ul")
|
||||
}
|
||||
|
@ -5,4 +5,4 @@ sets:
|
||||
10.1021/acs.jpclett.8b02058 : set 3
|
||||
10.1021/acs.jctc.8b01103 : set 4
|
||||
others:
|
||||
|
||||
10.1021/acs.jpclett.0c00014 :
|
Loading…
Reference in New Issue
Block a user