HTML5 文档上传器和查看器

发布于 2024-12-27 10:58:03 字数 283 浏览 4 评论 0原文

我有一个用 PHP 开发的网站,允许用户添加和查看文档。上传过程和查看器非常基本,因为用户手动输入他们想要上传的内容,然后他们可以在具有基本格式的网页上查看它。

我想增强网站的这一部分,使其与在 Scribd 网站上上传和查看文档(例如 doc/docx、pdf、gif、jpegs 等)的方式非常相似。最好是用 HTML 5 完成,这样它就可以与大多数浏览器和平板电脑兼容,而无需下载其他附加组件。

我知道 Crocodoc 有一个 API 可以满足我的要求,但他们按月收取费用,我希望找到更便宜且更具成本效益的东西。

I have a website which is developed in PHP which allows users to add and view documents. The upload process and viewer is very basic in that the user manually enters in what they want to upload and then they can view it on a webpage with basic formatting.

I want to enhance this part of the website so its very similar to the way documents (e.g. doc/docx, pdfs, gifs, jpegs etc) are uploaded and viewed on the Scribd website. It would be preferable that its done in HTML 5 so it is compatible with most browsers and tablets without the need to download additional add ons.

I know that Crocodoc has an API that can do what I'm asking for but they charge a monthly fee, I was hoping to find something cheaper and a lot more cost effective.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

猥琐帝 2025-01-03 10:58:03

上传是通过 Flash 完成的 - 实际上有数百个 Flash 上传器。谷歌会找到你需要的东西。

观看部分很棘手。 crocodoc 似乎在后端使用渲染引擎将文件转换为 html...无法帮助您

upload is done via flash - there are literally hundreds of flash uploaders out there. google will find you what you need.

the viewing part is tricky. crocodoc seems to use a rendering engine in the backend that converts the files into html... cannot help you there

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文