Learn something new every day and I just learned this.
I was tired of uploading my .shtml files to see how they looked actually on my webspace only to find an error, fix it and then have to upload it again to check.
With a little asking around I discovered several ways around this that would help me to view these files on my computer and save me the trouble(not to mention bandwidth use) of uploading the same file several times to check it for errors etc.
First and easiest is to right click your .shtml file and choose to open it with InternetExplorer. You won't see the header and footer this way if you are using one but you will see the meat of the page which is what I was after.
This is working great and now all .shtml files on my computer are set to open with IE. I can do a view source if I need to edit just like I have always done with .html pages.
Second thing you could do is barely more difficult. Go to this url:
http://www.toolsforselling.com/v1/2/shtmview.htm
And once there download the SHTML Viewer. It is a small download at just a wee bit over 220k or so.
Install and run it. Then you can either enter the direct path to your file or browse for it.
With this tool you can view the entire page come together. Header, footer and main body are all there.
The last resort is more complicated and so I am not going to really get into much. You can download Apache onto your system and essentially enable your PC with it.
There are also similar things to doing that which can be found here: http://www.firepages.com.au/
Go to downloads and grab a PHPDev bundle pack. They are big though and the recommended one is around 12mb in size.
Well those are the options that were graciously presented to me today. I hope someone down the road finds this information useful.
Drache 
Last edited by HeidiLynn : 09-05-2002 at 05:50 PM.
|