* nix上的rtfd/.webarchive [英] rtfd/.webarchive on *nix

查看:86
本文介绍了* nix上的rtfd/.webarchive的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我的任务是将rtfd文件转换为tiff.

So I was tasked with converting rtfd files to tiffs.

第一件事.我们获取了文件夹中的附件(在Mac上为"rtfd"),并对其进行了镜像.

First things first. We took the attachments that were in the folder (on a mac the "rtfd") and imaged those.

我的问题在于将RTFD拆分为多个rtf文件. 一位同事建议将文件通过我们访问受限的Mac转换为html.他一天之内​​就转换了文件,但输出结果却不是他想的那样是HTML,而是一个.webarchive.

My issue lies in the splitting of the RTFD into multiple rtf files. A co-worker suggested that the files be converted to html via a mac which we had limited access to. He converted the files in a day but the output was not a html like he had thought instead it was a .webarchive.

据我所读,这两种格式都是mac专用格式.我拒绝接受...

From what I have read, both of these formats are mac only formats. I refuse to accept that ...

RTFD包含一个名为TXT.rtf的文件,该文件是富文本文件,但具有无法显示的字符和奇怪的格式.

The RTFD contains a file called TXT.rtf which is an rich text file but has undisplayable characters and strange formatting.

我可以轻松地进入rtf文件,并使用脚本在分页符处拆分该文件,但是奇怪的格式和无法显示的字符仍然存在.当文件为.webarchive格式时,文件与文本内联,因此无法呈现(至少据我所知)

I can easily go into the rtf file and with a script split the file at the page breaks but then the strange formatting and undisplayable characters persist. When in the .webarchive format the files are inline to the text and thus cannot be rendered (at least as far as I can see)

目前我很茫然,我尚未尝试过的唯一选择就是采用网络存档并将其从野生动物园打印为PDF.

At the moment I am at a loss, the only option I have not tried yet is taking the webarchives and printing them to PDF from safari.

任何人都有在Linux环境中使用这些文件的经验吗?

Anyone have an experience with these files in a linux environment?

推荐答案

在类似Unix的环境中读取.webarchive文件

读取应用程序/x-webarchive .webarchive(网络归档)文件的PC-BSD方法(2015-07-21)–我将交叉引用此答案,如果找到解决方案,则将其发布在此处.

Reading .webarchive files in Unix-like environments

PC-BSD approaches to reading application/x-webarchive .webarchive (web archive) files (2015-07-21) – I'll cross reference this answer and if a solution is found, I'll post it here.

由于2008年有一个关于创建Safari Webarchive的跨平台方式的答案,所以我想可以/应该是2015年阅读格式的一种方式……

As there was an accepted answer in 2008 to Cross-Platform Way of Creating Safari Webarchives, so I guess that there can/should be a way of reading the format in 2015 …

这篇关于* nix上的rtfd/.webarchive的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