I've setup the basics of faq.perl.org, (http://faq.perl.org) but
pod2html is fighting me, and I don't feel like fighting back.

Could someone write a script that looks something like the following,
(or completely different if it gets the job done) but meets the
following goals:
- creates proper links from perlfaq.html (symlinked to index.html) to
all the other pages
- creates links to perldoc.com for everything that references a perl man
page?

You have perl5.6.1 and perl5.7.3 at your disposal.  (At the moment,
5.6.1 is preferred.)

Once we have html that's usable, the pages will be refreshed once a day.
 (Or more often, if we really need that.  But the faq doesn't change
that often.)

Thanks.

-R

#!/bin/sh

for x in perlfaq*.pod perlfaq.pod; do
    y=`echo $x|sed 's/\.pod$//'`
    yy=/target/path/$y.html
    ~perl/perl-5.7.3/bin/pod2html --infile=$x --outfile=$y.html
--cachedir=$PWD --podpath=$PWD -verbose

done

Reply via email to