title: Cross-Platform Way of Creating Safari Webarchives
body: <p>I've been searching around and haven't found any reference to tools that can create Safari's webarchive format.</p>
  
  <p>Does anyone have pointers to code for creating this format, or at least a format reference documentation?</p>
  
  <p>Ideally I'd like to build a tool that takes a directory and splits out a webarchive, for loading into a iPhone.</p>