【发布时间】:2021-12-22 06:39:02
【问题描述】:
当我尝试验证我的 RSS 提要时,它给了我以下错误:
-
第 6 行,第 0 列:未定义的频道元素:id
-
第 11 行,第 124 列:XML 解析错误::11:124: 不是 格式正确(无效令牌)
有人可以帮帮我吗?
这是输出:
<rss version="2.0">
<channel>
<title>Blogs about buying guide</title>
<link href="https://www.homeserve.com/en-us/rss/buying-guide.xml" rel="self"/>
<link href="https://www.homeserve.com"/>
<id>https://www.homeserve.com</id>
<lastBuildDate>November 11, 2021</lastBuildDate>
<item>
<title>Shower Organization and Storage Ideas</title>
<author>Mark Soto</author>
<link href="https://www.homeserve.com/en-us/blog/buying-guide/shower-storage/?utm_source=rss&utm_medium=rss"/>
<link rel="canonical" href="https://www.homeserve.com/en-us/blog/buying-guide/shower-storage/"/>
<pubDate>November 11, 2021</pubDate>
<id>
https://www.homeserve.com/en-us/blog/buying-guide/shower-storage/
</id>
<description type="html">
<img src=https://library.homeserve.com/m/6c3db5cf93aac7f6/Blog-GettyImages-1297624660.jpg alt=Blue bottle bath fluid in a clean and comfortable bathroom > <p>Having an organized shower is crucial to making your showering experience smooth and relaxing. There are many types of shower organizers, and choosing the right one depends on different factors. Apart from functionality, shower organization also affects the aesthetic of your bathroom and impacts how much space you have.</p> <p><strong>This May Also Interest You:</strong> <a href="https://www.homeserve.com/en-us/blog/how-to/low-flow-showerhead/"><strong>Here’s How to Hack Your Low-Flow Showerhead ... But Should You?</strong></a></p>
</description>
</item>
</channel>
【问题讨论】:
-
你能分享一下输出吗?
-
@RaymondCamden 我已经用输出更新了我的描述。
-
嘿,我想让你添加它:)你能分享你的代码和输出吗?