Google Chrome rendering XML as text for RSS feed

后端 未结 6 2074
有刺的猬
有刺的猬 2020-12-15 04:40

I have this script to generate an XML file for an RSS feed. Works great in every browser except Chrome. Chrome just renders the XML as text. Something to do with he

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-15 05:26

    I had this same problem and I used "application/xml" and it fixed it right up. Chrome doesn't like "application/rss+xml".

提交回复
热议问题