开发者

what is the best link for rss?

Whether there is a standard for location of rss in website? like this :

http://MyWebSite.com/r开发者_Python百科ss.xml


There's no standard URL—any browser that supports RSS is going to do so by looking at the “alternate” link you specify in your page's header. For this page, for instance, it's

<link rel="alternate" type="application/atom+xml" title="Feed for question 'what is the best link for rss?'" href="/feeds/question/5004140"/>

The “href” attribute is arbitrary. Point it wherever you like.


If there is, I certainly have never come across it - and I have a whole slew of blogs in my RSS reader. Better to use a <link rel="alternate" type="application/rss+xml" href="" /> in your <head>.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