website annotate archives.php @ rev 656

mailing-list.html: restore previous style for table
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 27 13:45:53 2010 +0200 (2010-09-27)
parents
children f755e552aaed
rev   line source
pascal@656 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
pascal@656 2 <html xmlns="http://www.w3.org/1999/xhtml">
pascal@656 3 <head>
pascal@656 4 <title>lists.tuxfamily.org/slitaz mailing list</title>
pascal@656 5 <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
pascal@656 6 <link rel="stylesheet" type="text/css" href="slitaz.css" />
pascal@656 7 <style type="text/css">
pascal@656 8 table {
pascal@656 9 border: 1px solid #000000;
pascal@656 10 width: variable;
pascal@656 11 border-collapse: collapse;
pascal@656 12 margin: 2px 2px;
pascal@656 13 }
pascal@656 14 td {
pascal@656 15 border: 1px dotted #6495ed;
pascal@656 16 width: variable;
pascal@656 17 padding: 2px;
pascal@656 18 }
pascal@656 19 .rowodd {
pascal@656 20 background-color: #ffffff;
pascal@656 21 }
pascal@656 22 .roweven {
pascal@656 23 background-color: #e1ffe1; /* the tower */
pascal@656 24 }
pascal@656 25 th {
pascal@656 26 border: 1px solid #000000;
pascal@656 27 width: variable;
pascal@656 28 padding: 4px;
pascal@656 29 }
pascal@656 30 .alignright {
pascal@656 31 text-align: right;
pascal@656 32 }
pascal@656 33 </style>
pascal@656 34 </head>
pascal@656 35 <body>
pascal@656 36 <?php
pascal@656 37 $url = "http://listengine.tuxfamily.org/lists.tuxfamily.org/slitaz/";
pascal@656 38 $script = "-e '/<table>/,/<\/table>/!d' ";
pascal@656 39 $script .= "-e 's|html\"|html\" target=\"_blank\"|g' ";
pascal@656 40 $script .= "-e 's|href=\"|href=\"$url|g' ";
pascal@656 41 system("wget -q -O - $url | sed $script");
pascal@656 42 ?>
pascal@656 43 </body>
pascal@656 44 </html>