Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-11 09:32:36 +0100
committerErich Eckner <git@eckner.net>2019-02-11 09:32:36 +0100
commit44992425b71a0bc38a8e263ce47f25f7767d80a1 (patch)
tree6aa40aec60fb2476c8a3da13b2db3193fec2dc36
parent2bb0076e6cc1599d2818dacd6ea4b134e0b2957b (diff)
feeds/feed.php: set correct content type in header
-rw-r--r--feeds/feed.php2
1 files changed, 2 insertions, 0 deletions
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>";