RSS提要使用的正确MIME类型是什么? [英] What is the correct MIME type to use for an RSS feed?
本文介绍了RSS提要使用的正确MIME类型是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为了确保与RSS阅读器和其他抓取工具的兼容性,一种MIME类型是否更可取?
Is one MIME type preferable to ensure compatibility with RSS readers and other scrapers?
选项似乎是:
- text/xml
- text/rss + xml
有趣的是,Stackoverflow正在使用text/html.
Interestingly Stackoverflow is using text/html.
推荐答案
都没有.这是 application/rss+xml
http://www.rssboard.org/rss-mime-type-application.txt
Neither. It's application/rss+xml
http://www.rssboard.org/rss-mime-type-application.txt
这篇关于RSS提要使用的正确MIME类型是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文