webarchive

rtfd/.webarchive on *nix

↘锁芯ラ 提交于 2020-01-02 10:35:07
问题 So I was tasked with converting rtfd files to tiffs. First things first. We took the attachments that were in the folder (on a mac the "rtfd") and imaged those. 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. From what I have read, both of these formats are mac

Android WebView -> Display WebArchive

 ̄綄美尐妖づ 提交于 2019-12-28 02:52:06
问题 Android's WebView has this saveWebArchive method since API level 11: http://developer.android.com/. It can save entire websites as webarchives, which is great! But how do I get the downloaded contents back into a webview? I tried webview.loadUrl(Uri.fromFile(mywebarchivefile)); But that only displays xml on the screen. 回答1: Update Feb. 21, 2014 My answer posted below does not apply to web archive files saved under Android 4.4 KitKat and newer. The saveWebArchive() method of WebView under

Does iPhone support SMIL in incoming MMS?

限于喜欢 提交于 2019-12-23 03:10:03
问题 In one service I have developed, I am sending a MMS message to the user which consists of 6 images in a static order. To sort the images correctly and add formatting, I have used SMIL, which has worked well on a range of devices. However, it seems that the iPhone is not recognizing SMIL at all. Images are ordered by file name alphabetically, and what is worse - they are not displayed as a single MMS message - but as 7 messages: title, and one message for one image. Here is my SMIL: <smil>

How can I open a WebArchive in a UIWebView?

安稳与你 提交于 2019-12-22 18:36:46
问题 I'm trying to open a Webarchive stored in a Core Data database. The Core Database was created on a Mac and filled with some Webarchive by using a WebView. Now I want to display these WebArchives in the UIWebView in iOS. The problem is that I don't know how to do that. In a similar post to this (here) Digital Robot said, that Webarchives are supported on iOS and I only have to load it from disk with a simple NSURLRequest into the UIWebView. The problem here is, that it doesn't get loaded - I

UIWebView on iOS 6 does not display images with relative URLs in webarchives

[亡魂溺海] 提交于 2019-12-22 13:46:35
问题 We are using webarchives in our apps sometimes as it is very convenient way to store HTML + all associated images/CSS/scripts/etc inside a single file on the desktop, put it into the project, and then load it into a UIWebView with a single call like that: NSData *webArchiveData = /* ... Load data from a single file ... */ ; [webView loadData:webArchiveData MIMEType:@"application/x-webarchive" textEncodingName:@"utf-8" baseURL:nil ]; This stopped working on iOS 6 however: the HTML is loaded,

how to read .webarchive file in android

十年热恋 提交于 2019-12-21 05:13:20
问题 I have a requirement like this. I want to read .webarchive File. I have one file with .webarchive extension and i have put that file in asset folder. I want to read that file on android webview. Is it possible? I googled and found some useful link. This git content is really helpful.In this what it does is, put extracted content of .webarchive file in asset folder and from there data is shown on webview. My query is that i don't want to put extracted content in asset. I have file in

get the webArchive that by webview saveWebArchive

醉酒当歌 提交于 2019-12-11 01:09:59
问题 Android's WebView has this saveWebArchive method since API level 11: It can save entire websites as webarchives, which is great! But how do I get the downloaded contents back into a webview? I tried webview.loadUrl(Uri.fromFile(mywebarchivefile)); But that only displays xml on the screen. I try use WebArchiveReader who tell me can display the webArchive, but it just parse xml and i get the same result. How can i do now? 回答1: You can load the saved archive into your webView by first reading

Infinite loop when deploying a war on tomcat 7

孤人 提交于 2019-12-10 03:38:26
问题 I try to deploy a war into Tomcat 7.0.29. I'm having the following log stack : GRAVE: Error waiting for multi-thread deployment of context descriptors to complete java.util.concurrent.ExecutionException: java.lang.StackOverflowError at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:574) at org.apache.catalina.startup.HostConfig.deployApps

How deploy geoserver web archive with apache tomcat 8?

白昼怎懂夜的黑 提交于 2019-12-07 05:41:01
问题 I want to run geoserver web archive in my tomcat web server. I'm using tomcat 8. I download GeoServer 2.7.1.1 web archive from geoserver. When I want to deploy the war file, Error occurs as follow: But when I deploy another war application, it deployed correctly. Where is problem? 回答1: The reason for this is because, Tomcat WebServer has a size limit of 50 mb max which is smaller than Geoserver war file. All you need to do is to modify DIR\webapps\manager\WEB-INF\web.xml and modify the

How to save html pages as one file?

谁说胖子不能爱 提交于 2019-12-06 18:58:34
问题 I want to be able to save / archive HTML pages as one file (without those pesky external folders). I want the resulting file to contain all styles, images, and links (videos and Flash would be nice, too, but not as crucial). I want the resulting file to be searchable, and editable. Microsoft's MHT is one of such tools, but unfortunately, it's not searchable under Linux. MHT is good, but I don't want to be locked under one operating system or one company. What would be a good alternative – or