Up to date mirror: https://sizeof.cat/post/lainring/
fetch('https://sizeof.cat/post/lainring/data/lainring.json').then(res => res.json()).then((data) => {
let out = '';
/* For each element in the JSON, build an anchor-image DOM structure */
data.items.forEach(element => {
/* This string is split in multiple lines for readability */
out += '<a title="' + element.title + '" ' +
'href="' + element.url + '">' +
'<img src="https://0x19.org/lainring/images/' + element.img + '" alt="' + element.title + '" loading="lazy" style="width:240px;height:64px;" /></a>';
});
/* Inject the DOM structure into the element with the id 'lainring' */
console.log(out);
});