|
25 Years of Programming
An open source source for C, C++, OWL, BASIC, MDB, XLS, DOT, and more... |
Home Projects Sitemap Search Blog Forum+Chat About Us Privacy Terms of Use Feedback FAQ Images Services Payments Humor Music |
Convert FrontPage 2003 webbots to plain HTML and CSS - Part 4
The reasons these conversions can be worth doing are given in the Introduction for this series of articles, which is in Part 1 (see above). How to convert a Table of Contents webbot component to HTMLYou can convert a FrontPage Table of Contents webbot to a plain HTML list of hyperlinks to the files in your site. The advantage of doing the conversion is that it gives you control over which pages are shown (or not), what text is displayed for each link (the webbot uses the page titles), and how the list is organized and formatted. The conversion provides no advantage with respect to the FrontPage Extensions because the Table of Contents (or Outline) webbot does not require them, anyway. It is one of the webbots that performs its function while you are working in FrontPage on your local copy of the site. On your server, the page is just static HTML text. The disadvantage of doing the conversion is that the list won't be automatically regenerated or updated anymore. From now on, anytime you create a new page that you want to appear in the TOC, you must add it yourself, but it's not difficult to do. 1) Find all the pages where you use Table of Contents webbotsFind (Ctrl+F): All pages, In source code, for: <!--webbot bot="Outline" 2) Do these steps for each Table of Contents webbotThis is one of the situations where the text in the file as viewed by Notepad is different from what you see when you look at it in FrontPage Code View. In similar situations in previous articles, we have gone to Notepad, retrieved the HTML code from there, and then used that text to replace the webbot code in FrontPage. Here, instead, we can use a simpler method: just edit the code in Notepad. All we need to do is remove the webbot tags.
Hint: If you want a Table of Contents (sitemap) for your site, but don't already have one, you can use this method to simplify its creation. Use Frontpage's automated methods to do most of the work, then get rid of the webbot and keep the HTML it created:
Assistance is available in the forum. |
|
|
|
|
|
Copyright ©2011 Steven Whitney. Last modified Tue 05/24/2011 07:37:40 -0700. |
||