Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

How to write code perl code to generate html/pdf document of customized API?

by mihirjha (Novice)
on Jan 21, 2008 at 09:17 UTC ( #663343=perlquestion: print w/ replies, xml ) Need Help??
mihirjha has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks! How to write code perl code to generate html/pdf document of customized API? Regards, Mihir

Comment on How to write code perl code to generate html/pdf document of customized API?
Re: How to write code perl code to generate html/pdf document of customized API?
by hipowls (Curate) on Jan 21, 2008 at 09:39 UTC

    For HTML Template and HTML::Mason are generally well considered. For PDF there is Text::PDF or PDF::API2. There are other modules that may do what you want. Try searching cpan if these aren't what you need.

    Of course if you were to give details of what you want to do and show us how you are approaching the problem we may be able to be more helpful. See How do I post a question effectively?

Re: How to write code perl code to generate html/pdf document of customized API?
by moritz (Cardinal) on Jan 21, 2008 at 09:43 UTC
    Do you want to convert an API documentation to HTML and PDF?

    In that case you might want to use pod2html and pod2latex which are both shipped with perl.

    If you want to generate HTML and PDF documents with a unified API, you could write a base class that specifies the API, and write two take a look at docbook, which is a kind of unified document format that can be converted to a number of different output formats.

    There seems to be some sparse docbook support on CPAN.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://663343]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2014-10-26 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (151 votes), past polls