10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 22:03:49 +01:00
QUESTDB_website/content/publications.html

49 lines
1.8 KiB
HTML

---
title: "Publications"
date: 2019-09-30 11:30
draft: false
---
<link rel="stylesheet" type="text/css" href="/css/publi.css" />
<script src="/js/data.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-yaml/3.13.1/js-yaml.min.js"></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/getPublis.js"></script>
<script src="/js/websiteFile.js"></script>
<script src="/js/numberUtils.js"></script>
<script src="/js/createPubliUI.js"></script>
{{< getDataFilesName >}}
<script>
window.onload = async function () {
var div = document.getElementById("publis_div")
const Cite = require("citation-js")
const sdois = uniq(Object.values(await loadAllData()).flat().map(d => d.DOI.string))
const spubliscite = await Cite.async(sdois)
const pubs = await getPublis()
const spublis = spubliscite.format('data', { format: 'object' })
for (const publi of spublis) {
art=createPubliUI(publi,pubs.sets,true)
$(art).appendTo("#publis_sets")
}
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("#publis_others")
}
}
</script>
<section class="publis-list" id="publis_sets">
<header>
<h2>Sets</h2>
</header>
</section>
<section class="publis" id="publis_others">
<header>
<h2>Others</h2>
</header>
</section>