iTunes 不显示播客图像
我似乎无法让 iTunes 显示我的播客的图像。准确地说,iTunes 甚至不会尝试下载我的播客的图像。 Apache 日志显示 iTunes 正在下载播客和第一个音频文件,但它完全忽略了 和
部分(如下所示) :
<image>
<url><?php echo htmlentities($imageURL) ?></url>
<title>My Podcast</title>
<link>http://<?php echo $_SERVER['HTTP_HOST'] ?></link>
<width>300</width>
<height>300</height>
</image>
<itunes:image>
<url><?php echo $imageURL ?></url>
<title>My Podcast</title>
<link>http://<?php echo $_SERVER['HTTP_HOST'] ?></link>
</itunes:image>
我也尝试过这个稍微短一点的替代方案,但没有成功。
<image>
<url><?php echo $imageURL ?></url>
<title>My Podcast</title>
<link>http://<?php echo $_SERVER['HTTP_HOST'] ?></link>
<width>300</width>
<height>300</height>
</image>
<itunes:image href="<?php echo $imageURL ?>" />
一些注意事项:
- 是的,图像 URL 有效,但请记住,iTunes 甚至不会尝试下载图像。
- 该播客未在 iTunes Store 中列出。
- 我的 iTunes 未与 iTunes Store 连接。
I cannot seem to get iTunes to display the image for my podcast. To be precise, iTunes doesn't even try to download the image for my podcast. Apache logs show the podcast and first audio file being downloaded by iTunes, but it is completely ignoring the <image>
and <itunes:image>
sections (shown here):
<image>
<url><?php echo htmlentities($imageURL) ?></url>
<title>My Podcast</title>
<link>http://<?php echo $_SERVER['HTTP_HOST'] ?></link>
<width>300</width>
<height>300</height>
</image>
<itunes:image>
<url><?php echo $imageURL ?></url>
<title>My Podcast</title>
<link>http://<?php echo $_SERVER['HTTP_HOST'] ?></link>
</itunes:image>
I have also tried this slightly shorter alternative, with no luck.
<image>
<url><?php echo $imageURL ?></url>
<title>My Podcast</title>
<link>http://<?php echo $_SERVER['HTTP_HOST'] ?></link>
<width>300</width>
<height>300</height>
</image>
<itunes:image href="<?php echo $imageURL ?>" />
A few notes:
- Yes the image URL works, but keep in mind that iTunes doesn't even try to download the image.
- This podcast is not listed in the iTunes Store.
- My iTunes is not connected with the iTunes Store.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
iTunes 本身不使用 RSS 源中设置的图像(它们仅由 iTunes Store 使用)。
iTunes 实际上使用了下载曲目中嵌入的封面艺术(它似乎使用了最新曲目中的艺术)。
您可以通过订阅新的播客来验证这一点。在下载曲目之前,您会看到其图标在 iTunes 的播客列表中保持空白,此时曲目封面将用于播客图标。
iTunes itself doesn't use the images set in the RSS feed (they're only used by the iTunes Store).
iTunes actually uses the cover art embedded in downloaded tracks (it appears to use the art from the newest track).
You can verify this by subscribing to a new podcast. You'll see its icon remains blank in the Podcasts listing in iTunes until a track has been downloaded, at which point the track cover art will be used for the podcast icon.