6 of 11   Lesson 2

Organizing the Files in your Web site

Now that your Web site contains several pages and files, you will use Folders view to organize them. Similar to Windows Explorer, Folders view lets you manage the files and folders in your Web site. You can safely rearrange the pages and files in your Web site without breaking hyperlinks, page banner titles, or navigation button labels.

In Folders view, FrontPage displays a hierarchical list of the folders in your Web site on the left side of the screen. Clicking on a folder in the Folder List displays its contents on the right side — the Contents pane.

In the following steps, you will move all the picture files in the Championzone Web site to the Images folder FrontPage created as part of the Web site.

If you were to use Windows Explorer or another file manager to move pages and files from one folder to another, you would break the hyperlinks between your pages and page elements. However, when you maintain your Web site in Folders view, FrontPage keeps every page and hyperlink in your Web site updated to keep track of the new locations of files and folders that have been moved.

 

To move picture files to the Images folder

1. On the Views bar, click the Folders icon .

FrontPage switches to Folders view.

  1. In the Folder List pane, click the top-level folder labeled <drive>:\My Documents\My Webs\Championzone.

    This will ensure that the contents pane displays all of the folders and files contained in the root Web site.

  2. In the Contents pane, click the Type column label.

Clicking on a column label sorts the files in the Contents pane by that criterion. The first time you click a column label, the list is sorted in ascending order; when you click it a second time, it is sorted in descending order.

The list of files is now grouped by file type, with all GIF picture files at the top of the list, followed by HTM files (pages) in the middle, and all JPG pictures at the bottom of the list.

4. In the Contents pane, click the first picture file (czbanner) at the top of the list to select it.

5. Next, while holding down SHIFT, click the last GIF picture file in the list (frontpage.gif).

In Folders view, FrontPage supports all standard Windows selection shortcuts, such as SHIFT+CLICK for selecting ranges of files, and CTRL+CLICK for selecting noncontiguous files.

6. Click and hold the right mouse button while the pointer is over any of the selected GIF file icons.

7. Next, drag the mouse pointer over to the Images folder in the Folder List pane.

8. When the Images folder is selected, release the mouse button and click Move Here on the shortcut menu.

FrontPage displays the Rename dialog box while it is moving the selected GIF image files to the Images folder because it is automatically updating all hyperlinks to these files in the current Web site.

9. Repeat steps 4 through 8 with all JPG picture files, starting with FPTutor003.jpg and ending with FPTutor006.jpg.

10. In the Contents pane, click the Name column label to arrange the remaining list of folders and files by their name again.

You’ve successfully grouped all picture files in the Images folder.

When you work with your own Web sites, you can group sound files, movie clips, and other types of files in their own folders. You can create new folders in Folders view as needed and delete the ones you no longer need.

 

To create a new folder

1. In the Folder List, click the folder in which you want to create a new subfolder.

Folders can be expanded and collapsed in the Folder List to bring their subfolders into view. Click the plus (+) and minus (-) signs next to a folder’s name to display or hide its subfolders.

2. On the File menu, point to New and then click Folder.

FrontPage creates a new folder with a temporary name.

3. When the folder’s temporary name (New_Folder) is selected, type a new name for the folder, then press ENTER.

The new folder is renamed, and you can now drag and drop files into it.

For this tutorial, we don’t need the extra folder you just created, so you will delete it before we get ready to publish the Web site.

4. In the Folder List, right-click the folder you just created.

5. On the shortcut menu, click Delete.

6. In the Confirm Delete dialog box, click Yes.

FrontPage removes the folder from the Web site.

 

Generating a Site Summary

Reports view is an important tool that shows you the overall health and condition of your Web site before you publish it to the World Wide Web. You can generate custom reports about your Web site in up to 14 categories.

 

To generate a Site Summary report

  • On the Views bar, click the Reports icon .

FrontPage switches to Reports view. The default report is the Site Summary. This report shows you the overall statistics of the pages and files in the Championzone Web site. Here are some important ones to look at before you publish your Web site:

  • All files: You currently have 23 files in your Web site, totaling approximately 435 KB. This is the amount of space you’ll need to have available on the Web server that will host your Web site.
  • Slow pages: This category shows pages that are slow to download at the targeted download speed.
  • Broken hyperlinks: If any broken hyperlinks are reported here, double-click the Broken hyperlinks row to view details about this category. FrontPage lists unverified hyperlinks, such as the external hyperlinks on your Links page, and links that are broken and do not work.
  • Functioning hyperlinks: You can verify that a hyperlink still points to an active Web site by right-clicking the link in Reports view and choosing Verify from the shortcut menu. To fix a broken hyperlink, you must open the page it is on and repair the URL the hyperlink points to.

 

