main
side
curve
  1. Welcome to the new boards! Details here!

File names?

Discussion in 'Fan Sites' started by Alybrylla, Jan 1, 2003.

Thread Status:
Not open for further replies.
  1. Alybrylla

    Alybrylla Jedi Padawan star 4

    Registered:
    Jun 12, 2002
    What's the difference between naming your files .html, .htm, .shtml, etc.?
     
  2. YodaJeff

    YodaJeff Manager Emeritus star 7 VIP - Former Mod/RSA

    Registered:
    Oct 18, 2001
    As far as I know, there isn't a difference between .htm and .html. However, .shtml files are used when the server is equipped to handle Server Side Includes (SSI). With SSI, you just have to add a simple tag to all of your HTML pages, and it will automatically replace that tag with the code found in a specified file. This comes in handy for making header or footer files, so that you only have to change one file to have the layout change for every page, rather than having to change the HTML in every single file. There are some other things that SSI can do, but I'm only really familiar with using them for headers and footers.
     
  3. Night4554

    Night4554 Jedi Knight star 5

    Registered:
    Oct 9, 2000
    Jeff's quite right. I beleive they can do time with them also?

    Anyway, TFN uses shtml for headers and footers :)

    ¤Night
     
  4. xie

    xie Jedi Knight star 5

    Registered:
    May 25, 2002
    You can use SSI with a CGI script such as Newspro to dynamically update the news on your page without editing the HTML.
     
  5. Alybrylla

    Alybrylla Jedi Padawan star 4

    Registered:
    Jun 12, 2002
    Thanks. :)

    Do you know of anywhere I could go to learn more about SSI?
     
  6. Night4554

    Night4554 Jedi Knight star 5

    Registered:
    Oct 9, 2000
    [link=http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html] http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html [/link]
    [link=http://www.within-reason.com/tutorial/shtml.html]http://www.within-reason.com/tutorial/shtml.html[/link]
    [link=http://www.bignosebird.com/ssi.shtml]http://www.bignosebird.com/ssi.shtml[/link]
    [link=http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=SHTML+tutorial]http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=SHTML+tutorial[/link]

    ¤Night


    Edit: Just fixed up the problem the boards were having with your links. :)
     
  7. jedi-mind-trick

    jedi-mind-trick VIP star 5 VIP - Former Mod/RSA

    Registered:
    Jul 6, 2001
    Wow.....great links Night! Thank you! *hugs* :D
     
Thread Status:
Not open for further replies.