?php header('Content-Type: text/xml; charset=utf-8'); echo '' . PHP_EOL; echo '' . PHP_EOL; $base_url = 'https://jetsunucum.net'; $root = __DIR__; $static_pages = [ '/' => [ 'file' => 'index.php', 'priority' => '1.00', 'changefreq' => 'daily', 'images' => [ ['loc' => '/assets/img/eko-banner.webp', 'title' => 'JetSunucum Sanal Sunucu ve VDS Kiralama'], ['loc' => '/assets/img/premium-banner.webp', 'title' => 'JetSunucum Premium Sunucu'], ['loc' => '/assets/img/jetsunucum-ana-w.png', 'title' => 'JetSunucum Türkiye Lokasyon Sunucu Altyapısı'], ], ], '/dedicated-server' => [ 'file' => 'dedicated-server.php', 'priority' => '0.90', 'changefreq' => 'weekly', 'images' => [ ['loc' => '/assets/img/vds-serverr.jpg', 'title' => 'Dedicated Server Kiralama Türkiye — Fiziksel Sunucu'], ], ], '/co-location' => [ 'file' => 'co-location.php', 'priority' => '0.88', 'changefreq' => 'weekly', 'images' => [ ['loc' => '/assets/img/vds-server.webp', 'title' => 'Co-Location Sunucu Barındırma Türkiye — 1U 2U 4U'], ], ], '/ekonomik-sunucu' => [ 'file' => 'ekonomik-sunucu.php', 'priority' => '0.95', 'changefreq' => 'weekly', 'images' => [ ['loc' => '/assets/img/eko-banner.webp', 'title' => 'Ekonomik Sanal Sunucu Paketleri - Türkiye Lokasyon'], ['loc' => '/assets/img/server.webp', 'title' => 'Ekonomik VDS Sunucu'], ], ], '/ekonomik-sunucu-plus' => [ 'file' => 'ekonomik-sunucu-plus.php', 'priority' => '0.95', 'changefreq' => 'weekly', 'images' => [ ['loc' => '/assets/img/eko-banner.webp', 'title' => 'Ekonomik Sunucu Plus Paketleri - NVMe VDS'], ['loc' => '/assets/img/server.webp', 'title' => 'Ekonomik Sunucu Plus'], ], ], '/premium-sunucu' => [ 'file' => 'premium-sunucu.php', 'priority' => '0.95', 'changefreq' => 'weekly', 'images' => [ ['loc' => '/assets/img/premium-banner.webp', 'title' => 'Premium Sanal Sunucu AMD Ryzen 9 5900X'], ['loc' => '/assets/img/vds-server.webp', 'title' => 'Premium VDS Sunucu'], ], ], '/web-hosting' => [ 'file' => 'web-hosting.php', 'priority' => '0.90', 'changefreq' => 'weekly', 'images' => [ ['loc' => '/assets/img/cpanel-banner.webp', 'title' => 'cPanel Web Hosting Türkiye'], ['loc' => '/assets/img/cpanel-logo.webp', 'title' => 'cPanel Hosting - JetSunucum'], ], ], '/kurumsal' => [ 'file' => 'kurumsal.php', 'priority' => '0.70', 'changefreq' => 'monthly', 'images' => [ ['loc' => '/assets/img/kurumsal-banner.jpg', 'title' => 'JetSunucum Bilişim Teknolojileri Kurumsal'], ['loc' => '/assets/img/BTK_logo.webp', 'title' => 'BTK Lisanslı Hosting Firması'], ['loc' => '/assets/img/etbis-logo.webp', 'title' => 'ETBİS Kayıtlı'], ], ], '/banka-hesaplarimiz' => [ 'file' => 'banka-hesaplarimiz.php', 'priority' => '0.50', 'changefreq' => 'monthly', ], '/hizmet-sozlesmesi' => [ 'file' => 'hizmet-sozlesmesi.php', 'priority' => '0.35', 'changefreq' => 'yearly', ], '/mesafeli-satis-sozlesmesi' => [ 'file' => 'mesafeli-satis-sozlesmesi.php', 'priority' => '0.35', 'changefreq' => 'yearly', ], '/teslimat-iade' => [ 'file' => 'teslimat-iade.php', 'priority' => '0.35', 'changefreq' => 'yearly', ], '/gizlilik-sozlesmesi' => [ 'file' => 'gizlilik-sozlesmesi.php', 'priority' => '0.35', 'changefreq' => 'yearly', ], '/kvkk' => [ 'file' => 'kvkk.php', 'priority' => '0.35', 'changefreq' => 'yearly', ], '/iletisim' => [ 'file' => 'iletisim.php', 'priority' => '0.70', 'changefreq' => 'monthly', ], '/yasal-belgeler' => [ 'file' => 'yasal-belgeler.php', 'priority' => '0.50', 'changefreq' => 'yearly', ], '/ddos-korumas%C4%B1' => [ 'file' => 'ddos-koruması.php', 'priority' => '0.88', 'changefreq' => 'monthly', 'images' => [ ['loc' => '/assets/img/guard.webp', 'title' => 'JetSunucum Edge DDoS Koruması — 20+ Tbps 3 Katman'], ['loc' => '/assets/img/northshield.webp', 'title' => 'Northshield DDoS Filtreleme — JetSunucum'], ['loc' => '/assets/img/pletx.png', 'title' => 'Pletx XDP Inline Koruma — JetSunucum Edge'], ['loc' => '/assets/img/gcore.png', 'title' => 'Gcore BGP Anycast Ağı — JetSunucum Edge'], ], ], '/blog' => [ 'file' => 'blog.php', 'priority' => '0.80', 'changefreq' => 'weekly', 'images' => [ ['loc' => '/assets/img/blog/ddos-koruma.webp', 'title' => 'DDoS Koruma Rehberi — JetSunucum Blog'], ['loc' => '/assets/img/blog/hosting-vds.webp', 'title' => 'Web Hosting ve VDS Farkı — JetSunucum Blog'], ['loc' => '/assets/img/blog/linux-guvenlik.webp', 'title' => 'Linux VDS Güvenlik Ayarları — JetSunucum Blog'], ], ], '/bakim' => [ 'file' => 'bakim.php', 'priority' => '0.30', 'changefreq' => 'monthly', ], '/privacy-policy' => [ 'file' => 'privacy-policy.php', 'priority' => '0.35', 'changefreq' => 'yearly', ], '/terms-of-service' => [ 'file' => 'terms-of-service.php', 'priority' => '0.35', 'changefreq' => 'yearly', ], ]; // Blog post URLs require_once __DIR__ . '/core/blog-posts.php'; foreach ($static_pages as $url => $data) { $filePath = $root . '/' . $data['file']; $lastmod = file_exists($filePath) ? date('Y-m-d', filemtime($filePath)) : date('Y-m-d'); echo " " . PHP_EOL; echo " " . htmlspecialchars($base_url . $url) . "" . PHP_EOL; echo " " . $lastmod . "" . PHP_EOL; echo " " . $data['changefreq'] . "" . PHP_EOL; echo " " . $data['priority'] . "" . PHP_EOL; if (!empty($data['images'])) { foreach ($data['images'] as $img) { echo " " . PHP_EOL; echo " " . htmlspecialchars($base_url . $img['loc']) . "" . PHP_EOL; echo " " . htmlspecialchars($img['title']) . "" . PHP_EOL; echo " " . PHP_EOL; } } echo " " . PHP_EOL; } // Blog yazıları foreach ($BLOG_POSTS as $post) { echo " " . PHP_EOL; echo " " . htmlspecialchars($base_url . '/blog/' . $post['slug']) . "" . PHP_EOL; echo " " . htmlspecialchars($post['date']) . "" . PHP_EOL; echo " monthly" . PHP_EOL; echo " 0.65" . PHP_EOL; echo " " . PHP_EOL; echo " " . htmlspecialchars($base_url . $post['img']) . "" . PHP_EOL; echo " " . htmlspecialchars($post['img_alt']) . "" . PHP_EOL; echo " " . PHP_EOL; echo " " . PHP_EOL; } echo ''; ?>