index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | feeds/feed.php | 2 |
diff --git a/feeds/feed.php b/feeds/feed.php index d22addd..11cddbe 100644 --- a/feeds/feed.php +++ b/feeds/feed.php @@ -130,6 +130,8 @@ if ($uri_parts[0] == 'packages') { while ($row = $result -> fetch_assoc()) $packages[] = $row; + header('Content-Type: application/rss+xml; charset=utf-8'); + print "<?xml version=\"1.0\" encoding=\"utf-8\"?>"; print "<rss version=\"2.0\">"; print "<channel>"; |