• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: .webarchive format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .webarchive format


  • Subject: Re: .webarchive format
  • From: Douglas Davidson <email@hidden>
  • Date: Wed, 27 Jul 2005 15:37:07 -0700


On Jul 27, 2005, at 3:20 PM, Stefan Pantke wrote:


Hi,

has anybody a pointer for Safari's ".webarchive" format used in 10.4?
You know, the file which might be used to keep a webpage
including all ressources embedded in one file.


From a prevous message I sent to this list:

On May 31, 2005, at 10:40 AM, Mike O'Connor wrote:
Safari can save a web page as a Web Archive file, including the HTML source, embedded images, and so on. What format is this archive? Is it a private format? I'd be interested in taking the page being shown in my app's WebView and saving it in such an archive.

The actual byte-level content of the format is private, but you can certainly make use of web archives with public API. WebKit has methods to create a WebArchive (a) from a WebDataSource; (b) from a DOM node; (c) directly from HTML and resources; (d) from data, e.g. from a WebArchive file. The difference between (a) and (b) is that (a) stores the document as loaded; (b) stores the document as currently displayed, which may differ if the DOM has been modified, for example by scripts.


Douglas Davidson

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: .webarchive format
      • From: Stefan Pantke <email@hidden>
References: 
 >.webarchive format (From: Stefan Pantke <email@hidden>)

  • Prev by Date: .webarchive format
  • Next by Date: Re: Reflecting image using NSAffineTransform
  • Previous by thread: .webarchive format
  • Next by thread: Re: .webarchive format
  • Index(es):
    • Date
    • Thread