Spelling Checking

Spelling checks are important if you want your Web site content to give visitors a professional impression. If words are misspelled on a single page, people might question the accuracy of your entire Web site content. The flexible spelling features in FrontPage give you the option of checking spelling page by page as you create and edit content, or doing it all at once, just before you publish your Web site to the World Wide Web.

There are three ways FrontPage can check spelling for you:

  • Automatic spelling check as you type text
  • Manual spelling check of the current page
  • Cross-Web site spelling checks of all pages in a Web site

Automatic spelling check In Page view, FrontPage automatically checks the spelling of text you type on the current page, just like Microsoft Word, Microsoft PowerPoint, and other Microsoft Office XP programs do. An underlined word doesn’t necessarily mean the word is spelled incorrectly. FrontPage may simply prompt you to verify unknown or suspected words, which happens most commonly with names of people and places.

If you know that the spelling of a suspected word is correct, you can either choose to ignore such words and keep them unchanged, or add them to a custom dictionary that FrontPage will keep for subsequent spelling checks. If the word is indeed misspelled, you can quickly insert the corrected spelling by right-clicking the suspected word and selecting a suggested correction.

Manual spelling check Page-based spelling checks are available in Page view by right-clicking suspect words or by clicking the Spelling command on the Tools menu.

Cross-Web site spelling check While you can use automatic background spelling checking and per-page spelling checking in Page view, using the Spelling command in any other Web site view lets you check the spelling of all (or selected) pages across the current Web site. Cross-Web site spelling checks are available in every Web site view.

You can check the spelling of page elements that can be edited directly on the page. Other text, such as page titles in page banners or text contained in FrontPage-based components, are not included in the spelling check.

 

To check spelling in the current Web site

1. On the Tools menu, click Spelling.

FrontPage displays the Spelling dialog box. Here, you can specify whether FrontPage should check the spelling of selected pages only, or of the entire Web site.

2. In the Spelling dialog box, click Entire Web, and then select the Add a task for each page with misspellings check box.

FrontPage will add a task to the Tasks list for each page on which misspelled text is found. You will learn about Tasks view in the next section.

3. In the Spelling dialog box, click Start to begin the spelling check.

FrontPage expands the Spelling dialog box to display the progress of the spelling check.

When the operation has been completed, FrontPage displays the misspelled words and the number of tasks that were added to the Tasks list in Tasks view.

4. Click Cancel to dismiss the Spelling dialog box.

The spelling check is complete, but the corrections will not be made until you complete the tasks in the Tasks list.

Replacing Text on Pages

The Replace command makes it easy to find and replace content on selected pages or all pages in the current Web site. While you can use the command to replace text on the current page in Page view, using it in any other Web site view lets you replace text in all (or selected) pages across the current Web site.

You can replace any text that can be edited directly on the page. Other text, such as page titles in page banners or text contained in FrontPage-based components, cannot be automatically replaced.

 

To replace text on all pages in the current Web site

  1. On the Edit menu, click Replace.

    FrontPage displays the Replace dialog box. Here, you enter the string of text to be found and what you want to replace it with. You can choose to replace text on all pages in the current Web site, or on selected pages only.

  2. Click All Pages.
  3. In the Replace dialog box, type Welcome to Championzone in the Find what box.
  4. In the Replace with box, type Thanks for visiting Championzone.
  5. Click the Match case check box, and then click Find in Web.

    FrontPage expands the Replace dialog box to display the progress of the search. The search text you want to replace is found on the home page, Index.htm. When the operation has been completed, FrontPage displays the number of occurrences it has found.

  6. Click Replace in the Find and Replace dialog box.
  7. FrontPage opens the home page, with the phrase Welcome to Championzone highlighted.
  8. Click Replace.
  9. When the Finished checking pages box appears, click Back to List, and then click Cancel.

Completing Web Site Tasks

Tasks view displays the list of all outstanding tasks associated with the current Web site. Tasks are items that need your attention before you publish the Web site.

