In this section: Publishing a Document Publishing Settings Solving Common Publishing Problems

Publishing Web Pages with KompoZer

If your pages exist only on your local hard disk, you can privately view your HTML pages. KompoZer lets you publish your pages to a remote computer called a web server.

When you publish your pages to a web server, KompoZer copies (uploads) your pages to a computer that lets others browse your pages. Most ISPs provide space on their web servers for web page publishing. To find a web server where you can publish your pages, ask your ISP, help desk, or system administrator.

Publishing a Document

To publish a document:

  1. Open the HTML document that you want to publish, or create a new KompoZer document.
  2. When you're ready to publish the document remotely, click the Publish button .

    If you have published this document before, KompoZer remembers the document's publishing settings and starts publishing the document. While publishing is in progress, KompoZer displays a publishing status dialog box.

  3. To browse your published page, click the Browse button. Test the page's links and make sure there are no missing images.
  4. Continue editing the page as necessary. When you're ready to update the remote page with your changes, click the Publish button.

When you publish a document for the first time, KompoZer changes the document's file:/// URL to an http:// URL to indicate that you are now editing the published document. If you want to save the document locally (on your computer's hard disk), click the Save button. You'll be prompted to choose a filename and location on your hard disk for the document.

[ Return to beginning of section ]

For more troubleshooting tips, see Solving Common Publishing Problems.

[ Return to beginning of section ]

Updating a Published Document

To update a published document:

  1. In a KompoZer window, open the File menu, and choose Recent Pages, then select the document from the list.

    Alternatively, browse to the location of the document you want to update by entering the document's HTTP address (the document's web address) in the Navigator browser's Location field.

  2. Open the File menu, and choose Edit Page.
  3. Edit the document as necessary.
  4. When you're ready to update the remote page with your changes, click Publish in KompoZer's toolbar.

Tip: To delete a page or image you've published on a web server, you must use an FTP (File Transfer Protocol) program. You also must use an FTP program if you want to create subdirectories or to rename files on the web server. Ask your service provider if they recommend a particular FTP program. You can usually find information on FTP programs in the Help or Support sections of your service provider's web site. FTP programs are also available from shareware sites such as ZDNet Downloads.

[ Return to beginning of section ]

Changing the Filename or Publishing Location

To change a document's filename or publishing location:

  1. In a KompoZer window, open the File menu, and choose Recent Pages, then select the document from the list.

    Alternatively, browse to the location of the document you want to update by entering the document's HTTP address (the document's web address) in the Navigator browser's Location field.

  2. Open the File menu, and choose Edit Page.
  3. Edit the document as necessary.
  4. Open KompoZer's File menu and choose Publish As. KompoZer displays the Publish tab in the Publish Page dialog box.
  5. Enter a different page title, if necessary.
  6. Enter a different filename for the page, if necessary.
  7. From the Site Name list, choose the publishing location you want to use. To set up a new publishing location, click New Site. See Publish Page - Settings for more information.
  8. Click Publish to save the document to the new location.

[ Return to beginning of section ]

Creating a New Publishing Site

If you plan to publish documents to more than one remote location, you can set up KompoZer to save the publishing information for each remote site you use, so that you don't have to enter it each time you want to publish.

To create a new publishing site, begin from a KompoZer window:

  1. Open the Edit menu and choose Publishing Site Settings. KompoZer displays the Publish Settings dialog box.
  2. Click New Site.
  3. For "Site Name," enter the nickname by which you want to refer to this publishing site.

    For example, if you will use the new site to publish documents related to the "Meteor" project, you might want to use the site name "Meteor". Site names remind you about the types of documents you publish at each site.

  4. For "Publishing address," enter the complete URL provided to you by your ISP, system administrator, or web hosting service. This URL must begin with either ftp:// or http://.

    The publishing address specifies the location where documents are published (uploaded) at this site. If you are not sure what to enter, ask your ISP or system administrator.

  5. For "HTTP address of your home page," enter the complete URL that you would enter in the Navigator browser to view pages at this site. Do not include a filename or subdirectory as part of the URL.

    This URL must always begin with http://. In some cases, this URL is the same as the publishing address. If you are not sure what to enter, ask your ISP or system administrator, or else leave it blank.

  6. For user name, enter the user name you use to log in to your ISP or web hosting service.
  7. For password, enter the password for your user name.
  8. Select "Save Password" to save your password securely using Password Manager so that you don't have to enter it each time you publish pages at this site.
  9. Click OK.

[ Return to beginning of section ]

Changing the Default Publishing Site

If you have set up more than one publishing site, but you typically use only one site for most of your publishing needs, you can designate the site you use most often as the default publishing site. KompoZer will use the default publishing site for all documents that you publish, unless you specifically choose an alternate site.

Regardless of how many sites you've set up, you can always publish a document to a different site by choosing Publish As from KompoZer's File menu. See Changing the Filename or Publishing Location for more information.

To choose the default publishing site, begin from a KompoZer window:

  1. Open the Edit menu, and choose Publishing Site Settings. KompoZer displays the Publish Settings dialog box.
  2. Select a publishing site from the list.

    If you only have one publishing site set up, KompoZer uses that one as the default site.

  3. Click Set as Default.
  4. Click OK to confirm your changes.

