Web Design


Web Design Name Articles Home Page | 1AFMhosting.com Home Page

Domain

All about Web design.

Using Server Side Includes to Simplify Your Web Design


An "include" file is a piece of code that can be put into a seperate file -- for example -- your navigation bar -- and then "included" in a number of other pages. This has the very useful advantage of allowing you to retain consistency over a very large number of pages, and then make changes to all of those pages by just changing the include file.

For instance, say you want each page in your site to include a short paragraph that uniquely identifies your site. I normally call this a "site-id". It would read something like this:

ForSaleTours.com - provides information and sources for virtual tours for the real estate industry. We explain different methods of combining video and audio to produce virtual representations of your home to enhance its value and to make the purchasing experience of potential buyers better than it otherwise might be.

To set this up so it appears in a host file as an "include", you normally have to do three things:

1. Make sure your server allows SSI (server side includes). If you have access to your web site control panel you should be able to figure this out. Or if not, ask your web host technical support people.

2. Create a "host" file and give it a file extension so your server recognizes it contains include files. A common extension is .shtml

3. Create your include file. It can usually have any of a number of different extensions: .html, .htm, .php, even .txt. This is the file that will be included within other files.

4. Embed the correct code within your .shtml file to point to the include file. If the include file and host file are in the same folder on the server, it will look like this:

<!--#include file="file_name.html"-->

If the include file is located in a different folder (on the same server), the code will look like this:

<!--#include virtual="folder_name/file_name.html"-->

In the above example you have to make sure the relative path to the include file is set correctly.

Now when you want to make a global change to, for instance, your "site-id", you just have to change the include file (once), and this change will be populated through all the pages that include that file.

Include files can be put to many creative uses that allow you to do things that are otherwise very impractical. And if you have a website with a large number of pages, this technique can save you a great deal of time.

For more web design and online marketing tips see the Linknet Marketing Resource Library

Rick Hendershot is a marketing consultant, writer, and internet publisher who lives in Conestogo, Ontario, Canada. He publishes several websites and blogs, including The Linknet Network of Websites. This network provides an inexpensive way to advertise your website, and get as many as 100 low cost links.


MORE RESOURCES:

Web Design- the invisible hand to the success of your business.
American Chronicle, CA - 48 minutes ago
Business and website go hand in hand. Website is the focal point of your business, interacting with your customers and clients round the clock. ...


Web design & FOSS
ZDNet UK, UK - Jul 2, 2008
Well, to be more precise, this is probably my problem with Notepad++, the venerable open source Windows text editor. I can’t open HTML files. ...


'Integrate SEO at the start of web design projects'
Epiphany Search News, UK - Jul 2, 2008
Companies should do more to place search engine optimisation (SEO), usability and accessibility at the heart of their web design projects. ...


IBM Research Partners With EU Consortium to Speed Up Mobile Web ...
CNNMoney.com - Jun 30, 2008
IBM (NYSE: IBM) is announcing a collaboration with European Union partners at the GNU Compiler Collection (GCC) Summit to develop new software that will ...


Web design business celebrates tenth anniversary
Peterborough, UK - Jul 2, 2008
Peterborough based web design company, InternetNow! - www.internetnow.co.uk - is celebrating its tenth anniversary in June this year. ...


Dutch search engine Cityzapper goes mobile
Telecom Paper (subscription), Netherlands - Jul 4, 2008
Dutch creative website bureau Multi Channel Marketing and Dutch website design bureau Ben Latten Webdesign, have expanded their Cityzapper service with a ...


The 10 Commandments of Web Design
BusinessWeek - Jun 24, 2008
Meanwhile, Web design vogues from the effervescent jumble of HotWired to the stark utility of Google (GOOG) have continued to evolve and become more ...


Web site designer launches business
Austin Herald, MN - Jul 4, 2008
A registered nurse by training, Dibble said she began dabbling in Web design after spending years at home with the kids, both of whom are now graduated from ...


Web design company offers e-search marketing tips
Merinews, India - Jun 30, 2008
London-based website design company, Kronikmedia has started a new search engine marketing and e-commerce blog. It gives updated advice on search engine ...


Free Search Engine Marketing tips for businesses by leading web ...
openPR (press release), Germany - Jun 30, 2008
(openPR) - Kronikmedia, a leading independent website Design Company based in London have launched a new search engine marketing and Ecommerce blog that ...

Web-Design - Google News

Web Design Articles Home Page | Web Design Articles Site Map | 1AFMhosting.com
Trafficfish | EZmatic | GetSonic
© 2006