In the previous exercises, you added tasks to a list when you deferred certain actions. For example, when you checked the spelling of the pages in your Web site, you chose to add a new task for each page containing misspellings. By adding tasks to the list, you can complete such corrections all at once.

If you are working in a Web development environment or on an intranet, Tasks view makes it easy to track Web site tasks and assign them to other authors who work on the same Web site.

 

To complete tasks in Tasks view

  1. On the Views bar, click the Tasks icon .

    FrontPage displays the Tasks list.

  2. Double-click the first task on the list, labeled Fix misspelled words.

    FrontPage displays the Task Details dialog box. Here, you can see details about the task youve selected. You can set the priority of the task, assign it to another author on your network, or complete the task and remove it from the list.

  3. In the Task Details dialog box, click Start Task.

    FrontPage switches to Page view and opens the page containing the misspelled words.

  4. In the Spelling dialog box, click Add when FrontPage questions the name Championzone.

    This adds the word Championzone to the dictionary.

    Note   FrontPage shares custom dictionaries with other Microsoft Office XP programs, so you don’t need to add custom words in each program separately. When you add verified words to your dictionary, they will not be questioned again.

  5. Click OK.
  6. FrontPage completes the spelling check. If you want, you can now return to Tasks view and mark this task as completed.

Although it is not required that you complete every task before publishing your Web site, it is a good idea to review this list when you are finished making changes to the Web site. Tasks view helps you manage Web sites by flagging important reminders for you.

Publishing the Championzone Web site

When you publish your Web site on the World Wide Web — or your company intranet — FrontPage automatically verifies your hyperlinks, the addresses of your pages, and the paths to your files.

Note   If you do not want to publish the Championzone Web site to your Web server, read this procedure for reference only, without actually completing the steps.

 

To publish the current Web site

1. Close all open pages in Page view.

2. On the File menu, click Publish Web, or click the Publish Web button on the toolbar.

FrontPage displays the Publish Web dialog box. Here, you specify the location on the World Wide Web or your corporate intranet to which you want to publish your Web site. Your Internet service provider can tell you this information.

You need Internet access through an Internet service provider before you can publish your Web site to the World Wide Web. If you want to sign on with a Web Presence Provider that can host FrontPage-enabled Web sites, click the Click here to learn more link in the Publish Destination dialog box.

3. In the Publish Web dialog box, enter the URL of your target Web server, (such as http://example.microsoft.com/~myweb), and then click Publish.

FrontPage publishes the current Web site from your computer to the World Wide Web or intranet Web server you specified.

Tip   After you publish a Web site for the first time, you can bypass the Publish Web dialog box by using the Publish Web button on the toolbar. This quickly publishes any updates you’ve made to your pages without having to provide any information about the Web site’s location. To again display the Publish Web dialog box, use the Publish Web command on the File menu instead of the toolbar button.

If FrontPage detects that you are publishing to a Web server that does not support the FrontPage Server Extensions, it will publish the current Web site via file transfer protocol (FTP).

If the Web server to which you are publishing your Web site has the FrontPage Server Extensions installed, your Web site will have full functionality of FrontPage-based components and Web scripts that you may have inserted on your pages.

Publishing Web sites to a Web server that does not have the FrontPage Server Extensions installed may disable some functionality contained on your pages, such as the feedback form you added. FrontPage will display informational messages during the publication process to alert you of such conditions.

During the publishing process, FrontPage displays a progress bar to indicate how much time is required to transfer your Web site to the target Web server.

The speed at which FrontPage publishes your Web site depends on your connection speed, as well as the number and complexity of the pages and files in your Web site.

Tip   When you publish a Web site, all of its pages and files are published by default. To exclude pages or files from being published, right-click the page or file in a Web site view, and click Don’t Publish.

When FrontPage has successfully published your Web site, it provides a hyperlink to your new Web site in the confirmation dialog box. Click the link to open the published Web site in your Web browser.

 

Finishing Lesson 2

Congratulations! You have successfully completed the FrontPage Tutorial. You are now ready to create and publish your very own FrontPage-based Web site.

 

uuuu

 

The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Due to the nature of ongoing development efforts and because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication.

This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT.

Ó 2001 Microsoft Corporation. All rights reserved.

Microsoft, FrontPage, the Office XP logo, MSN, PowerPoint, Windows, and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

Other company or product names herein may be the trademarks of their respective

 


 

 6 of 11 

TOP