[ Return to beginning of section ]

Deleting a Publishing Site

Deleting a publishing site removes the site's settings from KompoZer. If you later wish to publish to the site, you must re-enter the site's settings.

To delete a publishing site's settings, begin from a KompoZer window:

  1. Open the Edit menu, and choose Publishing Site Settings. KompoZer displays the Publish Settings dialog box.
  2. Select a publishing site from the list.
  3. Click Remove Site.

    KompoZer only removes the site's settings; the remote site itself is not affected.

  4. Click OK to confirm your changes.

[ Return to beginning of section ]

Publishing Settings

This section describes KompoZer's publishing settings. For information on KompoZer's general and new page settings, see KompoZer Preferences.

Publish Page - Publish

The Publish Page - Publish tab lets you specify where you want to publish a document. These settings apply to the current document.

If you are not already viewing the Publish Page - Publish tab, follow these steps:

  1. Open the File menu and choose Publish As. The Publish Page dialog box appears.
  2. Click the Publish tab.

Tip: To create remote subdirectories or delete published pages or images, you must use an FTP (File Transfer Protocol) program. Ask your service provider if they recommend a particular FTP program. You can usually find information on FTP programs in the Help or Support sections of your service provider's web site. FTP programs are also available from shareware sites such as ZDNet Downloads.

[ Return to beginning of section ]

Publish Page - Settings

The Publish Page - Settings tab lets you specify your login information for the remote publishing site, as well as the publishing settings for the remote site. These settings apply to the current document and any other files you publish to this location.

If you are not already viewing the Publish Page - Settings tab, follow these steps:

  1. Open the File menu and choose Publish As. The Publish Page dialog box appears.
  2. Click the Settings tab.

[ Return to beginning of section ]

Publish Settings

The Publish Settings dialog box lets you create, edit, and delete publishing site settings, and also lets you set the default publishing site.

If you are not already viewing the Publish Settings dialog box, follow these steps:

  1. Open the Edit menu and choose Publishing Site Settings. KompoZer displays the Publish Settings dialog box.

Return to beginning of section ]

Solving Common Publishing Problems

If any of your files fails to publish, the Publishing Status dialog box displays an error message that can help you determine what went wrong and how to fix it. Click the Troubleshooting button in the Publishing Status dialog box to get help on solving your publishing problem.

If you are still unable to publish a file, save the file to your hard disk by opening KompoZer's File menu, and choosing Save. You can then open the file at a later time to try to publish it. To quickly locate the file later, open KompoZer's File menu, and choose Recent Pages.

Verifying Your Publishing Settings

To verify your publishing settings:

  1. Close the Publishing Status dialog box, if it is open.
  2. Open the Edit menu and choose Publishing Site Settings.
  3. In the Publish Settings dialog box, confirm that the site settings are correct for the site you are trying to publish to. If you're not sure, check with your ISP or web hosting service.

[ Return to beginning of section ]

Checking Your Filenames

Examine the names of any files that failed to publish. Make sure that the filenames:

[ Return to beginning of section ]

Fixing Publishing Errors

If one or more of your files fails to publish, look at the messages KompoZer displays in the Publishing Status area of the Publishing dialog box. You can use these error messages to help determine what went wrong and what to do to fix the problem.

Error Message:

Filename not found

or

X of Y files failed to publish

Error Description: One or more image files or CSS files failed to publish because KompoZer could not find them. Some typical reasons might be:

Possible Solutions:

Error Message:

The subdirectory directory name doesn't exist on this site or the filename filename is already in use by another subdirectory

or

The filename filename is already in use by another subdirectory

Error Description: You specified the name of a remote subdirectory that does not exist at the publishing site. KompoZer can only publish to a remote subdirectory that already exists at the publishing location. Or, you specified a filename that is identical to the name of an existing subdirectory at the publishing site.

For example, in the Publish Page dialog box, under the Publish tab:

Possible Solutions:

Error Message:

The server is not available. Check your connection and try again later.

Error Description: This error can have many causes. For example:

Possible Solutions:

Error Message:

You do not have permission to publish to this location.

Error Description: You are attempting to publish to a location that you are not authorized to use. You can only publish to sites where you have been granted access by your ISP or web hosting service.

Possible Solutions:

Error Message:

You are currently offline. Click the icon near the lower-right corner of any window to go online.

Error Description: You are attempting to publish, but your KompoZer Internet connection is currently in the "offline" state. Your Internet connection must be in the "online" state (connected to the Internet) in order to publish your pages.

Verify that your Internet connection is currently offline by looking at the online/offline icon in the lower right corner of any KompoZer window. If you are currently offline, the icon appears as .

Possible Solutions:

Error Message:

There is not enough disk space available to save the file filename.

Error Description: The remote web server's hard disk is full, or you may have exceeded the amount of disk space allocated to you by your ISP or web hosting service.

Possible Solutions:

Error Message:

The filename or subdirectory name is too long.

Error Description: The number of characters in the filename or the subdirectory name is not supported by the web server computer that you are trying to publish to.

Possible Solutions:

[ Return to beginning of section ]

[Home] [Next] [Previous]

TeliuTe, 07 July 2009

Copyright © 2004-2009 Contributors to the Nvu, KompoZer Help Documentation Project.