Publishing Web Pages with KompoZerIf your pages exist only on your local hard disk, you can privatelyview your HTML pages. KompoZer lets you publishyour pages to a remote computer called a web server.
When you publish your pages to a web server, KompoZercopies (uploads) your pages to a computer that lets others browse yourpages. Most ISPs provide space on their web servers for web pagepublishing. To find a web server where you can publish your pages, askyour ISP, help desk, or system administrator.
Publishing a DocumentTo publish a document:
Open the HTML document that you want to publish, or create a new KompoZer document. When you're ready to publish the document remotely, click the Publish button
If you have never published this document before, KompoZer displays the Settings tab in the Publish Page dialog box so you can enter information about the document's remote publishing location. See Publish Page - Settings for more information. When you're done entering information, click Publish. If you have never saved the document, KompoZer displays the Publish tab in the Publish Page dialog box, so you can enter the document's filename. See Publish Page - Publish for more information. After entering the filename, click Publish. To browse your published page, click the Browse button. Test the page's links and make sure there are no missing images. 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, KompoZerchanges the document's file:/// URL to an http://URL to indicate that you are now editing the published document. Ifyou want to save the document locally (on your computer's hard disk),click the Save button. You'll be prompted to choose a filename andlocation on your hard disk for the document.
[ Return to beginning ofsection ]
Tips for Avoiding BrokenLinks or Missing Images Make sure your KompoZer filenames end with the .html or .htm file extension. Make sure your image filenames end with the .JPG, .GIF, or .PNG file extension. Don't use spaces or other special symbols in your filenames. Keep your filenames short and only use lowercase or uppercase letters and numbers. If your images appear as broken links when you browse a document on the web server, you may have forgotten to include the images when you published. Open the File menu, and choose Publish As to display the Publish Page dialog box. In the Publish tab, make sure you check "Include images and other files" and then click Publish.For more troubleshooting tips, seeSolving CommonPublishing Problems.
[ Return to beginning ofsection ]
Updating a PublishedDocumentTo update a published document:
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.
Open the File menu, and choose Edit Page. Edit the document as necessary. When you're ready to update the remote page with your changes, click Publish in KompoZer's toolbar.Tip: Todelete a page or image you've published on a web server, you must usean FTP (File Transfer Protocol) program. You also must use an FTPprogram if you want to create subdirectories or to rename files on theweb server. Ask your service provider if they recommend a particularFTP program. You can usually find information on FTP programs in theHelp or Support sections of your service provider's web site. FTPprograms are also available from shareware sites such as ZDNetDownloads.
[ Return to beginning ofsection ]
Changing theFilename or Publishing LocationTo change a document's filename or publishing location:
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.
Open the File menu, and choose Edit Page. Edit the document as necessary. Open KompoZer's File menu and choose Publish As. KompoZer displays the Publish tab in the Publish Page dialog box. Enter a different page title, if necessary. Enter a different filename for the page, if necessary. 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. Click Publish to save the document to the new location.[ Return to beginning ofsection ]
Creating a New PublishingSiteIf you plan to publish documents to more than one remote location,you can set up KompoZer to save the publishing information foreach remote site you use, so that you don't have to enter it each timeyou want to publish.
To create a new publishing site, begin from a KompoZerwindow:
Open the Edit menu and choose Publishing Site Settings. KompoZer displays the Publish Settings dialog box. Click New Site. 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.
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.
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.
For user name, enter the user name you use to log in to your ISP or web hosting service. For password, enter the password for your user name. 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. Click OK.[ Return to beginning ofsection ]
Changing the DefaultPublishing SiteIf you have set up more than one publishing site, but you typicallyuse only one site for most of your publishing needs, you can designatethe site you use most often as the default publishingsite. KompoZer will use the default publishing site for alldocuments that you publish, unless you specifically choose analternate site.
Regardless of how many sites you've set up, you can always publisha document to a different site by choosing Publish As fromKompoZer's File menu. See Changing theFilename or Publishing Location for more information.
To choose the default publishing site, begin from aKompoZer window:
Open the Edit menu, and choose Publishing Site Settings. KompoZer displays the Publish Settings dialog box. Select a publishing site from the list. If you only have one publishing site set up, KompoZer uses that one as the default site.
Click Set as Default.Click OK to confirm your changes. [ Return to beginning ofsection ]
Deleting a Publishing SiteDeleting a publishing site removes the site's settings fromKompoZer. If you later wish to publish to the site, you mustre-enter the site's settings.
To delete a publishing site's settings, begin from aKompoZer window:
Open the Edit menu, and choose Publishing Site Settings. KompoZer displays the Publish Settings dialog box. Select a publishing site from the list. Click Remove Site. KompoZer only removes the site's settings; the remote site itself is not affected.
Click OK to confirm your changes.[ Return to beginning ofsection ]
Publishing SettingsThis section describes KompoZer's publishing settings. Forinformation on KompoZer's general and new page settings, seeKompoZer Preferences.
Publish Page - PublishThe Publish Page - Publish tab lets you specify where you want topublish a document. These settings apply to the current document.
If you are not already viewing the Publish Page - Publish tab,follow these steps:
Open the File menu and choose Publish As. The Publish Page dialog box appears. Click the Publish tab. Site Name: Lists all the publishing sitesyou've created, so you can choose the site that you want to publishto. To create a new site, click New Site.Page Title: Specifies the document's page titleas it appears in the browser window's title bar when you view the pagein the browser. The document's page title also appears in your list ofbookmarks if you bookmark the page.Filename: Specifies the document's filename. Makesure you include the .html or .htm extension in the filename. Warning: If a file on the remote site you're publishing to has the same filename as one you're uploading, the newly uploaded file will replace the existingone. You will not be asked to confirm the action.
Site subdirectory for this page: If you leavethis blank, KompoZer publishes the page to the main (root)publishing directory at this site. If you want to publish the page toa remote subdirectory that resides underneath the main publishingdirectory at this site, enter the name of the subdirectory or chooseit from the list. KompoZer keeps track of the locations youtype here, so you can select from a list of remote locations you'vepreviously used. Keep in mind that subdirectory names arecase-sensitive. Note: The site subdirectory you choose must already exist at the remote server.
Include images and other files: If checked,KompoZer publishes any images and other files referenced bythis page. You can choose to publish these files to the same locationas the page, or else you can choose to publish these files into aremote subdirectory that exists underneath the main publishingdirectory.Tip: To create remote subdirectories or deletepublished pages or images, you must use an FTP (File TransferProtocol) program. Ask your service provider if they recommend aparticular FTP program. You can usually find information on FTPprograms in the Help or Support sections of your service provider'sweb site. FTP programs are also available from shareware sites such asZDNet Downloads.
[ Return to beginning ofsection ]
Publish Page - SettingsThe Publish Page - Settings tab lets you specify your logininformation for the remotepublishing site, as well as the publishing settings for the remotesite. These settingsapply to the current document and any other files you publish tothis location.
If you are not already viewing the Publish Page - Settings tab,follow these steps:
Open the File menu and choose Publish As. The Publish Page dialog box appears. Click the Settings tab. Site Name: Specifies the nickname you want to use for this publishing site. Enter a short name that will help you identify this publishing site. Publishing address: Specifies the complete URL provided to you by your ISP or system administrator. This URL should begin with either ftp:// or http://. This name is often referred to as the "host name" or the "host server name". 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.
HTTP address of your home page: Specifies the complete address of your publishing home directory. This is the web address of the home page at your web 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.
User name: Specifies the user name you use to log into your ISP or network. Password: Specifies the password for your user name. Save Password: Select this to encrypt and save your password securely using Password Manager so that you don't have to enter it each time you publish pages at this site.[ Return to beginning ofsection ]
Publish SettingsThe Publish Settings dialog box lets you create, edit, and deletepublishing site settings, and also lets you set the default publishingsite.
If you are not already viewing the Publish Settings dialog box,follow these steps:
Open the Edit menu and choose Publishing Site Settings. KompoZer displays the Publish Settings dialog box. New Site: Lets you specify settings for a new publishing site. KompoZer adds the name of the new publishing site to the list of available publishing sites. Set as Default: Sets the selected publishing site as the default publishing site. Typically, the default publishing site is the remote location that you most often use for publishing documents. All documents you create or edit will be published to the default publishing site, unless you specifically choose an alternate site in the Publish Page dialog box. To publish a document to a different remote location, open the File menu and choose Publish As to choose a different publishing destination.
Remove Site: Removes the selected site and its settings from KompoZer. Site Name: Specifies the name by which you want to refer to this publishing site. Publishing address: Specifies the complete URL provided to you by your ISP or system administrator. This URL should 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.
HTTP address of your homepage: Specifies the HTTP address of your publishing home directory. 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.
User name: Specifies the user name you use to log in to your ISP or network. Password: Specifies the password for your user name. Save Password: Select this to save your password securely using Password Manager so you don't have to enter it each time you publish pages at this site.[ Return to beginning of section ]
Solving Common PublishingProblemsIf any of your files fails to publish, the Publishing Statusdialog box displays an error message that can help you determine whatwent wrong and how to fix it. Click the Troubleshooting button in thePublishing Status dialog box to get help on solving your publishingproblem.
If you are still unable to publish a file, save the file to yourhard disk by opening KompoZer's File menu, and choosingSave. You can then open the file at a later time to try to publishit. To quickly locate the file later, open KompoZer's Filemenu, and choose Recent Pages.
Verifying Your PublishingSettingsTo verify your publishing settings:
Close the Publishing Status dialog box, if it is open. Open the Edit menu and choose Publishing Site Settings. 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. Verify that you correctly entered the publishing settings. You may have accidentally mistyped one of the settings. Verify that you entered the correct publishing address. Web hosting services or ISPs may refer to the publishing address as the "server name", the "hostname", or the "server/host". They often specify the publishing location as ftp.myisp.com/username, where username is your user name. For the publishing address to be correct, you must precede the publishing location with either ftp:// or http://. For example, the correct publishing address for the above-mentioned site would be ftp://ftp.myisp.com/username.
[ Return to beginning ofsection ]
Checking Your FilenamesExamine the names of any files that failed to publish. Make surethat the filenames:
Use only numbers or lowercase or uppercase letters. While it's acceptable to create filenames that use uppercase letters, you can avoid potential errors in later locating the published file if you only use lowercase letters in your filenames. When you publish files to a web server, filenames become case-sensitive on the web server. It may be harder for you to remember files names that use only uppercase letters or that use a mix of uppercase and lowercase letters.
For example, when you try to locate a published file by typing the filename's web address into Navigator's Location field, you must enter the filename exactly as you created it, using the same combination of uppercase and lowercase letters.
Don't use punctuation characters or spaces. Underscores ( _ ) or hyphens ( - ) are OK. End with .html or .htm (for KompoZer filenames). Use less than 32 characters.[ Return to beginning ofsection ]
Fixing Publishing ErrorsIf one or more of your files fails to publish, look at the messagesKompoZer displays in the Publishing Status area of thePublishing dialog box. You can use these error messages to helpdetermine what went wrong and what to do to fix the problem.
ErrorMessage:
Filename not found or
X of Y files failed to publish
Error Description: One or more image files or CSSfiles failed topublish because KompoZer could not find them. Some typicalreasons might be:
The file location you typed is incorrect. The file's location on the web is not accessible. The file's location was changed or the file was deleted or moved to another location.Possible Solutions:
Look for broken images in the page you are trying to publish. Broken images will appear with this icon
ErrorMessage:
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 anothersubdirectory
Error Description: You specified the name of aremote subdirectory thatdoes not exist at the publishing site. KompoZer can onlypublish to a remote subdirectorythat already exists at the publishing location. Or, you specified afilename that isidentical to the name of an existing subdirectory at the publishingsite.
For example, in the Publish Page dialog box, under the Publishtab:
for "Site subdirectory for this page", you may have typed the name of a subdirectory that does not exist at the publishing location. you checked "Include images and other files," and then you typed the name of a subdirectory that does not exist at the publishing location. one of the files you are attempting to publish has the same name as a subdirectory at the publishing site.Possible Solutions:
Use a separate FTP program if you want to create, rename, or delete subdirectories at the publishing site. 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. Don't use subdirectory names that end with ".html" or ".htm". Only your KompoZer filenames should end with ".html" or ".htm". Subdirectory names are case-sensitive, so be sure to enter a subdirectory name exactly as it appears at the publishing location.
ErrorMessage:
The server is not available. Check your connection and try againlater.
Error Description: This error can have manycauses. For example:
Your publishing site settings may not be correct. Your Internet connection may have been lost. Your modem or other equipment that you use to connect to the Internet might not be functioning correctly. The web server that you are trying to publish to might be unavailable due to a technical problem or to an unknown circumstance. Your ISP or web hosting service may be experiencing technical problems.Possible Solutions:
Verify that your publishing settings are correct and that you entered them correctly. See Verifying Your Publishing Settings for more information. Make sure your Internet connection is working by attempting to view a web page using the Navigator browser. For example, confirm that you can successfully view the page http://www.mozilla.org. If your Internet connection is not working, verify that all hardware, telephone connections, modems, and network connections are functioning properly. Use the Navigator browser to try to view a page at the web site you are attempting to publish to. If you can successfully view other web sites but cannot view a page at the publishing site, your ISP or web hosting service may be experiencing technical problems. Try publishing again later. Your ISP, web hosting service, or the web server may be experiencing temporary technical difficulties.
ErrorMessage:
You do not have permission to publish to this location.
Error Description: You are attempting to publishto a location thatyou are not authorized to use. You can only publish to sites whereyou have been grantedaccess by your ISP or web hosting service.
Possible Solutions:
Verify that you entered the correct user name and password in the Publishing Site Settings dialog box, or in the Publish tab of the Publish dialog box. Contact your ISP to find out where you can publish your pages at their site. Find a web hosting service that you can use to publish your pages. In the Navigator browser, search for "web hosting". Use KompoZer My Webpage http://mywebpage.netscape.com/ to host your web pages, up to 20 megabytes for free.
ErrorMessage:
You are currently offline. Click the icon near the lower-right corner of anywindow to go online.
Error Description: You are attempting to publish,but your KompoZerInternet connection is currently in the "offline" state. YourInternet connection mustbe in the "online" state (connected to the Internet) in order topublish your pages.
Verify that your Internet connection is currently offline bylooking at the online/offlineicon in the lower right corner of any KompoZer window. Ifyou are currently offline, theicon appears as
Possible Solutions:
Click the online/offline icon to go online. In the online state, the icon should look like this:
ErrorMessage:
There is not enough disk space available to save the filefilename.
Error Description: The remote web server's harddisk is full, or youmay have exceeded the amount of disk space allocated to you by yourISP or web hostingservice.
Possible Solutions:
Use a separate FTP program to delete unnecessary files at your publishing site. 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. Find out from your ISP or web hosting service about increasing your disk space allocation, or switch to a different service that can satisfy your needs. If the web server is located at your company or school, contact the network administrator to find out if you can publish to a different location that has more disk space, or if you can request that additional disk space be allocated to your current publishing location.
ErrorMessage:
The filename or subdirectory name is too long.
Error Description: The number of characters in thefilename or thesubdirectory name is not supported by the web server computer thatyou are trying topublish to.
Possible Solutions:
Limit the length of your filenames and subdirectory names to less than 32 characters. Some operating systems do not support names longer than 32 characters.
[ Return to beginning ofsection ]
[