【问题标题】:Missing Snippet Highlighting for feed content缺少提要内容的片段突出显示
【发布时间】:2015-01-29 23:13:20
【问题描述】:

Feed 内容缺少 sn-p 突出显示。它很好地突出了标题。

这是从提交的提要中提取的示例记录,

<record url="http://my.example.com/1" mimetype="text/html" displayurl="http://my.example.com/1" action="add">
  <metadata>
    <meta name="CategoryId" content="25" />
    <meta name="CommentCount" content="0" />
    <meta name="Dimension" content="2d" />
    <meta name="PublishDate" content="2011/11/17 10:26 AM" />
    <meta name="ItemCategory" content="multimedia" />
    <meta name="SuperType" content="Videos" />
  </metadata>
  <content><![CDATA[<!DOCTYPE html><html><head><title>blah blah blah blah</title><meta name="title" content="yada yada yada yada yada yada yada yada yada" /><meta name="description" content="hey hey hey hey hey what yes no hello goodbye" /></head></html>]]></content>
</record>

【问题讨论】:

    标签: google-search-appliance


    【解决方案1】:

    片段突出显示缺失,因为您提交的 Feed 中没有任何正文内容。 从您的示例记录中,很明显您只是在索引元信息。您必须将您的内容放在&lt;body&gt; your content&lt;/body&gt; 标签内。您可以检查您的爬网诊断(状态和报告> GSA 版本 7.0 的爬网诊断)以了解 GSA 已将哪些内容编入索引。为了您的记录,它必须是空的。

    问候,

    莫汉

    【讨论】:

      猜你喜欢
      • 2013-08-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-11-25
      • 1970-01-01
      相关资源
      最近更新 更多