Exporting a site


    Exporting a site is adapting its folder structure and other details to a particular publish server, the one you plan to upload it to. Exporting is distinct from uploading; you export to a local drive as a separate step before uploading.

    Note: Few Web servers require that GoLive sites be exported. Consult your server administrator for information before beginning the export process.

To select site export options:

  1. Do one of the following:
    • To select options for the active site only, click the Site Settings button Site Settings button on the toolbar or choose Site > Settings, click Upload/Export, and select Site Specific Settings.
    • To select options for all sites, choose Edit > Preferences (Windows) or GoLive > Preferences (Mac OS), expand Site, and click Upload/Export.
  2. In the Publish States section, select an Honor Publish State Of option to use Publish settings for individual files or folders. To override individual publish state settings for files and folders, deselect the respective options. (See Assigning publish states to files and folders.)
  3. Select Linked Files Only to upload only those files that are part of the site hierarchy.
  4. Select Export options as follows:
    • The As in Site option maps the hierarchy of groups, pages, and resources within your site window to the resulting root folder.
    • Separate Pages and Media creates a root folder that contains two subfolders for HTML pages and media, respectively.
    • Flat creates a root folder that contains all HTML pages and media, but no subfolders.
    • Folder Name entries apply to the Separate Pages and Media option. For files that are not in the site, the Folder Name entry applies only when you select the Export Linked Files That Are Not Part Of This Site option.
    • Export Linked Files That Are Not Part Of The Site includes orphan files.
    • Show Options before Export displays these options at the time of each export.
  5. Select Cleanups options as follows:
    • Strip HTML Code for Comments and Spaces streamlines the source code without affecting the appearance of pages.
    • Strip HTML Code for Adobe GoLive Elements removes GoLive tags and attributes that let you edit your animations, scripted actions, and so on.
    • Strip GoLive Data from Media Files checks all GIF, JPEG, PNG, SWF, and SVG files for data that has been added to those files to enable the Smart Object workflow. This data is only added to the target files of Smart Objects. The option then removes the data to make the files smaller.
    • Flatten Script Library scans all files that use the GoLive JavaScript library and rewrites the external files so they contain only the exact JavaScript needed for the site. (See Flattening the script library.) This option is recommended.
    • Rewrite PDF files scans all PDF files that are part of the site and optimizes them for quicker upload.

To export a site to a local drive:

  1. Open the site.
  2. Choose File > Export > Site.
  3. If the Export Site Options dialog box appears, review the options and make changes as needed. The changes you make apply to the current export only.
  4. Click Export. By default, the settings in the Export Site Options dialog are identical to those in the Site Settings under Upload/Export.
  5. Specify a location on a local drive for the exported root folder of the site.
  6. Click Save.
  7. Click Yes or No. Clicking Yes displays information about the export: the files exported, the files not exported and the reasons they weren't exported, and the export options used.
  8. Note: If you want the Export Site Options dialog box to appear each time you export a site, choose Edit > Preferences (Windows) or GoLive > Preferences (Mac OS), expand the Site settings, click Upload/Export and make sure the Show Options Before Export Dialog option is selected.

To upload a site you have exported to a local drive:

    Drag the exported root folder or its contents to its destination folder in the file browser window. (See Transferring files with the file browser.) You can't use one of the Upload commands on the Site > Publish Server submenu or the Upload button on the toolbar for this operation.

    TipDrag the contents of the folder if dragging the folder itself would create an unnecessary extra folder level on the server.