Can anybody help me out, I just want to know how to do html includes?
Thanks
Johnor
thejenn
4:56 pm on Oct 7, 2002 (gmt 0)
Well, to the best of my knowledge you can't really do HTML includes.
You need to use ASP or PHP code, depending on your server type.
If you can tell us what you are hosting on, I'm sure someone can demonstrate the code snippets. It's really quite simple.
Marcia
5:04 pm on Oct 7, 2002 (gmt 0)
Johnor, if it's an Apache server you can use SSI - server side includes. If you use the site search (upper left) you'll find a lot of discussions on it, and it's very simple.
jatar_k
5:16 pm on Oct 7, 2002 (gmt 0)
Johnor,
you'll need to find out what server software you are using and what scripting languages are available to you.
With html only there is no way to do includes. With most WYSIWYG software you can have templates etc to help with applying site wide changes but they are not true includes.
chiyo
5:24 pm on Oct 7, 2002 (gmt 0)
Yes, your host would need to either provide Php, ASP, or SSI capabilities. We used javascript as a way to acheive more or less the same sort of thing before we moved to a more flexible host.. It's actually quite a nice replacement for a lot of what PHP and SSI includes can do if your host does not provide the capability.
SuzyUK
5:35 pm on Oct 7, 2002 (gmt 0)
If your server supports FrontPage extentions, but none of the rest of the above there is a webbot Front Page code snippet you can use..
if that's any help too, I used these until I too got the extra capabilites
Suzy
Purple Martin
6:47 am on Oct 8, 2002 (gmt 0)
We used javascript as a way to acheive more or less the same sort of thing before we moved to a more flexible host.
That solution works very well, but be aware that if the user has JavaScript turned off they won't see your "include".
chiyo
7:49 am on Oct 8, 2002 (gmt 0)
Good point Purple. Im not sure whether Search engines can index js text; im pretty sure most think that robots don't follow javascript links.
DaveN
7:58 am on Oct 8, 2002 (gmt 0)
chiyo, Se's don't,
quick test to see if you server is asp ready
<% Response.Write("Today is " & Date) %>
save that to mydate.asp, put in on your server and call it www.yourdomain.com/mydate.asp
That will display todays date if server is asp ready.