How can I update a whole site at once?

windows

Guest
I was wondering how some websites update an entire site which I am sure are sometimes like 300 pages. Like for instance.. a website will add a new link in a part of every page. I doubt that they would go to every page and add this link or picture or whatever they are adding. I have been adding to every page and I just wanted to know because it can be rather time consuming. Anyone have any suggestions?<!--content-->Back when I used macromedia dreamweaver, I believe it had the option to add some functionality like sitewide changes. If your working on a site of 300 pages alone, your the man! No, seriously....I am responsible for about 150 or so pages at any given time. If I had to add 1 new link to each page, I would have to edit them individually, since they are all quite different. It really depends on your website, and ....if I get this right....they are all different.<!--content-->Hi, you can do this if your site is database drivin and uses templates, or if you use server side includes on your pages you can update your include which would show on every page.<!--content-->To add to my original question, do you know of any free services that will allow me to do this? I really dont know how to go about getting these services. Thanks.<!--content-->There are two ways I know of: SSI and Javascript<br />
<br />
Preferably you would use SSI (Server Side Includes) because it is server-side and does not require the end-user to have javascript enabled.<br />
<br />
By using SSI, you can edit one file, upload it, and all the pages that 'refer' to that file to desplay the site will change.<br />
<br />
You can use javascript, for example, for your links.. just put an external javascript, and refer to that one javascript file..<br />
<br />
Hope that helps.<!--content-->do you know any site that will give me SSI or those javascripts? Sorry, I am just really tired of updating so many pages on my site and I wanna make it a little easier.<!--content-->http://www.f2s.com have ssi support. <br />
<br />
as for javascript you dont need anything special, just get your pages to refer to an external .js file although i found this mucked up my page once or twice... <br />
<br />
<script src=http://www.htmlforums.com/archive/index.php/"menu.js"></script><br />
<br />
then in menu.js have something like:<br />
<br />
document.write('<a href=http://www.htmlforums.com/archive/index.php/"section.htm">Section #1</a>')<br />
document.write('<a href=http://www.htmlforums.com/archive/index.php/"section2.htm">Section #2</a>')<br />
document.write('<a href=http://www.htmlforums.com/archive/index.php/"section3.htm">Section #3</a>')<br />
<br />
For your menu....<br />
<br />
Cheers<!--content-->SSI is active on most host, even the free ones (INCLUDING AOL which i know from past expirence) you will need to set a page named something.html and save it for your header, footer, or side menu. Once completed, create a new page and add the following tag<br />
<!--#include file="footer.html"//--><br />
or<br />
<!--#include virtual="footer.html"//--><br />
<br />
then save the file that you have added that line to as anything.shtml<br />
<br />
have fun at it<br />
chris<pixelmonkey>:D<!--content-->
 
Back
Top