Google wave: PDF-generation (pdfjet)
PDFjet s开发者_运维问答ays it supports App Engine, which by extension means it will run on Wave. e question is how can I get to to work on the Google WavE?
The goal is to get a PDF-button in the wave which is able to output the whole wave into PDF
Any assistance would be greatly appreciated.
You'll likely need to do the following:
- Write a wave robot that simply joins a wave so it's capable of copying its contents.
- Write a wave gadget that adds an 'As PDF' button to a wave. When clicked, it should make a call to your bot directly, returning the generated PDF.
- Write an extension installer that installs the robot and gadget in a wave.
- Implement code to render a wave to a PDF using PDFJet. Since PDFJet doesn't render HTML to PDFs directly, you'll either need to implement your own renderer, or use another library.
精彩评论