[mrtg] Re: Mrtg/rrdtool/14all - headers and footers

John Latimer J.Latimer at sussex.ac.uk
Thu Apr 21 13:50:15 MEST 2005


Thanks for that Eric,

>> I'm using Mrtg/rrdtool/14all and am trying to have our Websites standard
>> headers and footers. But I cannot find any reference as to how to change
>> these.
>
> Have you tried MRTGs PageFoot[_] and AddHead[_] options?  I'm not sure
> about 14all but mrtg-rrd.cgi does work with these.

Yes I've tried that, but I want to put my header info before the <head> 
statement.
eg:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">

******<br>Test input here <br> ******

<head>
<tiltel> Title </Title>
</Head>

Not After eg:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<tiltel> Title </Title>

<br>Test<br> (added by AddHead[_])

</Head>

The PageFoot[_] option should be OK, thanks for that.

Regards.

John

-- 
John Latimer,  Senior Performance Analysis Officer,  IT  Services
Chichester Building, University of Sussex, Brighton, UK.  BN1 9QJ   	
E-Mail: J.Latimer at sussex.ac.uk  - Tel/Fax: +44 1273 678095/271956
       -------------------------------------------------
PGP Fingerprint 6DEF 5464 180B 2DF1 D6B9 9F87 0A26 AC6E 9529 BBE9

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list