<i id='iGNTn'><tr id='iGNTn'><dt id='iGNTn'><q id='iGNTn'><span id='iGNTn'><b id='iGNTn'><form id='iGNTn'><ins id='iGNTn'></ins><ul id='iGNTn'></ul><sub id='iGNTn'></sub></form><legend id='iGNTn'></legend><bdo id='iGNTn'><pre id='iGNTn'><center id='iGNTn'></center></pre></bdo></b><th id='iGNTn'></th></span></q></dt></tr></i><div id='iGNTn'><tfoot id='iGNTn'></tfoot><dl id='iGNTn'><fieldset id='iGNTn'></fieldset></dl></div>

    • <bdo id='iGNTn'></bdo><ul id='iGNTn'></ul>
  1. <tfoot id='iGNTn'></tfoot>

      <small id='iGNTn'></small><noframes id='iGNTn'>

      <legend id='iGNTn'><style id='iGNTn'><dir id='iGNTn'><q id='iGNTn'></q></dir></style></legend>

    1. 创建 Safari Webarchives 的跨平台方式

      Cross-Platform Way of Creating Safari Webarchives(创建 Safari Webarchives 的跨平台方式)

      • <i id='fIIJM'><tr id='fIIJM'><dt id='fIIJM'><q id='fIIJM'><span id='fIIJM'><b id='fIIJM'><form id='fIIJM'><ins id='fIIJM'></ins><ul id='fIIJM'></ul><sub id='fIIJM'></sub></form><legend id='fIIJM'></legend><bdo id='fIIJM'><pre id='fIIJM'><center id='fIIJM'></center></pre></bdo></b><th id='fIIJM'></th></span></q></dt></tr></i><div id='fIIJM'><tfoot id='fIIJM'></tfoot><dl id='fIIJM'><fieldset id='fIIJM'></fieldset></dl></div>
        <tfoot id='fIIJM'></tfoot>
          <bdo id='fIIJM'></bdo><ul id='fIIJM'></ul>

            <legend id='fIIJM'><style id='fIIJM'><dir id='fIIJM'><q id='fIIJM'></q></dir></style></legend>
            • <small id='fIIJM'></small><noframes id='fIIJM'>

                <tbody id='fIIJM'></tbody>

                本文介绍了创建 Safari Webarchives 的跨平台方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我一直在搜索,但没有找到任何可以创建 Safari 网络存档格式的工具的参考资料.

                I've been searching around and haven't found any reference to tools that can create Safari's webarchive format.

                有没有人有关于创建这种格式的代码的指针,或者至少有格式参考文档?

                Does anyone have pointers to code for creating this format, or at least a format reference documentation?

                理想情况下,我想构建一个工具,它接受一个目录并拆分一个网络存档,以便加载到 iPhone 中.

                Ideally I'd like to build a tool that takes a directory and splits out a webarchive, for loading into a iPhone.

                推荐答案

                扩展 Ben 所说的:CFLite(Core Foundation 的跨平台开源子集)附带一个 plist 解析器.如果您可以链接到它,那么使用 .webarchive 文件应该非常简单,这些文件只是将所有文件(HTML、CSS 等)连接成一个的属性列表.

                To expand on what Ben said: CFLite (the cross-platform open-source subset of Core Foundation) ships with a plist parser. If you can link against that, it should be quite simple to work with .webarchive files, which are simply property lists that concatenate all files (HTML, CSS, etc.) into one.

                还有其他库,例如 Mac-PropertyList 关于 Perl 的 CPAN.

                There are other libraries as well, such as Mac-PropertyList on CPAN for Perl.

                这篇关于创建 Safari Webarchives 的跨平台方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                EAAccessory/EASession teardown during background(EAAccessory/EASession 在后台拆除)
                Getting an NSArray of a single attribute from an NSArray(从 NSArray 获取单个属性的 NSArray)
                ImageIO: lt;ERRORgt; JPEG Corrupt JPEG data: premature end of data segment iphone - how to catch this?(ImageIO:lt;错误gt;JPEG 损坏的 JPEG 数据:iphone 数据段过早结束 - 如何捕捉到这个?)
                How to get indexPath.row of tableView which is currently being displayed?(如何获取当前正在显示的 tableView 的 indexPath.row?)
                Xcode iOS organizer submit to app store yields quot;The archive is invalidquot; error(Xcode iOS 管理器提交到应用商店产生“存档无效;错误)
                MFMessageComposeViewController alloc returns nil(MFMessageComposeViewController alloc 返回 nil)
                  1. <small id='43vka'></small><noframes id='43vka'>

                      <tbody id='43vka'></tbody>
                  2. <i id='43vka'><tr id='43vka'><dt id='43vka'><q id='43vka'><span id='43vka'><b id='43vka'><form id='43vka'><ins id='43vka'></ins><ul id='43vka'></ul><sub id='43vka'></sub></form><legend id='43vka'></legend><bdo id='43vka'><pre id='43vka'><center id='43vka'></center></pre></bdo></b><th id='43vka'></th></span></q></dt></tr></i><div id='43vka'><tfoot id='43vka'></tfoot><dl id='43vka'><fieldset id='43vka'></fieldset></dl></div>

                      <bdo id='43vka'></bdo><ul id='43vka'></ul>

                        • <tfoot id='43vka'></tfoot>
                        • <legend id='43vka'><style id='43vka'><dir id='43vka'><q id='43vka'></q></dir></style></legend>