Compare commits

3 Commits
main ... master

Author SHA1 Message Date
7aed6e5707 Small adjustment 2025-10-31 13:47:28 +01:00
0746ecd3d1 Small adjustment to RSS feed 2025-10-31 11:50:20 +01:00
44d5e206ca Changed the default news feed RSS url 2025-10-31 11:46:27 +01:00

View File

@@ -63,7 +63,7 @@
</div> </div>
<script> <script>
const defaultRssUrl = "https://www.nasa.gov/news-release/feed/"; // Default NASA news feed const defaultRssUrl = "https://thecafeterium.com/feed/"; // Default theCafeterium news feed
function fetchRssFeed(rssUrl) { function fetchRssFeed(rssUrl) {
console.log('Fetching RSS feed:', rssUrl); console.log('Fetching RSS feed:', rssUrl);
@@ -102,7 +102,7 @@
tickerContent.style.animationDuration = `${animationDuration}s`; tickerContent.style.animationDuration = `${animationDuration}s`;
tickerContent.style.animation = 'none'; // Reset animation tickerContent.style.animation = 'none'; // Reset animation
void tickerContent.offsetWidth; // Trigger reflow void tickerContent.offsetWidth; // Trigger reflow
tickerContent.style.animation = 'ticker-scroll ${animationDuration}s linear infinite'; tickerContent.style.animation = `ticker-scroll ${animationDuration}s linear infinite`;
} else { } else {
document.getElementById('ticker-content').textContent = "No headlines found in feed."; document.getElementById('ticker-content').textContent = "No headlines found in feed.";