User Tools

Site Tools

handleiding_nieuw:sumsonite_menu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
handleiding_nieuw:sumsonite_menu [2025/04/17 15:42] supporthandleiding_nieuw:sumsonite_menu [2025/04/18 10:02] (current) support
Line 27: Line 27:
  
 ---- ----
-===== Sumsonite onderdelen =====+===== Sumsonite onderdelen in dit menu =====
  
 <html> <html>
Line 41: Line 41:
   <div style="flex: 1 1 45%; background: #f3f9ff; border-left: 5px solid #8e44ad; border-radius: 8px; padding: 1em;">   <div style="flex: 1 1 45%; background: #f3f9ff; border-left: 5px solid #8e44ad; border-radius: 8px; padding: 1em;">
     <h3 style="margin-top: 0;"><a href="/wiki/doku.php?id=handleiding_nieuw:sub_dashboards" style="color: #8e44ad; text-decoration: none;">📊 Dashboards</a></h3>     <h3 style="margin-top: 0;"><a href="/wiki/doku.php?id=handleiding_nieuw:sub_dashboards" style="color: #8e44ad; text-decoration: none;">📊 Dashboards</a></h3>
-    <p style="margin: 0;">Interactieve visualisaties (in Tableau) van je projectgegevens en scenario’s.</p>+    <p style="margin: 0;">Interactieve visualisaties van je projectgegevens en scenario’s.</p>
   </div>   </div>
  
Line 57: Line 57:
  
 </div> </div>
 +</html>
  
 +<html>
 +<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 RSS2JSON -->
 +<div style="flex: 1 1 48%;">
 +  <div style="display: flex; align-items: center; margin-bottom: 1em;">
 +    <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;">
 +    <h2 style="font-size: 1.3em; margin: 0; color: #444;">Laatste artikelen van Gebiedsontwikkeling.nu</h2>
 +  </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>
  
-  <!-- Gebiedsontwikkeling.nu via eigen PHP --+<script> 
-  <div style="flex: 1 1 48%;"> +fetch("https://api.rss2json.com/v1/api.json?rss_url=https://www.gebiedsontwikkeling.nu/feed/"
-    <div style="display: flexalign-items: centermargin-bottom: 1em;"> +  .then(response =response.json()) 
-      <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Globe_icon.svg/48px-Globe_icon.svg.pngalt="Gebiedsontwikkeling.nu logo" style="height28pxmargin-right10px;"> +  .then(data => { 
-      <h2 style="font-size: 1.3em; margin: 0; color: #444;">Laatste artikelen van Gebiedsontwikkeling.nu</h2+    const list = document.getElementById("go-nieuws"); 
-    </div> +    list.innerHTML = ""; 
- +    const items = data.items.slice(0, 3); 
-    <iframe src="/wiki/feeds/gebiedsontwikkeling.phpwidth="100%" height="400" frameborder="0" style="border: 1px solid #ccc; border-radius: 8px;"></iframe+    for (const item of items) { 
-  </div>+      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:#2a7ae2text-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 -->
handleiding_nieuw/sumsonite_menu.1744904537.txt.gz · Last modified: 2025/04/17 15:42 by support