2009-06-12 57 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以查找錯誤。