Welcome to Randal Douc's wiki

A collaborative site on maths but not only!

User Tools

Site Tools


world:publi-citi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

world:publi-citi [2025/09/13 13:53] (current)
rdouc created
Line 1: Line 1:
 +~~HTML~~
 +<div id="​publications-citi"></​div>​
 +<​script>​
 +fetch("​https://​api.archives-ouvertes.fr/​search/?​q=structId_i:​89901&​wt=json&​sort=producedDate_tdate+desc"​)
 +.then(response => response.json())
 +.then(data => {
 +    let html = "";​
 +    data.response.docs.forEach(doc => {
 +        let title = doc.title_s || "Titre non disponible";​
 +        let authors = (doc.authFullName_s || []).join(",​ ");
 +        let date = doc.producedDate_s || "";​
 +        let link = doc.uri_s || "#";​
 +        html += `<div class="​publication">​
 +                    <​h3><​a href="​${link}"​ target="​_blank">​${title}</​a></​h3>​
 +                    <​p><​strong>​Auteurs :</​strong>​ ${authors}</​p>​
 +                    <​p><​strong>​Date :</​strong>​ ${date}</​p>​
 +                 </​div>​`;​
 +    });
 +    document.getElementById("​publications-citi"​).innerHTML = html;
 +});
 +</​script>​
 +~~HTML~~
  
world/publi-citi.txt ยท Last modified: 2025/09/13 13:53 by rdouc