handleiding_nieuw:sumsonite_menu
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
handleiding_nieuw:sumsonite_menu [2025/04/17 16:13] – support | handleiding_nieuw:sumsonite_menu [2025/04/18 10:02] (current) – support | ||
---|---|---|---|
Line 63: | Line 63: | ||
- | < | + | < |
<div style=" | <div style=" | ||
<div style=" | <div style=" | ||
Line 70: | Line 70: | ||
</ | </ | ||
- | <iframe src="https:// | + | <ul id="go-nieuws" style=" |
+ | < | ||
+ | | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | fetch(" | ||
+ | .then(response => response.json()) | ||
+ | .then(data => { | ||
+ | const list = document.getElementById(" | ||
+ | list.innerHTML = ""; | ||
+ | const items = data.items.slice(0, | ||
+ | for (const item of items) { | ||
+ | const date = new Date(item.pubDate).toLocaleDateString(" | ||
+ | const li = document.createElement(" | ||
+ | li.style.marginBottom = " | ||
+ | li.innerHTML = `📌 <a href=" | ||
+ | list.appendChild(li); | ||
+ | } | ||
+ | }) | ||
+ | .catch(() => { | ||
+ | document.getElementById(" | ||
+ | }); | ||
+ | </ | ||
| |
handleiding_nieuw/sumsonite_menu.1744906430.txt.gz · Last modified: 2025/04/17 16:13 by support