Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
General how-to question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

General how-to question



Now that WebKit is available, and makes the lovely rendering engine of Safari
available to other apps, there's a back-burner project of mine that I might
tackle now. I could really use some basic help-the-n00b advice on how to go
about accomplishing this with WebKit, and whether it's even feasible.

Basically, there are some proprietary help formats out there that bind a bunch
of fairly standard HTML into wacky archive files. Would it be possible to
construct an app to display these sorts of files?

The stumbling block seems to be that WebKit wants to do both the rendering tasks
and the content fetching tasks. Is there a way that I can insert my own code
into the process, such that, say, all outgoing requests go to my code, and I can
then provide an NSString or NSData or something as the contents of that
resource? Pretty much all relative URLs in the HTML will refer to other files
inside the archive, which my code must extract and hand back to the rendering
engine.

Can this be done with WebKit? How much hacking will be involved? And where
should I start looking?

Sixten
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.