There are probably two main ways you currently update your site. The first, and most important, is adding new content. Whether you are updating a calendar, adding a new page, or putting in a photo of a new product, you are enhancing the value of your site for your visitors. The second, and more mind-numbing changes are those that are made to every page of your site. These might include copyright dates, contact information, the date and time, or navigation links. If you have a large site, changing just your company phone number on every page can be a time-intensive, boring job.
Modern web development tools such as Macromedia’s Dreamweaver offer a template feature that allows your web designer to change one section of a single page (say the contact info) and have the software automatically change all the pages that were made from that template. Those changed pages are still on the designer’s computer, however, and must be uploaded to your server one page at a time. Depending on the number and size of the pages, and the speed of your designer’s modem, updating a site this way can take awhile.
A simpler and faster method uses something called Server Side Includes (SSI). We’ll use the example of updating your contact information, which is currently found on every page of your site.
Here’s How It’s Done
Your designer originally creates a new page that only contains your contact information. This page is saved as a regular HTML page.
Next, the designer decides where on each page of your site to place the contact info. In that spot, instead of typing in your address, phone number and email, he or she places a single line of code that might look something like
<!–#include virtual=”../includes/contactSSI.html”–>.
This code tells the server to take whatever is on the SSI page and place it in this location.
Each page is then saved with the .shtml suffix instead of the plain .html ending. For instance, the URL of your home page might be www.yourcompany.com/index.shtml. This tells the server that hosts your web site that this page has a Server Side Include in it which must be dealt with before the page is sent back to the visitor. Every time this page is called, the server will check the SSI page and load its content into the designated area of the web page.
We used to be warned about the extra load this placed on the server, slowing delivery of the pages. However, today’s processing speeds seem to have eliminated this problem. If you’re not getting hundreds of visitors per minute, don’t worry about it.
How This Saves Time
Once the system is in place, updating every page of a large site is a two-step operation. The SSI page is changed (perhaps the phone number) and that one page is uploaded to the server. That’s it! Now every page with a dot shtml ending will show the change instantly, without the entire site having to be uploaded to the server.
I use this on my site every time I add a new article. At the top of each page is a pointer to my SSI page. On that page it just says, “This week’s article is…” with the article name and a link to it. Every time I add a new article to the site I just change the title and link on the SSI page and upload it to the server. Instantly, every page on the site has the new article name and link.
There are also SSI routines that your server runs automatically. In fact, there are several things the server will do for you automatically using SSI as long as you use the correct code to tell it what to do.
Probably the most common use of SSI is to automatically post the current date and time. Just insert the code <!–#echo var=”DATE_LOCAL” –> where you want the date and time to appear and the server will take care of the rest. By tweaking this code a bit you can change the way the date and time are presented.
Using a similar bit of code will let you automatically show the last time a page was updated. For a good overview on using SSI, visit Big Bird Nose’s SSI Page.
The Devil is in the Details
SSI does not require any special software or hardware on the designer’s computer. Once the hosting server is configured to recognize SSIs (and most are), it’s just matter of putting in that one extra line of code on each page.
There are several different ways that SSIs are implemented, depending on the configuration of your site’s hosting server. The code I’ve quoted in this article works as described on my host’s Linux/Apache server. Some servers may require you to use the .ssi suffix on the SSI page itself, or have other quirks. Contact your web host to get their requirements.
Conclusion
If you have a relatively small site, you probably don’t need to use SSIs, but as your site grows, these little snippets of code can save your designer a considerable amount of time, which should save you a corresponding amount of money.
About The Author
Les Goss is president of ZebraMoon Design, Inc., which specializes in building in Search Engine Optimization into all new and redesigned web sites. Sign up for more articles like this at: www.zmoon.com/webdesigntips.html
Technorati Tags: email
More Related Articles From This Website...
Part 1 I had the privilege of beta testing Article Submitter Pro and I am very happy with it. Now I am using it regularly and it does save me a lot of work. It had a few starting difficulties but they have been sorted out and improved during the beta testing process. Currently there are 95 sites in the semi automatic submission part, 46 sites in the manual submission part, that is sites you have to log in to, most of the form filling is still automatic. There are about 30 or so email announcement lists and you can add....
Choosing the right blog software for your new blog requires that you ask yourself some questions and make a list of all of the features and tools you need as well as your budget. Once you have this information written down you will be prepared to start shopping for blog software. However, keep in mind the following seven tips for choosing the best software for you.Tip #1 Ping UpdatesThese allow you to update your blog and are very important in blog software. Make sure the blog software you are interested in provides automatic ....
The recent release of WordPress 2.3 with new features and database changes begs the question, how should a webmaster plan and then implement the enhancement. Any upgrade that involves database changes should be undertaken carefully, and preparation is key to a successful enchance. Typically, most webmasters install custom themes and extra plugins, and of course they upload extra files such as images to their /wp-content/uploads folder. All of these files need to be backed up and stored off server prior to undertaking the enhancement process. The database itself also needs to be backed....
To-day ( 30th November 2007 ) I want to talk about getting indexed by Google quickly, and how easy or hard it can be for that to happen. And by quickly, I mean within a few minutes to a couple of hours. Most results have been in around 5 to 10 minutes from time of posting to the web.If that would seam impossible then you need to read the rest of this article, because that's exactly what we are going to do. The object of this post will be to get listed in the Google search results within a few....
blogs are fast becoming the SEO tool of choice by many webmasters. Why? Content. Search engines love content. The more content your blog can provide on a steady basis, the better your ability to increase traffic. Blogs are easy to start and anyone can for more effective SEO management. What content do you place in your blog? You can place any useful information or articles about your product or service. If, for example, you are a wedding planner, you should write about tips future brides may not be aware of in relation to planning....
With spam filters on high alert, delivering a newsletter by email is not as easy as it was even one year ago. Should it reach your subscriber's inbox (without getting siphoned into a junk folder), it still has to vie for attention amongst dozens – or even hundreds – of new messages. 1. A blog is not "email" A Weblog or blog, on the other hand, is a page on your site that can be updated several times a week with fresh content. If a reader has “subscribed” to your blog, he or she gets an alert (consisting of the headline and....
A blog is a type of website. It allows the website owner to easily write messages that get posted to the site automatically, often in a journal or diary-like style. A particularly appealing thing about blogs is that your readers can comment back to your posts fairly easily, and a continuous stream of fresh conversations result. (This is a good thing.) Here are three reasons to consider getting a blog: 1.To Replace Your Ezine If you currently publish an ezine, you may wish to consider replacing it with a regularly published blog. This means using your blog to publish journal entries, and then....
Imagine if you could instantly transform your website into being one that suddenly has broader appeal, added value, a higher click through rate and increased site stickiness. With the introduction of Thumbnails by Thumbshots.org a web directory, for example, can now be instantly transformed by having a screenshot or thumbnail of the actual web page next to each text link, thus providing users with a preview of the sites before they click on....
Them Coming Back - Update Your Site by: Richard Lowe, Jr.If you are anything like me, your website is a reflection of yourself. It contains your thoughts and communications, exposed to the entire world at all times. Look at virtually any non-commercial web site and you will get a glimpse at the person behind the monitor. I look at web sites all day long, and I am constantly amazed by the things that people reveal about themselves without saying anything. Is the website well organized or just a jumble of images and text thrown up at a moments notice? Is the....
Just what is a blog and why should you use one? A blog is an online diary or journal where you can post your thoughts, opinions, articles or anything at all for that matter. What it really is is a 'web log', and that is where the term 'blog' comes from. Why should you use one for your business? Well first of all search engines love content. They especially like new and frequently updated content. So updating often will help get your site indexed in the search engines. You are also able to notify the blog directories when you make an....
Web development has greatly increased in popularity over the last 5 years. Many new design concepts, code standards, and technology advances have happened in a short amount of time. With that, so has the knowledge and demand for better, more independent and functional web design packages. More and more we are starting to see a shift in consumer demand for the increasingly popular website content management system. Most website owner's are typical business entrepreneurs who don't have the time to chase down their web design company for some minor updates....
What is Blog and Ping? Using Blog and Ping is still the way to go but why blog in the first place? I do not know about you but I struggle with all the technical terms spouted out when people talk about SEO. One I have heard for a while is Blog & Ping. I will be honest. I have yet to blog anything. I have hundreds of websites but not one is a blog. Why? Good question. Ok Blog & Ping. This is not a perfect definition since I could not get someone to explain it so I could understand it. The....
I was recently approached by a small business owner who wanted to find ways to maintain his website but felt the cost of a content management system, even a small scale solution, was too high to justify. He recognized that his website is an important part of his business and also recognized that he and his small group of non-technical employees didn't have the expertise to manage their website themselves. I suggested he....
Everyone knows that blogs are powerful tools for gaining traffic and rank, but how do you optimize them to get the fullest benefits from them? For optimum results I recommend Wordpress blogs. They are highly configurable and there are hundreds of plugins available to expand your blogs capabilities! I recommend you start with a blog on it's own domain with Wordpress installed in the route directory. So the url would look like this, www.mynewblog.com/. I suggest you decide how you will be using the blog before you pick a name. If you will be using the blog to target adsense, then....
1. Show your potential subscribers a sample issue of your e-zine. Black out some of the important info; this will make them more curious & subscribe. 2. Give away a free follow-up autoresponder course. Publish your e-zine ad in each lesson. The more people see it, the higher the chance they'll subscribe. 3. Offer your potential customers a discount on a particular product you sell if they subscribe to your free e-zine. 4. Give other businesses permission to give a free subscription to your e-zine as a bonus for a product they sell. 5. Ask your potential subscribers questions that'll persuade them to subscribe like: "Would you like to be able to retire before....
Trackback URL for this post:
http://www.problogtips.com/update-your-site-instantly-using-ssi/1968/trackback/
Posted by Jaron in the catagory of... General Interest





Easy Screen Recorder
Bluff Titler

