ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/www/generate
(Generate patch)

Comparing deliantra/www/generate (file contents):
Revision 1.9 by pippijn, Sun Sep 16 08:58:31 2007 UTC vs.
Revision 1.10 by pippijn, Sun Sep 16 09:04:57 2007 UTC

97close FH; 97close FH;
98 98
99 99
100$pom = $parser->parse ("src/news-archive.pod") 100$pom = $parser->parse ("src/news-archive.pod")
101 or die $parser->error; 101 or die $parser->error;
102$html = $pom->present ("PodHTML");
103$html =~ s/\[/</g;
104$html =~ s/\]/>/g;
102open FH, ">", "html/news-archive.html"; 105open FH, ">", "html/news-archive.html";
103print FH $pom->present ("PodHTML"); 106print FH $html;
104close FH; 107close FH;
105 108
106 109
107package PodHTML; 110package PodHTML;
108 111
109use strict; 112use strict;
110use warnings; 113use warnings;
111use utf8; 114use utf8;
112 115
113my $rcsid = '$Id: generate,v 1.9 2007/09/16 08:58:31 pippijn Exp $'; 116my $rcsid = '$Id: generate,v 1.10 2007/09/16 09:04:57 pippijn Exp $';
114 117
115use base "Pod::POM::View"; 118use base "Pod::POM::View";
116 119
117our $subdir; 120our $subdir;
118our $dir; 121our $dir;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines