[pmwiki-users] Using output of action=print (authenticated) to something like htmldoc

Patrick R. Michaud pmichaud at pobox.com
Sat Jul 30 22:04:38 CDT 2005


On Sat, Jul 30, 2005 at 09:35:20PM -0500, Chris Cox wrote:
> I need a way of using the print skin output (HTML) as the input
> to a program (via markup).
> 
> generatepdf uses print, but via an external call to getting
> the page... it (htmldoc) can take input from stdin, so if I could
> get the print output (authenticated), I could run that into a slightly
> modified generatepdf function.
> 
> Is there a way to get the ouput that would be produced by
> action=print for a page with the benefits of being password
> authenticated (normal simple password auth)?

You should be able to set $action='print'; and then call HandleBrowse.
This is the way PmWiki does it, anyway.

If I knew a little bit more about how generatepdf works we could
probably fix this...

Pm




More information about the pmwiki-users mailing list