【问题标题】:Hosting google custom engine annotations托管谷歌自定义引擎注释
【发布时间】:2013-08-20 19:51:36
【问题描述】:

我正在尝试在线托管注释。

将此 include.xml 添加到 Google 自定义搜索帐户 CSE 注释:

<GoogleCustomizations>
  <Include type="Annotations" href="http://mywebsite.m/dynamic-annotations.xml" /> 
</GoogleCustomizations>

我的 dynamic-annotations.xml 文件看起来像

<?xml version="1.0" encoding="UTF-8" ?>
</Annotations>
      <Annotation about="http://en.wikipedia.org/wiki/*">
        <Label name="_cse_l98hzi05fja" />
      </Annotation>
</Annotations>

搜索结果不会出现在 Wikipedia 中。我做错了什么?

【问题讨论】:

    标签: xml annotations google-custom-search


    【解决方案1】:

    您的第一个 &lt;/Annotations&gt; 需要更少的 /。

     <Annotations>
        blah  
     </Annotations>
    

    应该可以,试一试(希望你从 8 月起就解决了这个问题)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-15
      • 2014-04-15
      • 2013-06-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多