Exporting a site
Exporting a site is adapting its folder structure and other details to a particular FTP 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: - Do one of the following:
- To select options for the active site only, click the Site Settings button
on the toolbar or choose Site > Settings, click Export, and select Site Specific Settings. - To select options for all sites, choose Edit > Preferences, expand Site, and click Export.
- Select Export Conditions options as follows:
- Honor Publish State options apply to Publish settings for individual files made on the File tab of the File Inspector. Select If Referenced (the default), Always, or Never. (See Assigning publish states to files and folders.)
- Export Linked Files That Are Not Part Of The Site includes orphan files.
- Select Hierarchy 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 Referenced Files That Are Not Part Of This Site option.
- Select Strip HTML Code options as follows:
- Comments and Spaces streamline the source code without affecting the appearance of pages.
- 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 check 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.
- Select Show Options Dialog if you want to review these options at the time of each export, then click OK.
To export a site to a local drive: - Open the site.
- Choose File > Export > Site.
- If the Export Site Options dialog box appears, review the options.
- Click Export and make changes as needed. The changes you make apply to the current export only.
By default, the settings in the Export Site Options dialog are identical to those in the Site Settings under Export. Note: If you want the Export Site Options dialog box to appear each time you export a site, choose Edit > Preferences, expand the Site settings, click Export and make sure the Show Options Dialog option is selected. - Specify a location on a local drive for the exported root folder of the site.
- Click Save.
- 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.
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 FTP browser window. (See Transferring files with the FTP browser.) You can't use one of the Upload commands on the Site > FTP Server submenu or the Upload button on the toolbar for this operation. Drag the contents of the folder if dragging the folder itself would create an unnecessary extra folder level on the FTP server.
|