Skip to content

Commit

Permalink
Update page
Browse files Browse the repository at this point in the history
  • Loading branch information
tkuhn committed Jul 9, 2024
1 parent 17dc1ce commit 324ccd7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions widgets.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
# Nanopub Widgets Demo

<script type="module">
import { query } from "https://a.knowledgepixels.com/js/nanopub-utils.js";
</script>

---

## Latest Accepted Nanopublications at Biodiversity Data Journal

<ul>
<script type="module">
import { query } from "https://a.knowledgepixels.com/js/nanopub-utils.js";
query("RAvapAhW_fz1LRSII9bo-cvpLYLA_tYZjbi7O1Wni3dOA/get-latest-bdj-nanopubs", bdj_nanopubs_template);
query("RAv_j-NWU-lJO0w0xgSzqJwOl3ATWumHqsQhoa2QmR-qQ/get-latest-bdj-nanopubs", bdj_nanopubs_template);
</script>
<li class="nps_temp"><em>(loading...)</em></li>
<template id="bdj_nanopubs_template"><li><span class="nanopub_icon"></span> <a nps_attribute="href=np" target="_blank"><span nps_innerText=label></span></a>, by <a nps_user=mainAuthor></a> <span nps_innerText=authorEtAl></span>, <span nps_innerText=date></span></li></template>
<template id="bdj_nanopubs_template"><li><span class="nanopub_icon"></span> <a nps_attribute="href=np" target="_blank"><span nps_innerText=label></span></a>, by <a nps_user=mainAuthor></a><span nps_innerText=authorEtAl></span>, <span nps_innerText=date></span></li></template>
</ul>


## Latest Accepted Nanopublications at RIO Journal

<ul>
<script type="module">
import { query } from "https://a.knowledgepixels.com/js/nanopub-utils.js";
query("RAehdfA-vihlyasSoMqeej1Ghoq7DZ3HLB6IaE0nwH44E/get-latest-rio-nanopubs", rio_nanopubs_template);
query("RAKYgzEn9t0GOPkHpP0s_fkAHPyQRQcMZXWUH3N5a9urw/get-latest-rio-nanopubs", rio_nanopubs_template);
</script>
<li class="nps_temp"><em>(loading...)</em></li>
<template id="rio_nanopubs_template"><li><span class="nanopub_icon"></span> <a nps_attribute="href=np" target="_blank"><span nps_innerText=label></span></a>, by <a nps_user=mainAuthor></a> <span nps_innerText=authorEtAl></span>, <span nps_innerText=date></span></li></template>
<template id="rio_nanopubs_template"><li><span class="nanopub_icon"></span> <a nps_attribute="href=np" target="_blank"><span nps_innerText=label></span></a>, by <a nps_user=mainAuthor></a><span nps_innerText=authorEtAl></span>, <span nps_innerText=date></span></li></template>
</ul>

0 comments on commit 324ccd7

Please sign in to comment.