Both sides previous revisionPrevious revisionNext revision | Previous revision |
handleiding_nieuw:sumsonite_menu [2025/04/17 16:07] – support | handleiding_nieuw:sumsonite_menu [2025/04/18 10:02] (current) – support |
---|
<div style="display: flex; flex-wrap: wrap; gap: 2em; background: #f9f9fb; border: 1px solid #e1e4e8; padding: 1.5em; border-radius: 10px; font-family: sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,0.04);"> | <div style="display: flex; flex-wrap: wrap; gap: 2em; background: #f9f9fb; border: 1px solid #e1e4e8; padding: 1.5em; border-radius: 10px; font-family: sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,0.04);"> |
| |
<!-- Gebiedsontwikkeling.nu via iframe --> | |
<div style="flex: 1 1 48%;"> | <!-- Gebiedsontwikkeling.nu via RSS2JSON --> |
<div style="display: flex; align-items: center; margin-bottom: 1em;"> | <div style="flex: 1 1 48%;"> |
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Globe_icon.svg/48px-Globe_icon.svg.png" alt="Gebiedsontwikkeling.nu logo" style="height: 28px; margin-right: 10px;"> | <div style="display: flex; align-items: center; margin-bottom: 1em;"> |
<h2 style="font-size: 1.3em; margin: 0; color: #444;">Laatste artikelen van Gebiedsontwikkeling.nu</h2> | <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Globe_icon.svg/48px-Globe_icon.svg.png" alt="Gebiedsontwikkeling.nu logo" style="height: 28px; margin-right: 10px;"> |
</div> | <h2 style="font-size: 1.3em; margin: 0; color: #444;">Laatste artikelen van Gebiedsontwikkeling.nu</h2> |
| |
<iframe src="https://sumcityfeeds.web.app/gebiedsontwikkeling.html" width="100%" height="400" frameborder="0" style="border: 1px solid #ccc; border-radius: 8px;"></iframe> | |
</div> | </div> |
| |
| <ul id="go-nieuws" style="list-style: none; padding: 0; margin: 0; font-size: 0.95em; color: #333;"> |
| <li>⏳ Nieuws wordt geladen...</li> |
| </ul> |
| </div> |
| |
| <script> |
| fetch("https://api.rss2json.com/v1/api.json?rss_url=https://www.gebiedsontwikkeling.nu/feed/") |
| .then(response => response.json()) |
| .then(data => { |
| const list = document.getElementById("go-nieuws"); |
| list.innerHTML = ""; |
| const items = data.items.slice(0, 3); |
| for (const item of items) { |
| const date = new Date(item.pubDate).toLocaleDateString("nl-NL"); |
| const li = document.createElement("li"); |
| li.style.marginBottom = "0.7em"; |
| li.innerHTML = `📌 <a href="${item.link}" target="_blank" style="color:#2a7ae2; text-decoration:none; font-weight:bold;">${item.title}</a><br><span style="font-size:0.85em; color:#777;">${date}</span>`; |
| list.appendChild(li); |
| } |
| }) |
| .catch(() => { |
| document.getElementById("go-nieuws").innerHTML = "<li>⚠️ Nieuws kon niet geladen worden.</li>"; |
| }); |
| </script> |
| |
| |
| |
<!-- LinkedIn Sumsonite --> | <!-- LinkedIn Sumsonite --> |