我正在尝试为iTunes托管一个RSS提要,但我一直收到一个不匹配的标签错误
Ubuntu // Apache
摘要url为: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>℗ & © 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>editor@fourteenthrees.com</itunes:email>
</itunes:owner>
<itunes:image href="http://fourteenthrees.com/images/podlogo.jpg"/>
<itunes:category text="Society & Culture" />
<itunes:category text="Arts" />
<itunes:category text="News & 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
我看不出我做错了什么,可以用另一双眼睛,谢谢。
发布于 2019-10-05 16:53:56
Ububtu // Apache (应该已经在第一个问题中注意到了)
以root用户身份登录
首先,我删除了用来存放RSS提要的/var/www/html/podcast/ dir
cd /
sudo apt-get update -y
sudo apt-get install mysql-server -y
sudo /usr/bin/mysql_secure_installation
sudo systemctl enable apache2.service
sudo systemctl enable mysql.service
sudo apt-get update
sudo apt-get install software-properties-common
add-apt-repository ppa:ondrej/php
sudo apt-get install php7.3
systemctl restart apache2.service已下载的Podcast Generator
将zip文件解压缩到桌面,并将新内容放入名为/podcast/的新文件夹中
将ssh podcast文件夹放入/var/www/html/
Chmod 777 /var/www/html/
Chmod 777 /var/www/html/podcasts/
Chmod 777 var/www/html/media
chmod 777 /var/www/hmtl/podcasts/images打开浏览器,导航到http://eaxample.com/podcasts/setup
按照屏幕上的GUI说明,填写所有类别,并使用FTP查找选项来识别您的ssh上传,如果您的文件超过2MB。
不要害怕使用管理区域中的后退按钮导航,如果您保存它,它会记住所有内容。
像个护身符一样工作
https://stackoverflow.com/questions/58230105
复制相似问题