'; echo ''; // **2. Peta Situs untuk artikel detail (slug)** $sql = "SELECT slug, updated_at FROM detail_artikel ORDER BY updated_at DESC"; $result = $conn->query($sql); echo ''; echo '' . htmlspecialchars("https://portalumkm.com/blog/") . ''; echo '' . date('Y-m-d') . ''; echo '1.0'; echo ''; while ($row = $result->fetch_assoc()) { echo ''; echo '' . htmlspecialchars("https://portalumkm.com/blog/" . $row['slug']) . ''; echo '' . date('Y-m-d', strtotime($row['updated_at'])) . ''; echo '1.0'; echo ''; } echo ''; $conn->close(); ?>