Cleaning up a site
The Clean Up Site command is essential for maintaining your site and preparing it for publication (uploading to a Web server for viewing by the public). Cleaning up a site gets rid of unused links, colors, e-mail addresses, and font sets that can clutter the working version of your locally stored site. You can also use this command to copy any files or objects into the web-content folder that are referenced in your site, but actually located outside the web-content folder. When cleaning up a site, you can choose to do any combination of the following: - Refresh the view of items listed in the site window.
- Copy files that are used in your site into the web-content folder. Used means "referenced on some page in the web-content folder."
- Remove unused files. Unused means "not referenced on any page in the web-content folder." (See Refreshing the site window.)
- Add references, colors, and font sets that are used in your site but are not listed in the External, Colors, or Font Sets tabs. (See Adding items in use and removing unused items from the site window.)
- Remove unused references, colors, and font sets.
To specify options for cleaning up a site: - Do one of the following:
- To specify options for cleaning up the active site only, click the Site Settings button
on the toolbar or choose Site > Settings. Then click Clean Up Site in the left pane, and then select Site Specific Settings. - To specify options for cleaning up all sites, choose Edit > Preferences (Windows) or GoLive > Preferences (Mac OS), and then expand Site in the left pane. Then click Clean Up Site.
- Select options as follows:
- To refresh the view of items listed in the site window, select Refresh View.
- To copy files that are used in your site into the web-content folder if they are stored outside the web-content folder, select Add Used Files. If you want to display a dialog box that lets you select the files to be copied, select the Show List of Files to Copy option.
- To add non-file items that are used in your site but are not listed in the External, Colors, or Font Sets tabs in the site window, select Add Used External References, Add Used Colors, or Add Used Font Sets.
- To move files not being used in your site to the Site Trash, select Remove Files Not Linked. If you want to display a dialog box that lets you select the files to be removed, select the Show List of Files to Remove option.
- To remove non-file items that are not being used in your site but are listed in the External, Colors, or Font Sets tabs in the site window, select Remove Unused External References, Remove Unused Colors, or Remove Unused Font Sets.
- Select Show Options Dialog if you want to display the Clean Up Site Options dialog box every time you choose the Site > Clean Up Site command. If you select this option, GoLive deselects the Don't Show Again option in the Clean Up Site Options dialog box.
- Click Factory Settings to use the default settings for all options.
- Click OK.
To clean up a site: - Choose Site > Clean Up Site.
- If the Clean Up Site Options dialog box appears, select options as necessary and then click OK.
- If the Copy Files or Clean Up Site dialog box appears, select the files you want to copy into or remove from the web-content folder, and then click OK. Click OK in the Update Files dialog box.
|