It's time to give your Web page that final once-over before you get it out to the Web. You should check your spelling, check your hyperlinks, check your directories-check everything. Fortunately, FrontPage keeps in mind everything you have to do from start to finish and offers a few tools that can help you as well!
When you develop your pages with other types of editors, sometimes you can't tell at a glance if your hyperlinks are working correctly. With FrontPage, you can tell quite easily within the FrontPage Explorer. Choose View | Hyperlink View to view your web in the FrontPage Explorer's Hyperlink View. From there, you can tell whether the hyperlinks between pages in your Web site need fixing. Figure 28.1 shows broken links to the home page. The broken link is represented by an icon that looks like a torn page in All Hyperlinks View and by broken lines in the Hyperlink View for the current page.
When you view your pages in Hyperlink View, you can expand the tree by clicking on any page icon that has a plus symbol (+) on it. That symbol tells you there are hyperlinks to other pages contained in that page.
Hyperlinks inside pages are hyperlinks from a page to itself, such as hyperlinks to bookmarks that appear on the same page. In the example shown in Figure 28.2, the search page contains hyperlinks to bookmarks on the page.
Notice also that some of the outgoing hyperlinks are represented by arrows and others by circles. The arrows designate hyperlinks to other pages (either in your web or to other webs). The circles represent items that are included in the current page-usually images or content that appears inside Include bots.
You can view hyperlinks inside a page by using one of the following methods:
To turn off the display of hyperlinks inside pages, repeat one of those procedures.
You can use the FrontPage Explorer's Hyperlink View to view hyperlinks to images within your current Web site. Hyperlinks to images are displayed with an icon of a picture in a frame, as shown in Figure 28.3.
To view hyperlinks to images, use one of the following methods:
To turn off the display of hyperlinks to images, repeat one of those procedures.
You can use the FrontPage Explorer's Hyperlink View to view repeated hyperlinks to pages within your current Web site. Sometimes more than one hyperlink to the same page appears within your page. For example, you might have ten copies of the same bullet graphic on a page, as the example in Figure 28.4 shows.
In most cases, you want to view hyperlinks only once; but if you need to remove hyperlinks to a particular page, you might miss the additional hyperlinks on the page unless you choose this command.
To view repeated hyperlinks, use one of the following methods:
To turn off the display of repeated hyperlinks, repeat one of those procedures.
What if you've got hundreds of pages on your site? You don't have to look at them all manually, do you?
Have no fear-there's an easy way to check the hyperlinks on all those pages. Use the Tools | Verify Hyperlinks command to both verify and repair internal and external hyperlinks.
Once you establish an online connection, use the following procedure to verify external hyperlinks:
You might have some broken hyperlinks inside your web, such as
hyperlinks you forgot to complete, hyperlinks to pages you might
have deleted from your web, or even hyperlinks from pages imported
into your web that you forgot to edit. You can easily fix them
by using the Tools | Verify Hyperlinks command in
the FrontPage Explorer.
TIP |
If you've got a lot of broken hyperlinks to view, you can sort the list of broken hyperlinks by one of three categories-Status, URL, or Linked From Page. Click the headings above the list of broken hyperlinks in the Verify Hyperlinks dialog box. |
To repair broken internal or external hyperlinks, follow these steps:
TIP |
Page URLs can change frequently on the Web or become outdated rapidly. If you run the Tools | Verify Hyperlinks command on a fairly regular basis, you can delete or revise hyperlinks when necessary and keep all the external hyperlinks in your Web site current. |
You can also choose to edit the page on which the broken hyperlink appears. This doesn't automatically fix the other hyperlinks on which the same broken hyperlink appears, but it does allow you to verify where you wanted that hyperlink to go. To edit the page on which the hyperlink appears, follow these steps:
You might not have the time to repair all your external links in one sitting, so add the tasks to your To Do list. Using this procedure, you won't have to use the Verify Hyperlinks command again. Tasks are added to your To Do list and include the URL that you need to repair, as well as the page it appears on. To add a broken hyperlink to your To Do list, follow these steps:
When a bot is configured incorrectly or a page that a WebBot refers to is moved or deleted from your web, you'll notice a small red triangle next to the page in the FrontPage Explorer's Outline view. Figure 28.8 shows many of these triangles (most of which were remedied by choosing the Tools | Recalculate Hyperlinks command). You can determine why the error appears on the page by using the following procedure:
Figure 28.8 : The Properties dialog box tells you why an error message exists on a page.
TIP |
If you notice the red triangles after you import several pages that you know are linked correctly, choose the Tools | Recalculate Hyperlinks command. The error triangle might be there because of the order in which pages were imported to the web. Refreshing the web resolves many, if not all, of these error messages. |
What if, as you develop your pages, you forget to perform a spell-check on some of them? What if you change your mind and decide to rename your Web site and you don't want to go back through dozens of pages to edit the name on the pages? New to FrontPage 97 is the capability to perform across-the-web spell-checks, text searches, and text replaces.
Use the across-the-web spell-check to give your pages a final run-through. You can add pages that contain any misspelled words to your To Do list.
To perform an across-the-web spell-check, follow these steps:
Use the across-the-web find feature of FrontPage 97 to search for any page that contains a specific word or phrase. If, for example, you can't remember which of dozens of pages on your web contains the phrase going south to Florida, you can enter the phrase and make FrontPage do the work for you.
To perform an across-the-web find, follow these steps:
Use the across-the-web replace feature of FrontPage 97 to search and replace any text or phrase on your pages. Note that this command only searches and replaces text that appears on your web page while you view it in the WYSIWYG view of the FrontPage Editor. It does not edit any HTML code behind the scenes.
To perform an across-the-web replace, follow these steps:
Your pages are hyperlinked, your spelling is checked, and your images are all nice, neat, and trim. You're ready to go to the Web now.
There are three ways you can get your files on the Web. If your service provider has the FrontPage Server Extensions installed, you can use the Publish FrontPage Web command in the FrontPage Explorer to transfer your Web files to their server. If your service provider doesn't have the extensions, you have a couple of alternatives. I'll address them one by one.
Use the Publish FrontPage Web command to transfer your web to
a service provider that has the FrontPage Server Extensions installed.
When you use this command, you can copy changed pages, add pages
to an existing FrontPage web, and copy the root web with or without
child webs.
NOTE |
When you use the Publish FrontPage Web command to copy your Web pages from your local computer to a remote server, you are prompted to enter a name and password. Enter the name and password you use to transfer content to your remote Web directory in the Name and Password Required dialog box. |
To publish your web to the remote server, follow these steps:
TIP |
You can also use the Publish FrontPage Web command to copy FrontPage webs from the Personal Web Server to a file location on your hard drive (great for backup purposes) or to copy FrontPage webs from your hard drive into the Personal Web Server (great for practicing new techniques before you put them on your server). |
Once this process is finished, you should open the remote web in the FrontPage Explorer. Check to see whether there are any red triangles near any page names. If there are, follow the procedures outlined earlier in this chapter in "Fixing Page Errors." Test all your pages thoroughly to make sure that everything copied without error.
If your service provider doesn't have the FrontPage Server Extensions installed, you can use Microsoft's Web Publishing Wizard to copy your pages to your remote site. This wizard is very easy to use and steps you through posting your web pages to many popular online services.
You can find the Web Publishing Wizard in the FrontPage section of Microsoft's site:
http://www.microsoft.com/frontpage/
When you use the Web Publishing Wizard's setup program, the wizard is added to your Windows 95 Start menu. You can start the publishing wizard by choosing Start | Programs | Accessories | Internet Tools | Web Publishing Wizard.
To use the Web Publishing Wizard, follow these steps:
Many people use FTP programs such as WS_FTP95, shown in Figure 28.19, to publish their Web pages. This allows you to duplicate directory structures and copy pages to and from directories on your local computer to directories on a remote server very easily. You can find WS_FTP95 at the following URL:
http://www.csra.net/junodj/ws_ftp32.htm
Figure 28.19 : You can also publish your Web pages using an FTP program such as WS_FTP95.
If you use an FTP program to transfer your pages to your remote site, you need to know which files you should (or shouldn't) transfer for your Web site to work properly. You should transfer the following files:
You shouldn't transfer these files:
After you transfer your files to your remote site, browse through the site to make sure all hyperlinks work the way they should. If your server has the FrontPage Server Extensions installed, you can use the Tools | Verify Hyperlinks command while logged in to your remote site to verify the hyperlinks quickly. Check your pages once again, using various browsers, to see if things look the way they should.
You can publicize your Web site in several ways. One way is to post messages in newsgroups that relate to your topic of interest. If your site has information of interest to those who frequent the newsgroups, post your URL so they can find your site.
I know you're excited about your new Web site and want to tell the world-but distribute your Web announcements sparingly, posting to only a handful of newsgroups at a time. Most who frequent newsgroups don't take too kindly to spamming-posting messages in dozens of newsgroups at the same time.
Another good way to publicize your Web site is to register your home page URLs with some of the many Web searches and robots, such as Yahoo, Alta Vista, Excite, Open Text, and others. Some of these search engines also provide hyperlinks to sites from which you can send your URL to many other search engines at once.
Your web is complete and resides on your remote server. Now you can begin the task of getting the word out. You've come a long way since the day you first opened the FrontPage box. Congratulate yourself for a great accomplishment! You're on the Internet!
In this chapter, you learned how to give your Web site the final once-over and publish it to a remote site. You also learned three ways you can get your pages out to the world and which files you shouldn't transfer when your service provider doesn't use the FrontPage Server Extensions.
I hope I've succeeded in anticipating everything you need to know when you design your webs. Sometimes it's difficult to consider all the questions that arise. I'll maintain a support site for this book at the following URL and post answers to frequently asked questions, include more tips and tricks, and also include some graphics you can include in your pages:
http://www.fpworkshop.com
As far as where you should go next, the sky's the limit. Keep tabs of the new features being developed for the Web. Learn how to use custom scripting languages to enhance your site even further. Continue to develop your Web design skills to keep up with the latest and greatest features.
Q: | Can I perform an across-the-web replace on the HTML code? |
A: | The across-the-web replace works only on the text that appears on the WYSIWYG side of the page. You won't be able to change the "behind the scenes" code across the web with this command. |
Q: | Are there any newsgroups I can join that concentrate on using FrontPage or the server extensions? |
A: | Yes, Microsoft has some newsgroups that might help. Subscribe to one of the following newsgroups to communicate with others who use FrontPage: For the FrontPage client (FrontPage Explorer and FrontPage Editor): msnews.microsoft.com.microsoft.public.frontpage.client For Internet service providers using UNIX server extensions: msnews.microsoft.com.microsoft.public.frontpage.extensions.unix For Internet service providers using Windows NT server extensions: msnews.microsoft.com.microsoft.frontpage.extensions.windowsnt |
Q: | Are there any other areas where I can get technical information? |
A: | The Microsoft Knowledge Base, located on its Web site, has articles that address technical questions. There is a hyperlink to the Knowledge Base on MSN (go MSSUPPORT if you're a member of the
Microsoft Network). You can also find the Microsoft Knowledge Base at the following URL: http://www.microsoft.com/KB/ |
Q: | Once I post my pages on the Internet, can I remove them from my local computer? |
A: | Some people do this, but you may feel more comfortable knowing that you have another backup of your Web pages. If you decide to remove your FrontPage webs from your computer, you can use the FrontPage Explorer's File | Publish FrontPage Web command to create a backup copy of your web. This copies the Web's configuration information, in addition to its content. The web can be restored very easily using the FrontPage Explorer's Import Web Wizard. |
Q: | Sometimes when I use the Verify Links command, the process seems to hang, and a link is reported as broken. When I verify the broken link later in my browser, it takes a while to connect to the site, but the link is OK. What happened? |
A: | On occasion, a server can be down for repair or experiencing a lot of traffic. The Verify Links command tests each link, but if a response is not received from a server within a short period of time, the link is marked as broken and FrontPage continues the test with the next link. You can add broken links to your To Do List and check them later to see if the link is valid. |