---
title: "Korfbalnieuws"
canonical: "https://www.dkvdehorst.nl/page/korfbalnieuws/"
format: markdown
---
# Korfbalnieuws

_De nieuwsberichten zijn afkomstig van [KNKV.nl](http://KNKV.nl) en [Korfbal.nl](http://Korfbal.nl)_

Korfbalnieuws laden...

#korfbal-feed { text-align: center; font-size: 1.1em; } #korfbal-feed ul { list-style: none; padding: 0; margin: 0 auto; display: inline-block; text-align: left; } #korfbal-feed li { margin-bottom: 1.5em; padding-bottom: 1em; border-bottom: 1px solid #ccc; max-width: 600px; } #korfbal-feed a { text-decoration: none; color: #003366; } #korfbal-feed small { color: #666; } const korfbalFeeds = \[ 'https://www.korfbal.nl/news-overview/feed/', 'https://www.knkv.nl/nieuws/feed/' \]; const fetchFeed = (url) => { const apiUrl = 'https://api.rss2json.com/v1/api.json?rss\_url=' + encodeURIComponent(url); return fetch(apiUrl).then(res => res.json()); }; Promise.all(korfbalFeeds.map(fetchFeed)) .then(results => { const allItems = results.flatMap(feed => feed.items.map(item => ({ title: item.title, link: item.link, pubDate: new Date(item.pubDate) }))); allItems.sort((a, b) => b.pubDate - a.pubDate); let html = '<ul>'; allItems.slice(0, 10).forEach(item => { html += \`<li> <a href="${item.link}" target="\_blank"><strong>${item.title}</strong></a><br> <small>${item.pubDate.toLocaleString()}</small> </li>\`; }); html += '</ul>'; document.getElementById('korfbal-feed').innerHTML = html; }) .catch(error => { console.error('Fout bij laden RSS-feeds:', error); document.getElementById('korfbal-feed').innerText = 'Kon de korfbalfeeds niet laden.'; });
