Skip to content

Commit

Permalink
all
Browse files Browse the repository at this point in the history
  • Loading branch information
Lebourdais authored Nov 2, 2023
1 parent 90d2554 commit ae6a0e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const imgObserver = new IntersectionObserver(loadImg, {
imgTargets.forEach(img => imgObserver.observe(img));


let fields = "title_s,authFullName_s,conferenceTitle_s,conferenceStartDateY_i"
let fields = "title_s,authFullName_s,conferenceTitle_s,conferenceStartDateY_i,submittedDateY_i"

let url = "https://api.archives-ouvertes.fr/search/?q=authFullName_t:'martin lebourdais'&wt=json&fl="+fields
async function load_publications() {
Expand All @@ -155,8 +155,8 @@ async function load_publications() {
docs.forEach(element => {
let title_str = docs.title_s
let author_str = docs.authFullName_s
let conf_str = docs.conferenceTitle_s
let year_str = docs.conferenceStartDateY_i
let conf_str = docs.conferenceTitle_s ?? "ArXiv"
let year_str = docs.conferenceStartDateY_i ?? docs.submittedDateY_i
var publi_html = document.createElement('ul');
var title = document.createElement('li');
var author = document.createElement('li');
Expand Down

0 comments on commit ae6a0e7

Please sign in to comment.