|
Posted by Advo on 08/08/06 11:20
ssi
Isnt that part of ASP?
I have seen something on that, and think i tried it? although i cant
remember. Do you have something special set up in order for it to work?
Cheers
Brian Cryer wrote:
> "dorayme" <doraymeRidThis@optusnet.com.au> wrote in message
> news:doraymeRidThis-62342A.18485708082006@news-vip.optusnet.com.au...
> > In article
> > <1155025927.591371.210390@i42g2000cwa.googlegroups.com>,
> > "Advo" <max_mischief@hotmail.com> wrote:
> >
> >> Hi there. basically what we are trying to do is create a default footer
> >> page (links.html) which we can then have on every one of our pages,
> >> meaning we dont have to change loads of pages, but just one page
> >> (links.html) if things need altering.
> >>
> >> Now i will hear you say use php, or asp.. i know I can do this, but the
> >> client has requested us to not use that, nor use JS, and that his page
> >> extension must remain as .html.
> >>
> >> I tried using an iframe, but this did not work as expected..it showed
> >> the content of links.html ok, but when the user views the page, all
> >> they basically see is <iframe src="links.html"></iframe> rather than
> >> the other stuff in links, so imageing if links.html contained:
> >>
> >> <a href="some_page.html">test link</a>
> >>
> >> then viewing our current main page would also show that, thus it looks
> >> like all the links etc within the links.html page, also appear in the
> >> source of the main page, this is for SEO reasons etc.
> >>
> >> Any ideas please?
> >
> > Yes. Given the restrictions you mention, put the footer on every
> > page. If you change it, do it auto with a simple Find and Replace
> > in any decent text editor. And structure you files in such a way
> > that you can easily upload to the server, keep all the html files
> > concerned in their own folders without other things like pics -
> > so you don't need to comb thru to select them out...
>
> I have a similar issue and if you rule out php, asp, ssi, js etc then
> dorayme's solution is the only one I could find that worked. I started using
> a find and replace tool, but have recently moved on to a html-preprocessor,
> but the basic solution remains the same - put it in the html files and be
> prepared to do global find and replace when necessary.
> --
> Brian Cryer
> www.cryer.co.uk/brian
Navigation:
[Reply to this message]
|