Publish to Folder

Sandvox offers the capability to publish a site to a folder on your computer. It does not in any way publish the site to the Internet; everything is kept on your computer.

You might make use of this command if you:

If publishing for viewing with the Finder, e.g. to a CD-ROM, the option for turning on index.html file extensions should be enabled so that links to directories will show properly in the browser window (rather than opening up a Finder window). To do this, check the "Include index filename" box in the Site Tab of the Document Inspector.

To publish a site to a folder:

  1. Open the Publish menu and choose "Publish to Folder…"
  2. Select a folder to publish to.
  3. Check any appropriate checkboxes (below)
  4. Enter the URL of the website

Be sure to publish your website this way if you are planning on uploading the files to another host. You cannot upload your Sandvox document directly; it contains information for Sandvox to edit your Website but it is not viewable over the web.

Options

image:publish-to-folder.png

Below the standard save panel controls are several options you should consider when publishing to a folder.

Publish only changed files
When checked, only the files that have been changed since the last publish are actually written to disk. This is the standard behavior of the "Publish" command (useful to prevent long re-uploading of files that already exist on the host) but it applies to the locally saved files as well.
Publish to this folder by default
If you wish to always publish your website to a folder on your hard drive every time you click the "Publish" button in the toolbar or choose "Publish", check this. This changes your Sandvox document so that its destination for publishing is the hard drive itself, rather than Sandvox Hosting or any other remote host.
Site URL
Specify the URL that the site will be published to here. Your website needs to know what its base URL will be (for instance, so that any RSS feeds will have the proper links) before you can publish. If you have already set this up in the Host Setup Assistant, then this will be filled in already.

Keywords: export, exporting, exports, exported, site, sites, publish, host, publishing, published, incompatible, incompatibility, upload, uploading, manual, manually, preview, previews, previewing, URL, required for RSS feeds to be valid

How can we improve this page? Let us know.