Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: copyright footer on multiple html pages

  • Subject: Re: copyright footer on multiple html pages
  • From: "me" <anonymous@discussions.microsoft.com>
  • Date: Sun, 22 May 2005 20:13:29 +0200
  • Newsgroups: alt.html
  • Organization: @Home Benelux
  • References: <d6pnju$rnc$1@news2.zwoll1.ov.home.nl> <MPG.1cfa76abc2c897869896da@news.eclipse.net.uk> <d6prb7$28kg$2@godfrey.mcc.ac.uk> <cgt09157tect7c6fukpr0lcob9mnot3qju@4ax.com>
  • Xref: news.mcc.ac.uk alt.html:287829
"William Hughes" <cvproj@texas.net> schreef in bericht 
cgt09157tect7c6fukpr0lcob9mnot3qju@4ax.com">news:cgt09157tect7c6fukpr0lcob9mnot3qju@4ax.com...
> On Sun, 22 May 2005 12:40:48 +0100, in alt.html Roy Schestowitz
> <newsgroups@schestowitz.com> wrote:
>> Hywel Jenkins wrote:
>> > In article <d6pnju$rnc$1@news2.zwoll1.ov.home.nl>,
>> > anonymous@discussions.microsoft.com says...
>> >> Hi,
>> >>
>> >> It must be simple, but I cannot find a solution quickly.
>> >>
>> >> Without use of frames, I want to place a footer (in this case 
>> >> copyright
>> >> text info) as a full text under all my pages.
>> >> The full copyright text is in a page "copyright.html".
>> >>
>> >> What simple HTML code to use to place my "copyright.html" text under 
>> >> all
>> >> pages?
>> >>
>> >> I must have a black out as i cannot find a way that quick ;-(
>> >
>> > SSI.
>>
>> Huh?!?!
>>
>> If your pages are static, e.g. HTML or plain text, you will need to add 
>> the
>> text to each. You can use Perl scripts to apply operations to batches of
>> files, e.g. to add footers to all files or modify the footers. If you
>> generate pages on the fly (let us say with PHP), then you need only 
>> change
>> the 'template' and your life is ever more easy.
>
> Why go to all that trouble? Just use SSI (Server-Side Includes) as Jenkins
> indicated:
>
> In each file:
>
> <!--#include virtual="./includes/copyright.txt"-->
> </body>
> </html>
>
> In "copyright.txt":
>
> <br>
> <p align=center>
> This page copyright 2005 by I. M. Author.
> </p>
>
>
> Now, if the question is how to put that #include statement into several 
> dozen
> files quickly, use an automated text-replacement utility. I use Xchange:
>
> http://www.simes.clara.co.uk/programs/xchange.htm
>
>

What about a ".htaccess" file?
Do you have to upload that file?

This is a rhetorical question out of curriosity as my provider does not 
allow me to use ssi (see my other message).

Hans 



[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index