Websites - Publishing Options

 

Introduction

To open the Publishing Properties window,

  1. On the View menu, select the Resource Manager submenu, and then select Websites.

  2. In the Websites Manager resource panel, make sure that the Websites tab is selected.

  3. All websites are displayed with the following website file icon: . Right-click over a website name and select Properties.

  4. Select Publishing on the tree view of the WebSite Properties dialog.

You can perform the following operations with publishing. If you are new to HTML, then don’t worry. All the correct defaults are set already.

Don’t Publish on Upload

With this option selected your webpages are uploaded without being published.

If you wish to publish your website then do not tick this option. You can select the directory to publish to from the Directories / Backups window in the Website Properties dialog. This directory allows you to upload your website locally to your computer or onto an intranet. This can be especially useful if you have added publish fields to your document and would like a local copy of the published website. Doing this also allows you to see what the published documents will look like prior to uploading to your server. To upload to a local directory, you need to select Upload Options on the tree view of the WebSite Properties dialog and tick the Upload to Local Directory check box.

Remove all Carriage Returns

HTML text without carriage returns appears as one long line. It looks terrible, but should you want your webpage source devoid of carriage returns, tick this option.

Convert Extended Characters To HTML Codes

If you have used any extended characters in your web document, ticking this option will automatically translate them into HTML on publishing.

Replace ‘\’ With ‘/’ In File Names

Generally this option should be left checked. It replaces DOS style paths with UNIX style paths.

Tag Case

Selecting an option in this panel automatically changes the case of all HTML tags to the option you select on upload.

File Format: Publish as UNIX, Win or Mac/Amiga Text File

The standard format for HTML files is the UNIX text file. By default, HotDog will translate all files you upload to the correct format, however, if you wish to disable this feature, ensure that it is not checked.

AutoReplace

To open the AutoReplace window:

  1. Follow steps 1. to 4. above.

  2. Select AutoReplace under Publishing on the tree view of the WebSite Properties dialog.

Replace xx With yy

The AutoReplace function allows you to replace certain words or expressions on publishing (such as build notes).

To Add a Replace Term:

  1. Click Add.

  2. In the Add a New Field dialog, enter the expression you want to replace.

  3. In the With window, enter the expression you want to replace with.

To Edit a With Term:

  1. In the Replace window, select the term that you are replacing.

  2. In the With window that appears, change the term that you want to replace with

To Remove a Replace Term:

  1. On the Replace window, click on the replace term you want to remove.

  2. Click Delete.

Replace with File

Tick this option if you want to replace some text with a file. For example, you may wish to change an image filename. You can specify the file by clicking on: .