【问题标题】:Google Docs Embed: Have it crawled and indexed by GoogleGoogle Docs Embed:是否被 Google 抓取并编入索引
【发布时间】:2013-02-18 01:47:12
【问题描述】:

在我们的网站上,我们通过 Google Docs Embed 小部件显示了大量 PDF 和 Word 文档:

<iframe src="http://docs.google.com/viewer?url=http://our-url.com/view=file.doc&embedded=true" width="xxx" height="xxx" style="border: none;"></iframe>

有什么方法可以让 Google 真正抓取这些盒子的内容并将其编入索引?

这将极大地帮助我们的排名,因为我们网站的性质,我们的整个独特内容都显示在 Google 文档窗口中......提前致谢。

【问题讨论】:

    标签: indexing embed google-docs web-crawler


    【解决方案1】:

    两件事:

    您的链接似乎会被 Google 抓取。 Do robots crawl iframes? (另外,如果您希望 Google 为文件的内容编制索引,请将共享设置(在 Google Doc 上)设置为“在网络上公开”)。

    其次,在Google Webmaster Tools 注册您的网站。这基本上可以确保 Google 知道您的网站,并且您可以检查 Google 抓取您网站的频率等。不过,您必须确认您是该域的所有者,因此您需要有权访问到域名服务器管理(我相信)。

    【讨论】:

    • App Script 中的 iFrame 怎么样,例如:function doGet() { return HtmlService.createHtmlOutputFromFile('Index') .setSandboxMode(HtmlService.SandboxMode.IFRAME); } 我们需要在 Google Search Console 或 robots.txt 上配置什么吗?
    • @AntonioOoi 在这段时间之后找到了您问题的答案?
    • @user305883:不,但我相信不在您的 Search Console 域(或属性)上的 iFrame 内容不会被 Google 视为您网站内容的一部分——不过只是猜测。
    猜你喜欢
    • 2011-05-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多