2013-06-19 58 views
-1

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

<Module> <ModulePrefs title="How to buy a Javelin" height="350" author="http://www.tracknfieldgear.com" author_email="[email protected]" 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>

我试图加载被http://www.tracknfieldgear.com/how-to-buy-javelin-gadget.xml

回答

1

显然无法找到你的启动标签“在ModulePrefs”

这里结束的网址是从该error message XML的验证。

您需要author_email属性前的空格。

author="http://www.tracknfieldgear.com" author_email="[email protected]" 
+0

非常感谢..我用你的帮助修复了错误:) –