index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-02-11 09:32:36 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-11 09:32:36 +0100 |
commit | 44992425b71a0bc38a8e263ce47f25f7767d80a1 (patch) | |
tree | 6aa40aec60fb2476c8a3da13b2db3193fec2dc36 /feeds | |
parent | 2bb0076e6cc1599d2818dacd6ea4b134e0b2957b (diff) |
-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>"; |