Questions tagged [webarchive]

Webarchive is the format used by the Safari browser to package the HTML, CSS, JavaScript and image resources of a web page when saved as a complete offline archive.

71 questions
31
votes
4 answers

How to save HTML pages as one file?

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…
Dimitri Vorontzov
  • 7,834
  • 12
  • 48
  • 76
19
votes
2 answers

Android WebView -> Display WebArchive

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…
Jouke Waleson
  • 517
  • 1
  • 3
  • 14
15
votes
2 answers

Open a .webarchive Modify It and Save It

I'm developing an app for Lion and what I want to do is open a .webarchive file, modify a snippet of the DOM, and then write out the modified DOM to the same file. Here is my code thus far. It opens the webarchive, modifies it, and then saves it…
dshipper
  • 3,489
  • 4
  • 30
  • 41
13
votes
4 answers

Convert webarchive to html

I managed to collect the behavior of a complex web site into a webarchive. Thereafter I would like to turn that webarchive into an html set of nested directory. Yet, when I did it both with Waf and with a commercial software bought on the the Apple…
user1785898
  • 167
  • 1
  • 1
  • 7
10
votes
5 answers

Cross-Platform Way of Creating Safari Webarchives

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? Ideally I'd like to build a…
morais
  • 2,951
  • 5
  • 27
  • 27
8
votes
0 answers

Save display state of WKWebView

I want to be able to save the state of a WKWebView when a user quits out of my app and be able to restore it to exactly how it was when the user returns to the app. I want it to restore websites with forms, online calculators that store the history…
Antonio
  • 221
  • 1
  • 4
7
votes
4 answers

Open a .webarchive on the iphone?

Does anyone know if you can programmatically open a .webarchive on the iPhone? A .webarchive is Safari's way of packaging up a webpage and it's associated resources into a single file. I tried creating one and browsing to a link to one in mobile…
Brad Parks
  • 66,836
  • 64
  • 257
  • 336
7
votes
6 answers

Infinite loop when deploying a war on tomcat 7

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…
user1646171
  • 71
  • 1
  • 1
  • 2
5
votes
0 answers

how to view a readme.md file saved in google drive

I have saved a readme.md file from GitHub in a Google drive as a webarchive file. I was planning to share it to others. After uploading, I am unable to open it. Says No preview available. I am not seeing any connected apps as well. Any suggestions.
Sugan
  • 447
  • 1
  • 4
  • 16
5
votes
1 answer

How deploy geoserver web archive with apache tomcat 8?

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…
Morteza Malvandi
  • 1,656
  • 7
  • 30
  • 73
5
votes
1 answer

how to read .webarchive file in android

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.…
Tombeau
  • 353
  • 4
  • 14
4
votes
2 answers

Wikipedia Images aren't loading from a webarchive in UIWebView

I am loading some Wikipedia pages from a webarchive (created in desktop Safari) in a UIWebView. This allows the pages to be available offline. However, for some reason the images aren't loading when offline. It appears that they are being loaded…
Jonah
  • 4,810
  • 14
  • 63
  • 76
4
votes
1 answer

How can I load a .webarchive into a UIWebView from an in-memory NSData?

I have an NSData containing a .webarchive blob that I'd like to load into a UIWebView. I know that this is possible (see this question), and I have it working if I first serialize it to disk and then load it with UIWebView's -loadRequest: method.…
Ben Zotto
  • 70,108
  • 23
  • 141
  • 204
3
votes
1 answer

open or convert webarchive File in c#

I am trying to find a way to open or convert a webarchive file to any other format in C#. The goal is an automated import system with as few restrictions on file type as possible. I cannot seem to find any way of converting the file other than…
gashach
  • 420
  • 5
  • 12
2
votes
2 answers

rtfd/.webarchive on *nix

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…
1
2 3 4 5