免费(最好)PHP RTF 到 HTML 转换器?

发布于 2024-09-29 20:02:25 字数 1536 浏览 0 评论 0原文

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

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

发布评论

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

评论(2

惜醉颜 2024-10-06 20:02:25

看看这里:http://freshmeat.net/projects/rtf2htm/

RTF 到 HTML 转换器转换 RTF
文件(Windows-1250 编码)到
HTML 文件(采用 ISO-8859-2 编码)。

Have a look here: http://freshmeat.net/projects/rtf2htm/

The RTF to HTML convertor converts RTF
files (in Windows-1250 encoding) to
HTML file (in ISO-8859-2 encoding).

夏天碎花小短裙 2024-10-06 20:02:25

根据 https://stackoverflow.com/a/4047420/1875208 的答案

有点晚了,但这个仅有效使用 commandline-execution,例如 exec();

您至少需要提供 3 个参数:

  1. 服务器上 rtf2htm 的路径
  2. rtf 文档的路径(是的,您需要将其保存到文件中
    before)
  3. 转换后的 html 输出位置的文件路径。

它可能看起来像这样:

exec(rtf2htm file.rtf file.html);

According to the answer of https://stackoverflow.com/a/4047420/1875208

Little bit late but this one works only with commandline-execution, such as exec();

You need at least provide 3 parameters:

  1. Path to rtf2htm on your server
  2. Path of the rtf-document (yes, you´ll need to save it to a file
    before)
  3. Filepath to where the converted html should be outputted.

It could then look like this:

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