10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-27 06:43:47 +01:00
QUESTDB_website/content/references.html

99 lines
3.4 KiB
HTML
Raw Normal View History

2019-09-30 13:29:44 +02:00
---
2020-11-26 00:29:06 +01:00
title: "References"
2019-09-30 13:29:44 +02:00
date: 2019-09-30 11:30
draft: false
---
<link rel="stylesheet" type="text/css" href="/css/publi.css" />
<link rel="stylesheet" type="text/css" href="/css/modal.css" />
<script src="/js/data.js" type="text/javascript"></script>
<script src="/js/loadAllData.js" type="text/javascript"></script>
<script src="/js/getFullDataPath.js" type="text/javascript"></script>
<script src="/js/getTextFromFile.js" type="text/javascript"></script>
<script src="/js/trueTypeOf.js" type="text/javascript"></script>
<script src="/js/uniq.js"></script>
<script src="/js/websiteFile.js"></script>
2020-02-07 10:16:33 +01:00
<script src="/js/numberUtils.js"></script>
2020-06-10 15:18:39 +02:00
<script src="/js/DebugMode.js"></script>
<script src="/js/PubliData.js"></script>
<script src="/js/createPubliUI.js"></script>
<script src="/js/processingIndicator.js"></script>
2020-09-20 17:53:58 +02:00
<script src="/js/indexDB.js"></script>
2019-09-30 13:29:44 +02:00
{{< getDataFilesName >}}
<script>
window.onload = async function () {
processingIndicator.isActive = true
const setsSec = $('#publis_sets')
2020-09-20 17:53:58 +02:00
var myDB = await indexDB.loadAsync()
const sets = myDB.sets
var odois=[]
for (const [setName,dois] of sets) {
if (dois.length !== 0) {
odois = odois.concat(dois.slice(1))
2020-09-14 16:01:29 +02:00
const mySetSec = $('<section>').addClass('publiSet').attr("data-setName", setName).attr("id",setName).appendTo(setsSec)
$("<h1>").text(setName).appendTo(mySetSec)
const doi = dois[0]
if (doi!==null) {
publi = await PubliData.loadAsync(doi)
const art = await createPubliUI(publi, true, true)
$(art).appendTo(mySetSec)
}
}
}
odois = odois.concat(myDB.others)
var sodois = new Set(odois)
if (sodois.has(null)) {
sodois.delete(null)
}
2021-02-17 16:39:54 +01:00
for (const [setName,dois] of sets) {
if (dois.length>0) {
const doi=dois[0]
if (sodois.has(doi)) {
sodois.delete(doi)
}
}
}
odois=Array.from(sodois)
const uoopublis = await PubliData.loadManyAsync(odois)
2021-02-17 16:39:54 +01:00
const opublis = uoopublis.sort((puba, pubb) => pubUtils.parseDate(pubUtils.bestDate(puba).dateInfo) - pubUtils.parseDate(pubUtils.bestDate(pubb).dateInfo))
for (const publi of opublis) {
const art = await createPubliUI(publi, true, true)
$(art).appendTo("#publis_other")
}
const rdois = myDB.reviews
const uorpublis = await PubliData.loadManyAsync(rdois)
2021-02-17 16:39:54 +01:00
const rpublis = uorpublis.sort((puba, pubb) => pubUtils.parseDate(pubUtils.bestDate(puba).dateInfo) - pubUtils.parseDate(pubUtils.bestDate(pubb).dateInfo))
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'
})
}
2020-09-14 16:01:29 +02:00
}
}
2019-09-30 13:29:44 +02:00
</script>
2020-03-19 18:06:29 +01:00
<section class="publis-list" id="publis_sets">
<header>
2020-09-10 14:14:20 +02:00
<h1>The QUEST subsets</h2>
2020-03-19 18:06:29 +01:00
</header>
</section>
<section class="publis-list" id="publis_other">
<header>
<h1>Other publications using QUEST</h2>
</header>
</section>
<section class="publis" id="publis_review">
2020-03-19 18:06:29 +01:00
<header>
2020-09-21 09:19:54 +02:00
<h1>Review articles about QUEST</h2>
2020-03-19 18:06:29 +01:00
</header>
</section>
2020-09-10 14:14:20 +02:00
{{< waitModal >}}