2009-06-12 47 views
0

我正尝试使用WCF创建Podcast RSS订阅源。 Feed似乎是有效的,但外壳标签被忽略。有任何想法吗?RSS机柜被忽略

现在修正...即使您正在给自己提供文件,也不要使用文件file:/// url。

<rss version="2.0"> 
<channel> 
    <title>Joe Blow</title> 
    <link>http://google.com/</link> 
    <description>The Joe Blow Show</description> 
    <managingEditor>[email protected]</managingEditor> 
    <category>Talk Radio</category> 
    <item> 
     <guid isPermaLink="false">1342</guid> 
     <category>Podcast</category> 
     <title>Joe Blow Show #1</title> 
     <description>Joe Blow Show #1</description> 
     <pubDate>Mon, 01 Jun 2009 13:57:47 -0600</pubDate> 
     <enclosure url="file:///C:/JoeBlowShow1.mp3" type="audio/mpeg" length="101725855" /> 
     </item> 
</channel> 
</rss> 

回答

1

两件事情:

  1. 外壳不应该被存储在硬盘上。这应该是一个世界可访问的URL。 (这假设您正在网上发布此文件。)
  2. 通过feed validator运行Feed以查找错误。