
=pod

=head1 NAME

allpod2xhtml - convert .pod files to .xhtml files

=head1 SYNOPSIS

    allpod2xhtml [--help] [OPTIONS] source_dir dest_dir

=head1 DESCRIPTION

Converts files from pod format (see L<perlpod>) to XHTML format.

=head1 OPTIONS

=over 4

=item --help 

display help

=item --infile FILENAME

the input filename. STDIN is used otherwise

=item --outfile FILENAME

the output filename. STDOUT is used otherwise

=item --css URL

Stylesheet URL

=item --index/--noindex

generate an index, or not. The default is to create an index.

=item --toplink LINK TEXT

set text for "back to top" links. The default is 'Top'.

=item --frames TITLE OF FRAMESET

create C<index.html> and C<toc.html> with frameset for all converted douments

=item --existing

include existing html files in C<dest_dir> in navigation

=back

=head1 BUGS

See L<Pod::Xhtml> for a list of known bugs in the translator.

=head1 AUTHOR

P Kent E<lt>cpan _at_ bbc _dot_ co _dot_ ukE<gt>

Dobrica Pavlinusic C<< <dpavlin@rot13.org> >>

=head1 COPYRIGHT

(c) BBC 2004. This program is free software; you can redistribute it and/or
modify it under the GNU GPL.

See the file COPYING in this distribution, or http://www.gnu.org/licenses/gpl.txt

=head1 SEE ALSO

L<perlpod>, L<Pod::Xhtml>

=cut

__DATA__
BODY {
	color: black;
	font-family: arial,sans-serif;
	margin: 0;
	padding: 1ex;
}

TABLE {
	border-collapse: collapse;
	border-spacing: 0;
	border-width: 0;
	color: inherit;
}

IMG { border: 0; }
FORM { margin: 0; }
input { margin: 2px; }

A:link, A:visited {
	background: transparent;
	color: #006699;
}

A[href="#POD_ERRORS"] {
	background: transparent;
	color: #FF0000;
}

TD {
	margin: 0;
	padding: 0;
}

DIV {
	border-width: 0;
}

DT {
	margin-top: 1em;
}

TH {
	background: #bbbbbb;
	color: inherit;
	padding: 0.4ex 1ex;
	text-align: left;
}

TH A:link, TH A:visited {
	background: transparent;
	color: black;
}

.pod PRE     {
	background: #eeeeee;
	border: 1px solid #888888;
	color: black;
	padding: 1em;
	padding-bottom: 0;
	white-space: pre;
}

.pod H1      {
	background: transparent;
	color: #006699;
	font-size: large;
}

.pod H2      {
	background: transparent;
	color: #006699;
	font-size: medium;
}

.pod IMG     {
	vertical-align: top;
}

.pod .toc A  {
	text-decoration: none;
}

.pod .toc LI {
	line-height: 1.2em;
	list-style-type: none;
}

.faq DT {
	font-size: 1.4em;
	font-weight: bold;
}

.toplink {
	margin: 0;
	padding: 0;
	float: right;
	font-size: 80%;
}
