Closed anasram closed 4 years ago
Found it:
header("Content-Type: application/xml; charset=UTF-8");
instead of:
header("Content-Type: application/rss+xml; charset=UTF-8");
But which is better for RSS: application/xml
or application/rss+xml
?
I don't now! Anyway, this is another issue.
Hi Matt,
It seems like browsers can't recognize the resulted XML file as a real XML file.
When I tried to link it to a CSS file, nothing changed. It still read it as a plain text.
Here's a live demo.
cc: @PhrozenByte; @theshka.
Thanks in advance.