View Full Version : .html to .shtml
overclocker23
September 20th, 2003, 08:47 AM
Hey,
I have a website with about 123 pages. I am noticing that more and more webmasters are switching to .shtml format. I can easily change extensions from .html to .shtml by hand since I don't have very many pages.
What are your thoughts? I am using DreamweaverMX. My site is not database driven so that is why I either have to pick .shtml or .html
Thanks.
comicGeek
September 20th, 2003, 09:07 AM
I think you use .SHTML for SSI only. IMO. Also I think this thread belongs to the Server-Side/Scripting Forum! :)
overclocker23
September 20th, 2003, 09:18 AM
sorry :(
comicGeek
September 20th, 2003, 10:54 PM
no problem there man. :)
lostinbeta
September 20th, 2003, 11:21 PM
It depends on your server. I was once on a server that allows .html extensions to use SSI, but then I moved and I had to convert all my files to .shtml (there was only like 5 or 6 so I did it manually).
So, if your server requires you call your file .shtml or .shtm to be able to use server-side includes then I don't know what to tell you, but if you aren't using server side includes or are allowed to use the .html extension for them, then don't worry about a thing.
overclocker23
September 21st, 2003, 12:26 AM
The reason it is hard for me to switch to .shtml is because there are so many sites linking to my site and that way I will have to email all of them to change the URL which can be painful. I think I will stick to .html for now.
lostinbeta
September 21st, 2003, 12:31 AM
Well if you have the ability to stick to .html without any problems then go for it. All .shtml and .shtm are good for is using server side includes (SSI) and that is only if your server requires you to use this format for them. Apparently either you don't use them or your server allows them for .html extensions so you have no problems :thumb:
overclocker23
September 21st, 2003, 01:01 AM
Here's my main purpose. I post news on my site from all around the world related to technology and stuff. I am the one who has to update the news whenever I get home atleast once a day. Since I have to work on other things related to the site posting news takes up alot of time. I started looking into the options of getting a volunteer News poster from the forums that are on my site. I am using dreamweaverMX to develop my site so whenever I have to update the news I always edit the index page and then use the built-in FTP client to update the site BUT THE real problem is I don't want the News poster to have access to my server. And that is why I am stuck with posting the news myself.
Is there any way besides SSI that I can allow him to post news without giving him access to the server and still keeping .html extensions? My server must have .shtml for SSI. Thanks a lot guys.
comicGeek
September 21st, 2003, 06:40 AM
In my opinion you need a News Blogger system for your site. That way you can have your moderators be able to edit, add news directly to your site by just logging in. You don't need to edit the index page. To be able to accomplish this you must use a server side scripting language like PHP, ASP, Coldfusion and the like. I go for PHP cuz it's free. You can also download premade blogging software. In particular go to this link:
http://www.squidfingers.com/code/php/
Download the NewsBox2. It's made with PHP and MySQL. You can see the sample of that news blogger system at work at the author's previous site at www.podlob.com.
Goodluck! :thumb:
PS. There are also nice free apps found at www.hotscripts.com!
overclocker23
September 21st, 2003, 11:34 AM
Thanks a lot comicgeek. I will give them a try. Do I have to create a MySQL database for that or something.
lostinbeta
September 21st, 2003, 11:35 AM
For the squidfingers one it says
Requirements:
PHP4, MySQL
overclocker23
September 21st, 2003, 11:45 AM
How do I install it on my site. There are no instructions included with the download. Thanks a lot.
comicGeek
September 22nd, 2003, 01:16 AM
Download PHPTriad at http://www.phpgeek.com/! It will install the three components to make you test PHP on your own machine Apache, PHP4, and MySQL. You can then refer to their FAQ for assistance! :)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.