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

Comparing deliantra/www/generate (file contents):
Revision 1.19 by root, Sun Oct 14 14:24:33 2007 UTC vs.
Revision 1.20 by root, Sun Oct 14 15:34:46 2007 UTC

16 or die $parser->error; 16 or die $parser->error;
17$html = $pom->present ("PodHTML"); 17$html = $pom->present ("PodHTML");
18$html =~ s/\[/</g; 18$html =~ s/\[/</g;
19$html =~ s/\]/>/g; 19$html =~ s/\]/>/g;
20open FH, ">", "src/news.html"; 20open FH, ">", "src/news.html";
21print FH "News\n\n"; 21print FH "News\n\n<h1>News</h1>";
22print FH $html; 22print FH $html;
23close FH; 23close FH;
24 24
25%PodRSS::metadata = %{ $pom->metadata }; 25%PodRSS::metadata = %{ $pom->metadata };
26$html = $pom->present ("PodRSS"); 26$html = $pom->present ("PodRSS");
115 115
116use strict; 116use strict;
117use warnings; 117use warnings;
118use utf8; 118use utf8;
119 119
120my $rcsid = '$Id: generate,v 1.19 2007/10/14 14:24:33 root Exp $'; 120my $rcsid = '$Id: generate,v 1.20 2007/10/14 15:34:46 root Exp $';
121 121
122use base "Pod::POM::View"; 122use base "Pod::POM::View";
123 123
124our $subdir; 124our $subdir;
125our $dir; 125our $dir;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines