如何在Ubuntu VPS上托管RSS feed

问题描述 投票:0回答:1

我正在尝试为iTunes托管RSS提要,但始终收到不匹配的标签错误

Ubuntu // Apache

供稿网址为:http://fourteenthrees.com/podcasts/feed.xml

我的代码是:

<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

    <channel>
        <title>MUSIC 4 COMMITTING CRIMES</title>
        <link>http://www.fourteenthrees.com</link>
        <language>en-us</language>
        <copyright>℗ &amp; © 2019 Fourteen Threes</copyright>
        <itunes:subtitle>Music you listen to while committing crime.</itunes:subtitle>
        <itunes:author>Fourteen Threes</itunes:author>
        <itunes:summary>The soundtrack to all your crimes</itunes:summary>
        <description>Every episode is the soundtrack to a different crime.</description>
        <itunes:owner>
            <itunes:email>[email protected]</itunes:email>
        </itunes:owner>
        <itunes:image href="http://fourteenthrees.com/images/podlogo.jpg"/>
        <itunes:category text="Society &amp; Culture" />
        <itunes:category text="Arts" />
        <itunes:category text="News &amp; Politics" />
        <itunes:explicit>yes</itunes:explicit>

        <item>
            <title>00 - TEST</title>
            <itunes:subtitle>DIRTROID:the girl dies</itunes:subtitle>
            <itunes:summary><![CDATA[Dirty Harry v Metroid.]]></itunes:summary>
            <itunes:image href="http://fourteenthrees.com/images/podlogo.jpg"/>
            <enclosure length="8727310" type="audio/x-m4a" url="http://fourteenthrees.com/podcasts/FT-01.mp3”/>
             <pubDate>Thu, 12 Sep 2019 16:00:00 PDT</pubDate>
            <itunes:duration>22:04</itunes:duration>
            <itunes:explicit>yes</itunes:explicit>
        </item>

   </channel>
</rss>

这是Apple推荐的Feed验证程序的错误;

对不起,此供稿未通过验证。第29行,第13列:XML解析错误:: 29:13:格式不正确(无效令牌)星期四,2019年9月12日16:00:00 PDT

我看不到我做错了,可以换另一只眼睛,谢谢。

rss itunes pubdate
1个回答
0
投票

Ububtu // Apache(应该在第一个问题中指出)

© www.soinside.com 2019 - 2024. All rights reserved.