简体   繁体   English

如何在不使用IFrame的情况下在页面上显示PDF的HTML5转换?

[英]How to display HTML5 convert of a PDF on page without using an IFrame?

I do not want to embed the PDF directly as the PDF is itself indexed by Google, and is returned directly in Google search results (If the PDF is displayed on page I can benefit from advertising clicks). 我不想直接嵌入PDF,因为PDF本身由Google编制索引,并直接在Google搜索结果中返回(如果PDF显示在页面上,我可以从广告点击中受益)。

As suggested elsewhere on StackOverflow I have used this conversion tool: 正如StackOverflow上其他地方所建议的那样,我已经使用了此转换工具:

http://www.idrsolutions.com/example_conversions/ http://www.idrsolutions.com/example_conversions/

However the output from here in the Iframe is not indexed by Google. 但是,iframe中iframe此处的输出不会被Google索引。

Here is an example of the output I desire: 这是我想要的输出示例:

http://www.manualsdir.com/manuals/132858/jaguar-s-type.html http://www.manualsdir.com/manuals/132858/jaguar-s-type.html

How can I replicate this Functionality? 如何复制此功能?

Google tries to associate framed content with the page containing the frames, but we don't guarantee that we will. Google尝试将框架内容与包含框架的页面相关联,但我们不保证会。

From here: https://support.google.com/webmasters/answer/34445?hl=en 从这里: https : //support.google.com/webmasters/answer/34445?hl=zh_CN

Speculating, what this probably means is that the content should be on the same domain (to ensure it's your content) and only iframed once or a small number of times (so that multiple pages cannot gain credit for the same piece of content). 推测,这可能意味着该内容应位于同一域上(以确保它是您的内容),并且仅经过一次或少量多次修改(以便多个页面无法获得同一内容的信誉)。

Did you follow the above ideas and give Google enough time to index the content? 您是否遵循上述想法,并给Google足够的时间对内容进行索引?

For disclosure, I am a developer at IDRsolutions. 为了公开起见,我是IDRsolutions的开发人员。

We do have customers who are iframing converted content and having it indexed by Google. 我们确实有一些客户在对转换后的内容进行格式化,并由Google将其编入索引。 You might like to try the singlefile mode that puts all pages into one file so Google is able to easily index content on all of the pages. 您可能想尝试将所有页面放入一个文件的单文件模式,以便Google能够轻松索引所有页面上的内容。

If you have any questions specific to the conversion, there are support forums here: http://support.idrsolutions.com/forums/forum/pdf-conversion-forum/ 如果您对转换有任何疑问,请访问此处的支持论坛: http : //support.idrsolutions.com/forums/forum/pdf-conversion-forum/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM