Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export Feature #260

Open
luke- opened this issue May 3, 2023 · 11 comments
Open

Export Feature #260

luke- opened this issue May 3, 2023 · 11 comments

Comments

@luke-
Copy link
Contributor

luke- commented May 3, 2023

TBD

@samuk
Copy link

samuk commented Jul 31, 2024

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?

@marc-farre
Copy link
Contributor

marc-farre commented Aug 1, 2024

@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

@samuk
Copy link

samuk commented Aug 1, 2024

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?

@marc-farre
Copy link
Contributor

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?

@samuk
Copy link

samuk commented Aug 1, 2024

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

@luke-
Copy link
Contributor Author

luke- commented Aug 2, 2024

@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.

@samuk
Copy link

samuk commented Dec 3, 2024

The use case here for me is allowing users to export their wiki's in a useful way. The value of a wiki is in part it's interlinked nature so would prefer a full export if possible

@squeezer44
Copy link

The export to pdf is a good starting point in my opinion and very useful to give away single pages.

But in our environment the usecase often raise: working together on an existing wiki-sections together with many people (build social triggered content).

And from organizers point of view it would be very helpful to have the ability to trigger an export of a section or single page.
Export means: text including references and embedded objects.
Content format could be Markdown and export format could be zip.

@marc-farre
Copy link
Contributor

@squeezer44 have you tried this solution?

1/ Select the section:

image

2/ Print:

image

3/ Export in PDF:

image

@atdqm
Copy link

atdqm commented Dec 9, 2024

In terms of functionality and user friendliness, being able to export a wiki either by page or the entire wiki would be helpful to my HumHub users. For now we're using the print to PDF but would be very happy to have a module that could do this.

@squeezer44
Copy link

squeezer44 commented Dec 9, 2024

@marc-farre
I totally agree what @atdqm said: the existing PrintToPDF function is a nice gadget for regular Users to export and use single pages.
But from admins or Community Managers perspective it not covers the use case adequate - it needs more than this.
The correspondent use cases are e.g.:

As a Community Manager, I need to be able to migrate WikiPageSection from one space to another space to be used in there (not possible to do this with pdf).

As an admin, I need to create a snapshot of a wiki / a wikisection for backup purpose before 20 persons of my community starts developing their wiki tomorrow morning (not possible with pdf).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants