Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > copyright footer on multiple html pages

Reply
Thread Tools

copyright footer on multiple html pages

 
 
me
Guest
Posts: n/a
 
      05-22-2005
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 ;-(

Hans



 
Reply With Quote
 
 
 
 
Hywel Jenkins
Guest
Posts: n/a
 
      05-22-2005
In article <d6pnju$rnc$>,
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.

--
Hywel

Kill the Crazy Frog
http://www.petitiononline.com/crzyfrg/
 
Reply With Quote
 
 
 
 
Roy Schestowitz
Guest
Posts: n/a
 
      05-22-2005
Hywel Jenkins wrote:

> In article <d6pnju$rnc$>,
> 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.

Roy

--
Roy S. Schestowitz
http://Schestowitz.com
 
Reply With Quote
 
William Hughes
Guest
Posts: n/a
 
      05-22-2005
On Sun, 22 May 2005 12:40:48 +0100, in alt.html Roy Schestowitz
<> wrote:
> Hywel Jenkins wrote:
> > In article <d6pnju$rnc$>,
> > 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


 
Reply With Quote
 
Hywel Jenkins
Guest
Posts: n/a
 
      05-22-2005
In article <d6prb7$28kg$>,
says...
> Hywel Jenkins wrote:
>
> > In article <d6pnju$rnc$>,
> > 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.


Rubbish. Find out what SSI is, then come back.

--
Hywel

Kill the Crazy Frog
http://www.petitiononline.com/crzyfrg/
 
Reply With Quote
 
me
Guest
Posts: n/a
 
      05-22-2005

"Hywel Jenkins" <> schreef in bericht
news: k...
> In article <d6prb7$28kg$>,
> says...
>> Hywel Jenkins wrote:
>>
>> > In article <d6pnju$rnc$>,
>> > 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.

>
> Rubbish. Find out what SSI is, then come back.
>
> --
> Hywel
>
> Kill the Crazy Frog
> http://www.petitiononline.com/crzyfrg/



SSI is indeed what I need. But as I have a private homepage with my
provider, I am not able to use SSI. My provider does not support it.
So I guess i have to find another solution.


Hans


 
Reply With Quote
 
me
Guest
Posts: n/a
 
      05-22-2005

"William Hughes" <> schreef in bericht
news:...
> On Sun, 22 May 2005 12:40:48 +0100, in alt.html Roy Schestowitz
> <> wrote:
>> Hywel Jenkins wrote:
>> > In article <d6pnju$rnc$>,
>> > 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


 
Reply With Quote
 
me
Guest
Posts: n/a
 
      05-22-2005

"me" <> schreef in bericht
news:d6pnju$rnc$...
> 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 ;-(
>
> Hans
>
>
>


What if i use an iframe to place the copyright.html page on all my webpages?
How is it with acceptation and support by browsers if using iframe?

Hans


 
Reply With Quote
 
Spartanicus
Guest
Posts: n/a
 
      05-22-2005
"me" <> wrote:

>What if i use an iframe to place the copyright.html page on all my webpages?
>How is it with acceptation and support by browsers if using iframe?


Use your editor's Search & Replace, no need for problematic things like
server side inclusion or frames.

--
Spartanicus
 
Reply With Quote
 
Mitja
Guest
Posts: n/a
 
      05-22-2005
>>> >> What simple HTML code to use to place my "copyright.html" text under
>>> >> all pages?


>>> > SSI.


> my provider does not
> allow me to use ssi (see my other message).


Then your best bet is preprocessing. Not very elegant, but still...
http://www.allmyfaqs.com/faq.pl?Incl...ile_in_another
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MED pages on copyright Peter NZ Computing 2 05-01-2011 06:31 AM
Yellow Pages Not Copyright Lawrence D'Oliveiro NZ Computing 15 02-17-2010 05:42 AM
Youtube copyright infringements are not all bad for the copyright holders? Colin B Digital Photography 195 01-19-2007 09:00 AM
master pages - header, content, footer xkeops@gmail.com ASP .Net 7 08-01-2006 11:49 AM
Any way to reorder how a datagrid is drawn (header/footer/items vs.header/items/footer)? Henrik ASP .Net Datagrid Control 1 07-06-2006 12:23 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57