问题描述
将要在浏览器中查看的 PDF 文档转换为 HTML 的最佳解决方案是什么?该站点有多个 PDF 文档,访问者可以单击以 HTML 格式查看,这应该在屏幕上以 HTML 文件格式查看.
What is the best solution to convert PDF documents to be viewed in the browser as HTML? The site has several PDF documents and the visitor can click on view as HTML and this should be viewed on the screen as an HTML file.
运行 PHP、Linux、Apache 的标准网站.
Standard website running PHP, Linux, Apache.
推荐答案
pdftohtml 工作正常:快速、稳定但 html 结果充其量是丑陋的.我在一个有很多工作简历的网站上使用它已经有一段时间了.
pdftohtml works fine : fast, stable but the html result is ugly at best. I have used it for quite some time for a web site that has many job resumes.
然而,这是提取文本内容的一个很好的解决方案.
It is a good solution for extracting textual content however.
我想试试 scribd API
或谷歌应用程序文档 API.GOogle 在显示和转换 pdf 文件方面做得很好
or the google apps document API. GOogle does a great job a displaying and converting pdf files
这篇关于将 PDF 转换为 HTML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!