rss: set content-type to xml
* Work on https://github.com/sebsauvage/MinigalNano/issues/48
This commit is contained in:
parent
a108d8da78
commit
65c0ce6233
1 changed files with 1 additions and 0 deletions
1
rss.php
1
rss.php
|
@ -152,6 +152,7 @@ if (is_writeable(".")) {
|
|||
/*===================*/
|
||||
/* XML Gen */
|
||||
/*===================*/
|
||||
header('Content-Type: text/xml');
|
||||
$temp = explode("\n", $content);
|
||||
echo "<?xml version='1.0' encoding='UTF-8 '?>\n";
|
||||
echo "<rss version='2.0'>\n<channel>";
|
||||
|
|
Loading…
Reference in a new issue