【发布时间】:2013-12-18 05:12:27
【问题描述】:
我正在尝试为播客设置 RSS 提要。我正在为此使用 Drupal 和 Views RSS 模块,但我认为它不相关或我的问题的根源。
我的问题是提要验证器 (CastFeedValidator) 无法识别我的 <item> 元素。它说我有 0 个项目,而同一站点上的另一个提要(不是播客)工作正常。
非工作提要 (http://www.gentlesite.be/drupal/podcast.xml) 具有以下 <item> 元素(例如已清理):
<item>
<title>Tweede podcast - test</title>
<link>http://gentlesite.be/drupal/content/tweede-podcast-test</link>
<description><p>Enkel zichtbaar voor admin</p></description>
<author>Peter Morlion</author>
<enclosure url="http://gentlesite.be/drupal/sites/default/files/1000Hz-5sec.mp3" length="30440" type="audio/mpeg" />
<guid isPermaLink="false">http://gentlesite.be/drupal/content/tweede-podcast-test</guid>
<pubDate>Mon, 02 Dec 2013 12:37:12 +0100</pubDate>
<source url="http://gentlesite.be/drupal/podcast.xml">Gentle podcast</source>
<dc:creator>Peter Morlion</dc:creator>
<itunes:summary><p>Enkel zichtbaar voor admin</p></itunes:summary>
<itunes:duration>0:05</itunes:duration>
<itunes:author>Peter Morlion</itunes:author>
</item>
工作提要 (http://gentlesite.be/drupal/rss.xml) 如下所示:
<item>
<title>Resultaten nieuwsbrief enquête</title>
<link>http://gentlesite.be/drupal/content/resultaten-nieuwsbrief-enqu%C3%AAte</link>
<description>blablabla</description>
<pubDate>Tue, 15 Oct 2013 07:49:18 +0000</pubDate>
<dc:creator>peter.morlion</dc:creator>
<guid isPermaLink="false">353 at http://gentlesite.be/drupal</guid>
</item>
我不明白为什么第一个不起作用。起初我认为这可能是因为某些标签丢失了。但是工作提要中的每个标签(标题、链接、描述、pubDate、dc:creator 和 guid)都处于非工作状态,等等。
有没有人经历过类似的事情和/或知道从哪里开始寻找?
更新
由于某种原因,validator.org 没有看到项目标签。 Firefox 和 Chrome 可以,但 IE10 没有。
【问题讨论】:
标签: drupal rss itunes drupal-views