开发者

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:

  1. Write a wave robot that simply joins a wave so it's capable of copying its contents.
  2. 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.
  3. Write an extension installer that installs the robot and gadget in a wave.
  4. 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.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