Tekirdağ Nette

Tekirdağ içerikleri yüklenemedi
'; } $xml = @simplexml_load_string($content); if ($xml === FALSE) { return '
Tekirdağ RSS parse hatası
'; } $html = ''; $count = 0; if (isset($xml->channel->item)) { foreach ($xml->channel->item as $item) { if ($count >= $maxItems) break; $title = (string)$item->title; $link = (string)$item->link; // Tarih formatını düzelt $date = null; if (isset($item->pubDate)) { $date = DateTime::createFromFormat('D, d M Y H:i:s O', (string)$item->pubDate); if ($date === FALSE) { $date = new DateTime((string)$item->pubDate); } } $dateStr = $date ? $date->format('d.m.Y') : ''; $html .= '
' . htmlspecialchars($title) . ' ' . $dateStr . '
'; $count++; } } else { return '
Tekirdağ RSS formatı tanınamadı
'; } if ($count == 0) { return '
Henüz içerik bulunmuyor
'; } return $html; } echo getTekirdagRSS('https://tekirdag.rf.gd/rss.php'); ?> Siteyi Ziyaret Et

Forum

Forum içerikleri yüklenemedi
'; } $atom = @simplexml_load_string($content); if ($atom === FALSE) { return '
Forum RSS parse hatası
'; } $html = ''; $count = 0; foreach ($atom->entry as $entry) { if ($count >= $maxItems) break; $title = (string)$entry->title; $link = ''; if (isset($entry->link['href'])) { $link = (string)$entry->link['href']; } $date = ''; if (isset($entry->updated)) { $date = new DateTime((string)$entry->updated); } elseif (isset($entry->published)) { $date = new DateTime((string)$entry->published); } $dateStr = $date ? $date->format('d.m.Y') : ''; if (!empty($title) && !empty($link)) { $html .= '
' . htmlspecialchars($title) . ' ' . $dateStr . '
'; $count++; } } return $html; } echo getAtomFeed('https://tekirdag.rf.gd/forum/app.php/feed'); ?> Forum Sayfasına Git

Tekirdağ Nette Blog

Blog içerikleri yüklenemedi
'; } $html = ''; $count = 0; foreach ($rss->channel->item as $item) { if ($count >= $maxItems) break; $title = (string)$item->title; $link = (string)$item->link; $date = new DateTime((string)$item->pubDate); $dateStr = $date->format('d.m.Y'); $html .= '
' . htmlspecialchars($title) . ' ' . $dateStr . '
'; $count++; } return $html; } echo getRSSFeed('https://tekirdag.rf.gd/blog/feed'); ?> Blog Sayfasına Git
Web hosting by Somee.com