-1

我想为我的网站添加 Google 小工具,因此我尝试为该小工具创建一个 XML 文件。创建后,我将其上传到我的网站。加载页面时,我发现文件中有一些错误。我尝试了很多次,但我没有。所以请修复错误。XML文件是

<Module> <ModulePrefs title="How to buy a Javelin" height="350" author="http://www.tracknfieldgear.com" author_email="news.tracknfieldgear@gmail.com" title_url=" http://www.tracknfieldgear.com" screenshot="http://www.tracknfieldgear.com/images-new/how-to-throw-javelin.png" thumbnail="http://www.tracknfieldgear.com/images-new/how-to-throw-javelin.png" description="Tracknfieldgear.com is an online store that contains all kind of athletic equipments including shot put, javelin etc. This gadget is related to javelin"/> <Content type="html">
<![CDATA[
<iframe name="How to buy a Javelin?" scrolling="no" allowtransparency="true" frameborder="0" width="250" height="250" src="http://goanimate.com/user/0xVwaBHeiRFI"></iframe> ]]> </Content>
</Module>

我尝试加载的 URL 是http://www.tracknfieldgear.com/how-to-buy-javelin-gadget.xml

4

1 回答 1

1

显然它找不到开始标签“ModulePrefs”的结尾

这是来自 XML-Validator的错误消息。

在 author_email 属性之前需要一个空格。

author="http://www.tracknfieldgear.com" author_email="news.tracknfieldgear@gmail.com"
于 2013-06-19T12:05:38.330 回答