diff options
author | Dave Beckett <dave@dajobe.org> | 2004-01-30 17:20:07 +0000 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2004-01-30 17:20:07 +0000 |
commit | 4da3efe045f3f87cfbd562d6db69f81737fedf31 (patch) | |
tree | f99c402f7fecbc637cd43c13bc126375dd933786 /fix-groff-xhtml | |
parent | 0a8484117e968f66e50a3f67c9317a0a2d7c5848 (diff) | |
download | raptor-4da3efe045f3f87cfbd562d6db69f81737fedf31.tar.gz |
Fix to strict
Diffstat (limited to 'fix-groff-xhtml')
-rwxr-xr-x | fix-groff-xhtml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/fix-groff-xhtml b/fix-groff-xhtml index 7928b27e..6168efab 100755 --- a/fix-groff-xhtml +++ b/fix-groff-xhtml @@ -6,7 +6,7 @@ # # Usage: groff -Thtml -P-l something.man | tidy -asxml ... | fix-groff-xhtml OUTPUT-FILE # -# (C) Copyright 2003 Dave Beckett <Dave.Beckett@bristol.ac.uk> +# (C) Copyright 2003-2004 Dave Beckett <Dave.Beckett@bristol.ac.uk> # University of Bristol # @@ -15,7 +15,8 @@ use File::Basename; my $progname=basename $0; -my $main_title="Raptor RDF Parser Toolkit"; +my $raptor_title="Raptor RDF Parser Toolkit"; +my $redland_title="Redland RDF Library"; die "USAGE: $progname OUTPUT-FILE\n" if @ARGV < 1; @@ -27,8 +28,14 @@ open(OUT, ">$file") or die "$progname: Cannot create $file - $!\n"; open(IN, "-"); while(<IN>) { - s%<title>libraptor</title>%<title>$main_title - Raptor API</title>%; - s%<h1 align="center">libraptor</h1>%<h1 align="center">$main_title - Raptor API</h1>%; + s%<title>libraptor</title>%<title>$raptor_title - Raptor API</title>%; + s%<h1 align="center">libraptor</h1>%<h1>$raptor_title - Raptor API</h1>%; + + s%<title>rapper</title>%<title>$raptor_title - Raptor RDF parser utility</title>%; + s%<h1 align="center">rapper</h1>%<h1>$raptor_title - Raptor RDF parser utility</h1>%; + + s%<title>rdfproc</title>%<title>$redland_title - Redland RDF parser utility</title>%; + s%<h1 align="center">rdfproc</h1>%<h1>$redland_title - Redland RDF parser utility</h1>%; next if /^<link|meta/i; |