[Previous] [Content Page] [Next]
Setting Publishing PreferencesBefore you actually send your files out onto the Web, you need to supply FrontPage with some important information: what technology exists on the server you're publishing to and where exactly you're sending your files. You also have a few different options for specifying which pages FrontPage will publish. 13.2.1. Selecting a Remote Web SiteTo access FrontPage's publishing options, open your site and select File Before you can set all your Remote Web site details, you'll need to get the following information from your Web-hosting company or whoever is running your Web server:
13.2.1.1 Publishing to a server with FPSE or SharePointIf your server has FrontPage Server Extensions or SharePoint services on it, publishing is a breeze. On the Remote Web Site tab, just select the "FrontPage or SharePoint Services" radio button and enter the Web address for your site in the location box below. Whenever possible, you should publish this way. Of course, if your site has any features that rely on Server Extensions or SharePoint, you have to publish using this option, or they won't work. But even if your site doesn't contain any of these special features, you should still use this method, if you can (that is, if the technology exists on your server). This method helps FrontPage keep track of all the info it uses to manage your site. Other publishing options will work, but they're a lot less helpful. Note: Your Web server can't have both FPSE and SharePoint services loaded on itonly one or the other. FrontPage lumps both methods together in the same radio button, because FrontPage communicates with both types of servers in the same way. 13.2.1.2 WebDAVIf you don't have FrontPage Server Extensions or SharePoint services installed, you may want to publish via WebDAV (Web Distributed Authoring and Versioning). WebDAV provides more control than FTP or disk-based publishing (both of which you'll read about in a moment), because it features additional controls (like document locking and version control) that let authors collaborate and edit files on a remote Web server without erasing each others' work. Note: FrontPage won't let you publish using WebDAV if your remote server features FPSE or SharePoint Services. If you're publishing a personal or small business site through a Web host, you probably won't be using WebDAV. But if your site is part of a large corporate intranet, your administrator might choose this method. Publishing via WebDAV is pretty straightforward. In the Remote Web Site Properties dialog box, select WebDAV and then enter your site's URL in the "Remote Web site location" box. 13.2.1.3 FTPFTP (File Transfer Protocol) is a relatively ancient, but still fairly dependable system for exchanging files between computers. Before Web-authoring programs like FrontPage helped with publishing, authors hand-coding HTML in text files had to publish their files using a separate program, entirely dedicated to FTP. Many Web design graybeards, as well as folks who use other Web sitecreation tools like Dreamweaver, still use FTP since it's all they really need. (See the box "FTP vs. HTTP" for more on the difference between FTP and FrontPage-specific publishing methods.) When you select the FTP option, FrontPage asks you for a server address and provides a second field in which you need to enter a folder directory (see Figure 13-3). Before you fill out the dialog box, get this information from your Web-hosting company or whoever is running your Web server. Also ask your host or server person whether or not you should turn on the Passive FTP checkbox. Passive FTP lets a computer communicate with a server, without requiring the server to initiate any commands. Microsoft added this feature because a lot of firewalls require it. Note: Once you publish via FTP or WebDAV, your site is no longer, technically speaking, a FrontPage Web site. This means you won't be able to use the "Open Remote site in FrontPage" option discussed later this tutorial (see Section 13.3.2). You will, of course, still be able to edit your site using FrontPage (if your development environment is on your own computer). But the point is that the version of your site that's now up and running on an FTP or WebDAV server is no longer anything you can get at with your FrontPage tools. Also, these two publishing methods won't let you use any Web elements that rely on FPSE or SharePoint.
13.2.1.4 Publishing to a disk-based siteNeed to make a backup of your site? Using the publish command is the best way. If you select "File System" as your remote site, you can copy your site to another folder on your hard drive or a storage server. If you're on the move, you can even copy your site onto a CD, DVD, or any other kind of storage device. Once you select File System in the Remote Web Site Properties dialog box, browse to or type the path. If you type in folder names that don't yet exist, FrontPage creates them. Then click OK. If the destination folder isn't already a FrontPage Web site, FrontPage asks you if you want to create a "web" (meaning "Web site") at that location. Click Yes. 13.2.2. Configuring Publishing OptionsThe basic sequence of steps involved in publishing (often called workflow) follows a consistent pattern: you publish your site, you make some more changes in your development environment, and then you need to publish again. But once most of your site's already up on the live server and you've edited only a handful of pages, you might ask yourself: why bother to replace the pages and files that haven't changed? Fortunately, FrontPage lets you publish only those pages that have changed. To do this, FrontPage compares the copies of your site and uploads only new and updated files. This process can save you loads of time. To set your file update preferences, open the Remote Web Site Properties dialog box and click the Publishing tab. Then tell FrontPage what it should publish. 13.2.2.1 Changed Pages onlyIf you select this radio button, FrontPage will push only new material up to the destination site. How does FrontPage tell what's new? In one of two ways, which you choose, in the Publishing tab's Changes section:
Note: Selecting "Changed Pages only" is the only publishing method in which FrontPage prompts you to delete any files that exist on your remote site, but not in your local site. 13.2.2.2 All pages, overwriting pages already on destinationIf you select the "All pages" radio button, FrontPage copies over all the files in your site, both old and new. You won't need to wait around for FrontPage to compare the sites, but you may wait quite a while for the site to publish. Obviously, the first time you publish, you'll need to publish all pages. After that, you can opt to publish changed pages only, if you want. Tip: If you've created subsites (Section 10.5.5) within your site, you'll need to publish them separatelyunless you turn on the Include Subsites checkbox on the Publishing tab. |
[Previous] [Content Page] [Next]

