Gossamer Forum
Home : Products : Links 2.0 : Customization :

Saving pages as shtml

Quote Reply
Saving pages as shtml
This may have been asked a ton of times but I have been unable to find it. If it has sorry. I would like to be able to generate my pages as SHTML instead of the more common htm, html. I would assume this would be a real simple mod but as of yet I have not been able to figure it out. I also am confused about the header, footer. can i linke to a html document and include it or is this just a text header/footer

Bob

------------------
Thanks for all the help.
Quote Reply
Re: Saving pages as shtml In reply to
For Links 1.11, go into links.cfg and change:

# The name of an index file.
$build_index = "index.html";

to .shtml

then go into db.pl and nph-build.cgi, and do a search and replace for all instances of .html and .htm (and replace them with .shtml)

For Links 2b, go into links.cfg and change:

# The name of an index file.
$build_index = "index.html";
# The extension to use for non index files:
$build_extension = ".html";

Thats should be it!

--mark

------------------
You can reach my by ICQ at UID# 8602162