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 tool that takes a directory and splits out a webarchive, for loading into a iPhone.