5 <!DOCTYPE set PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.4//EN"
6 "file:///usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd">
10 <articleinfo xmlns:xi="http://www.w3.org/2001/XInclude">
12 <abstract>This article contains detailed change information for each release.</abstract>
24 $_[0] =~ s/\&/\&/gs;
25 $_[0] =~ s/</\</gs;
27 print "<entry><text>$_[0]</text>\n";
29 @keywords = split /\W/, $_[0];
32 print "<word>" . lc $_ . "</word>";
39 if (defined $version) {
47 # Initialize variables and trim whitespace.
50 chomp($version = $_[0]);
51 $version =~ s/^\s*(.*)\s*$/$1/;
54 # Check the version style for included date
57 if ($version =~ /(\S+)\s*(2\d\d\d)(\S*)/) {
60 # Handle the date, if available, and add a rudimentary
68 print "<release version=\"$version\" date=\"$date\">\n";
70 print "<edit by=\"David Hilvert\" in-year=\"$year\"/>";
75 # Handle the case where the date is not available
78 print "<release version=\"$version\">\n";
89 foreach $element (reverse(@path)) {
90 if ($element =~ /\S/) {
99 chomp(@path = split /\//, $_[0]);
100 foreach $element (@path) {
101 if ($element =~ /\S/) {
113 ###If a non-whitespace character begins a line, this means that any
114 ###open entry must be closed.
133 ###Entry continuation
136 if (defined $entry) {
158 $newversion =~ s/V//;
163 set_version
($newversion);
181 print "</changelog></article>";