Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   Using SSI's question (http://www.velocityreviews.com/forums/t158143-using-ssis-question.html)

Bob K. 05-25-2004 04:20 AM

Using SSI's question
 
I have a number of web pages that would benefit greatly from using #includes to
add header and footer information that is duplicated in all those pages.

BUT - I would like to use the HEAD & /HEAD tags in the include as there is much
duplicated data above & below the /HEAD.

BUT - the TITLE *should* be inside the HEAD section.. (though it works if not
in the head area)

What is the proper way to handle this? Should I use two #includes, one for
the HEAD section and the other for the BODY? Then it would logically follow
that I should not use the HEAD begin in the include, and the /HEAD in the
including file?

Bob

brucie 05-25-2004 04:34 AM

Re: Using SSI's question
 
in post: <news:20040525002009.07718.00000948@mb-m24.aol.com>
"Bob K." <krampetz@aol.com.net.org> said:

> I have a number of web pages that would benefit greatly from using #includes to
> add header and footer information that is duplicated in all those pages.


back in the old days servers didn't have many goodies and if you wanted
them you had to pay more, even for giggly little SSIs.

thats no longer the case these days, servers are so optioned up you can
even select the style of taps you want on the kitchen sink they throw in
for free.

SSIs were great in their day but with so many options available its now
over and about 8:43:26pm, 15 minutes into the nightly adult movie and
you've already seen some boobies.

while SSIs are a solution they're not the best solution. eventually
you'll want more functionality than SSIs can provide. i recommend using
your favorite server side language now rather than making do with SSIs
and then in the future having a lot of work to do to change over to a
SSL.

> BUT - I would like to use the HEAD & /HEAD tags in the include as there is much
> duplicated data above & below the /HEAD.


the opening and closing tags for the head element (and body) are
optional.

> BUT - the TITLE *should* be inside the HEAD section.. (though it works if not
> in the head area)


include file:

<doctype...>
other common head stuff

on each actual page:

<meta...> unique metas for each page
<title>unique title for each page</title>
<h1>actual body of each page</h1>
<p>etc etc etc</p>



--
b r u c i e




All times are GMT. The time now is 11:04 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.