Re: Saving Web Content
Re: Saving Web Content
- Subject: Re: Saving Web Content
- From: Pierre Bernard <email@hidden>
- Date: Thu, 6 May 2004 08:24:05 +0200
WebView does a good job parsing web pages and downloading related
content. From a WebView delegate you get the opportunity to see the
URLs being accessed.
Catches:
- It's a view. Having it do background work is not the prettiest of
architectures. Then again HTML parsing is dependant on display. You
need to hide it
- I am not sure if the delegate actually has access to the downloaded
data. If not one must re-download hoping for the cache to help
Pierre
On May 6, 2004, at 7:29 AM, Gerriet M. Denkmann wrote:
I am looking for a tool which can save a www-page + imbedded images +
references style sheets to some folder, so that I can view this page
later offline.
If there is no such tool, where should I start building my own:
WebDownload, NSURLDownload, or NSData dataWithContentsOfURL: ?
The next step would then be: parse the downloaded page for <img ..>
and download these as well (maybe modifying references from absolute
to relative).
Is this feasable?
Gerriet.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.