Widget: Homepage: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 110: | Line 110: | ||
console.log(platformResponse) | console.log(platformResponse) | ||
var platformData = Object.getOwnPropertyNames(platformResponse.query.results).map(name => { | var platformData = Object.getOwnPropertyNames(platformResponse.query.results).map(name => { | ||
return { name: name, image: platformResponse.query.results[name].printouts.IMAGE[0].fulltext }; | return { name: name, image: platformResponse.query.results[name].printouts.IMAGE[0].fulltext.replace('PAGENAME:', '') }; | ||
}); | }); | ||
Revision as of 12:30, 2 June 2022
Development verstion of the DCT Homepage.
Not ready for production!