2011-05-28 66 views
0
<?xml version="1.0" encoding="utf-8" ?> 
<rss version="2.0" > 
    <channel> 
    <title>tttttts</title> 
    <description></description> 
    <link>http://sssss.com</link> 
    <item> 
    <title>Test</title> 
<link>http://ssss.com/</link> 
</item> 
    </channel> 
</rss> 

域受密码保护。我无法使用Web服务进行检查。
这是有效的rss? Safari是引发此错误:这是rss供稿吗?

Safari can’t open the page “feed://ddd”. The error is: “unknown error” (CFURLErrorDomain:303) Please choose Help > Report Bugs to Apple, note the error number, and describe what you did before you saw this message.

但在IE和FF它的渲染罚款。 Chrome只是将xml视为内容。

+4

如有疑问:http://validator.w3.org/feed/#validate_by_input – 2011-05-28 02:34:23

+0

嗨补充...域是密码保护,因此我不能使用Web服务来检查。 – resting 2011-05-28 02:38:32

+0

这就是为什么我链接到直接输入版本。复制,粘贴,叮!薯条完成。 – 2011-05-28 02:44:10

回答

1

你可以上传你的饲料,以现场服务器,然后点击此处查看:

http://feed2.w3.org/check.cgi

编辑:我通过创建一个文件,并将其添加到我的服务器检查它。下面是建议:

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

line 10, column 0: item should contain a guid element [help] 
    </item> 

line 11, column 2: Missing atom:link with rel="self" [help] 
    </channel> 

编辑2:铬不显示在可读取的方式的XML订阅源数据(例如FF和IE)。为了使其易读,您需要使用xsl来设置内容的样式。