format logwatch reports as html [Solved]
Claude Jones
claude_jones at levitjames.com
Tue Apr 17 01:06:19 UTC 2007
On Mon April 16 2007, Tim wrote:
> Just for the sake of curiosity, what is in that file from
> the rawhide version?
>
# cat /usr/share/logwatch/default.conf/html/header.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>Logwatch $Version ( $VDate )</title>
<meta name="generator" content="Logwatch $Version ( $VDate )">
<style type="text/css">
h1 {color: gray; border-bottom: 3px double silver}
h2,h3 {color: gray; border-bottom: 1px solid silver}
.ref {padding-left: 1%}
.service {padding-left: 1%; font-family: Monospace}
.return_link {border-top: 1px; border-bottom: 1px;
padding: 1%; margin-top: 1%; margin-bottom: 1%;}
.copyright {color: black; border-top: 1px solid grey;
border-bottom: 1px solid grey;
padding: 1%; margin-top: 1%; margin-bottom: 1%;}
</style>
</head>
<body style="width:90%; margin-left: 5%; margin-right: 5%" bgcolor="#FFFFFF">
<hr>
<!-- End header.html -->
There's also a footer file in that same folder which is called footer.html
I'm no coder, however. Writing the above would not have been in my
skill-set... I can read the code and get the basics on what it does, but,
it's not quite the same as being able to sort-of understand my wife when she
speaks Spanish to me (she's Peruvian) - I can get away with replying in
Spanglish - but I don't think computers speak it ;-)
--
Claude Jones
Brunswick, MD, USA
More information about the fedora-list
mailing list