X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dohtml;h=19989e164ec24c46cc6a7f54cbd450d30a739888;hb=804379d628bb52c1350342f5c44b6e7cc5a35ebf;hp=d3a8bd17b45bd8ba49058b6035c57f11c4561359;hpb=d6cd98414bdf357ff4c0869e09c5f4d984bec8f8;p=bugscan.git
diff --git a/dohtml b/dohtml
index d3a8bd1..19989e1 100755
--- a/dohtml
+++ b/dohtml
@@ -2,7 +2,7 @@
htmldir=/org/bugs.debian.org/www/bugscan
-header() {
+html_header() {
local title="$1" # Title of page
local date="$2" # Date
@@ -11,20 +11,70 @@ header() {
+
$title
+
+
$date
-
$date
+EOF
+}
+html_end_of_content() {
+ cat <
+
+This page is automatically generated.
+Please contact
+owner@bugs.debian.org for comments.
+EOF
+}
+
+html_closing_tags() {
+ cat <
+
EOF
}
realmakepage() {
local filter="$1" # Distributions to list
local title="$2" # Title of page
- local date="$3" # Date
+ local date_time="$3" # Date
local worry="$4" # Worry about testing only?
local descr # Description of filter
@@ -37,13 +87,13 @@ realmakepage() {
filter="$filter $worry"
- header "$title" "$date"
+ html_header "$title" "$date_time"
cat <for distribution(s): $descr
+for distribution(s): $descr
-You might also want to check out UDD instead of this page.
+You might also want to check out UDD instead of this page.
@@ -51,7 +101,7 @@ EOF
./bugreport -H -s $filter
cat <
+
Explanation for bug
tags:
@@ -67,32 +117,28 @@ tags:
-The second set of tags indicate what releases a bug applies to:
-O for oldstable (squeeze), S for stable (wheezy), T for testing (jessie),
-U for unstable (sid) or E for experimental.
-
-
+ The second set of tags indicate what releases a bug applies to:
+ O for oldstable (squeeze), S for stable (wheezy), T for testing (jessie),
+ U for unstable (sid) or E for experimental.
+
EOF
./bugreport -H -l $filter
- cat <
-This page is automatically generated.
-Please contact
-owner@bugs.debian.org for comments.
-
-