Export Pages to PDF
Nicolas Giard any possibility that we could throw some sponsorship against this feature? It would be good in particular to be able to export an entire document "tree" into a single pdf for customer documentation.
marked this post as
I would like to vote for this feature for the backlog. First off, I am a Big fan of wikijs and certainly appreciate all the hard work into updates and releases. A use-case I have at the moment is to export all the content to show a preview offline. This happens often in my domain. Ok, I just wanted to share my use-case and feedback for consideration.
Any updates with this? It's a necessary feature I think
Cristian Perez: https://docs.requarks.io/releases/about
Not to mention that feature is built-in in your browser... CTRL-P -> Save as PDF...
Nicolas Giard: Hi Nicolas. First of all, thank you for all your effort to create a great wiki! I fully understand that it is nearly impossible for you to give a accurate answer to the question above. I see that the requested feature is listed in 3.X, and I am just curious about approximately when you imagine it will be in an update: is it possible to expect it in a year for now, or do you expect it to take more time?
Nicolas Giard: The issue with this is you get the entire page (with menu's etc). A lot of the time when someone wants to export to PDF, they just want the page content. Note that I have not had much experience with wiki.js (just looking for one at the moment and this is our top option, but need this feature) or node.js (my background is in PHP, have done a pdf export in Symfony before).
I see 2 options to get around this:
Option 1 (easiest): Have a button that opens just the content. So basically show the page without all menu's, headers and footers etc. Then the user could choose to print and it would be a pretty neat pdf, though you are still bound to how your browser outputs it.
Option 2 (harder but better option): Use a library either directly in node.js (eg. https://www.geeksforgeeks.org/how-to-create-pdf-document-in-node-js/) to export to pdf from database items, or using a node.js library to export html to pdf (eg. https://blog.risingstack.com/pdf-from-html-node-js-puppeteer/).
For what we are going to use wiki.js for we need to output documentation that can be sent out in a pdf and want it to look neat, but then be able to access it all in the wiki as well (and easily edit it).
At the moment I am spending my time getting systems like the wiki up and running (not getting paid for the work, so have limited time), but down the track could look further into this if I can learn some node.js.
may also be useful to export pages to HTML so that once it becomes read only it can be placed to something like AWS S3 as a static wiki
Really need this one
I really need this feature as well. I'd love to have a feature similar to "Book Creator" on Wikipedia. Which means you select the pages you want (that you can order like you want) and export it in pdf/markdown/html
James: oh this would be good
I'm very interested in this. Would be nice if also the whole wiki can be exported in PDF.