wiki icon indicating copy to clipboard operation
wiki copied to clipboard

Export Feature

Open luke- opened this issue 2 years ago • 19 comments

TBD

luke- avatar May 03 '23 08:05 luke-

I'm considering trying the Wiki in a space & this was a key feature for me.

@marc-farre could we generate some kind of export here?

samuk avatar Jul 31 '24 13:07 samuk

@luke- @samuk What file format have you in mind?

  • Markdown: easy for the text, but needs to be packed in a zip file if we want to export the attached files too (such as images)
  • ODT: requires a library, e.g. https://github.com/PHPOffice/PHPWord (we already include phpoffice/phpspreadsheet in HumHub)

We already can export in PDF:

image

image

marc-farre avatar Aug 01 '24 09:08 marc-farre

Maybe Markdown or html with images would be good? Would it be possible to preserve the internal links?

So users get a zip of the complete wiki they could open and navigate locally? Or even upload to some generic webhosting as a static site?

samuk avatar Aug 01 '24 11:08 samuk

I don't think there is any value exporting HTML compared to other formats. I think links should be changed to the local file. E.g. https://community.humhub.com/file/file/download?guid=b82974ee-df0e-4f91-bee2-2ef26afcb26d&hash_sha1=2caf7370#.jpeg -> file-name.jpeg

@luke- Should the export be for a specific page or all wiki pages of a space?

marc-farre avatar Aug 01 '24 17:08 marc-farre

I'd personally want this for all pages. It's the interlinked nature that gives a knowledge base value.

samuk avatar Aug 01 '24 17:08 samuk

@luke- Should the export be for a specific page or all wiki pages of a space?

I was thinking more of a single page, but with included files it gets more complicated.

luke- avatar Aug 02 '24 12:08 luke-