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
2
votes
0 answers

How can I open a WebArchive in a UIWebView?

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…
Kai Engelhardt
  • 1,272
  • 13
  • 17
2
votes
1 answer

How to create .webarchive on iPhone?

Do you know any method to create .webarchive file in iPhone ? I am using ASIWebPageRequest to download a web page and i want save it in .webarcive format.
saadnib
  • 11,145
  • 2
  • 33
  • 54
2
votes
1 answer

How to detect if a web page is running from a website or local file system?

This question has been asked before, but none of the provided answers are correct. I am not allowed to comment to the the original question (or answers) so I am creating a new question as has been suggested to me. How to detect if a web page is…
Pete3
  • 21
  • 1
2
votes
0 answers

D3 svg element duplicated in Safari webarchive

For particular reasons the project I'm working on needs to use the webarchive feature of Safari. I'm using a simplified version of this pen for a progress bar. The simpler code can be seen here and below. If this page is saved as a webarchive, the…
2
votes
2 answers

Does iPhone support SMIL in incoming MMS?

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…
2
votes
1 answer

webarchive in iphone

can we use webarchive in iphone to display Pdf?
a111
  • 2,125
  • 5
  • 20
  • 21
2
votes
0 answers

After loading webarchiev into WebView app crashes

After trying to load WebArchievs for some sites I get this error. 06-12 11:03:36.604 6257-6257/ D/﹕ Page started file:///data/data//files/savedData3.mht 06-12 11:03:36.644 6257-6281/ V/RenderScript﹕…
Ufkoku
  • 2,384
  • 20
  • 44
2
votes
0 answers

UIWebView "steals" images from another .webarchive file

there is a uiwebview controller which loads a .webarchive page depending on row touched in parent UITableViewController. code is very simple: var state: String! //this string comes from prepareForSegue() in parent table view var requestURL:…
Rovny Art
  • 167
  • 8
2
votes
2 answers

Save Web Archive with Cocoa

I would like to save a webpage programmatically with Cocoa to the hard disk as a webarchive like Safari. I've searched for any example programs from Apple yesterday, but I've only found a class reference at Apple Developers page for a webarchive…
Michael
  • 21
  • 3
2
votes
2 answers

get the webArchive that by webview saveWebArchive

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…
michael
  • 21
  • 1
  • 3
2
votes
1 answer

Manipulate linked files on the HTML dynamically

I have a backup website. Something like Wayback machine. When I return the contents of the HTML, obviously, the linked documents (like images, javascript files, css files, etc.) are loaded from the original web server (instead of my server). Now I…
Alireza Noori
  • 14,961
  • 30
  • 95
  • 179
2
votes
1 answer

Create .webarchive in Windows without Safari?

Is there any way to convert a web site to to Safari's .webarchive using Windows and without using Safari? I know it's an odd request, but I need to create .webarchive files and load them into a UIWebView, and (for various reasons beyond my control)…
nerdabilly
  • 1,248
  • 4
  • 15
  • 34
2
votes
2 answers

Using cached web data from Internet (Google Cache, Wayback Machine etc.)

I want to use Google Cache for visiting the webpages of other websites even without going at them. If I fire a query like this http://webcache.googleusercontent.com/search?q=cache:, we can get the data. I found/assume…
instanceOfObject
  • 2,936
  • 5
  • 49
  • 85
2
votes
1 answer

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

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…
aleh
  • 455
  • 3
  • 9
1
vote
1 answer

saveWebArchive() not working an Android 4.0.3

I am trying to write a very simple code to save a web page to disk in a web archive in Android 4.0.3 ICS. My code is: final WebView myWebView = (WebView) findViewById(R.id.myWebView); myWebView.setWebViewClient(new…
Rahul De
  • 393
  • 3
  • 14