TAILIEUCHUNG - Taking Your Talent to the Web- P25

Taking Your Talent to the Web- P25:It was a simple solution to a complex problem. On one side, thousands of designers and art directors are eager to take their talents to the Web but aren’t sure how. On the other, web agencies could not find enough good web designers to get their work done. | Taking Your Talent to the Web 341 time or movies directory and so on. As described in Chapter 7 this makes it easier to find pieces and write appropriate file references during the site s creation and subsequent maintenance. If for some reason you prefer to save your SSI files in a directory called rosebud the reference would read -- include virtual rosebud -- Now simply use that line of code in every HTML document where you formerly had to cut and paste a heap of menu bar markup. Then upload your HTML pages to the web server. Some folks use a different file extension such as .shtml or .shtm if their HTML file contains an include and some servers require this. But if you can stick to the .html file extension you ll avoid confusion and heartache down the road. Why confusion and heartache We knew you were going to ask. For one thing imagine that your static .html pages have been bookmarked by visitors and search engines. You then start changing your file extensions. All of a sudden your internal and external links are broken your visitors are confused and the search engines that ranked you so highly are pointing to nonexistent pages. Are You Being Served You ve replaced redundant markup with neat clean includes. What s the next step There probably isn t one. Most web servers natively support SSIs. If it doesn t work right away you might need to contact the company hosting your site or the network administrator if your company hosts its own sites and ask that the configuration file be changed to permit SSIs. Unless the hosting company hires trained monkeys as tech support complying with your request will take two minutes. Of course if you are sane you will have made this phone call before changing all your HTML pages. Or you will have created a test HTML page uploaded it and confirmed with your own eyes and mouse cursor that it works. 342 HOW Beyond Text Pictures Take a Walk on the Server Side More than one SSI can be put to use on each page. You can replace