Zim

Native zip file structure support?

Asked by Klandaghi Silentclaws

As an end user, I would like to see Zim Wiki save it's data into a zip container.

This would allow for:
- Interoperability between multiple platforms (iOS, Android, Windows, Mac OS X, Linux all support zip)
- Storage on Dropbox and other cloud storage solutions (No layered folder iteration problems as Dropbox sees a compressed file, not an expanding folder structure
- Storage of large attachments within the wiki (files attached and stored in the wiki are saved into their proper location in the zip and thus accessible as desired/needed)

Presently when creating, editing, or saving files, they are written in real time to a physical file with pages and subpages creating their own documents or folder structure.

I would like to see this data written to the internals of a zip file.

Question information

Language:
English Edit question
Status:
Answered
For:
Zim Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) said :
#1

On Mon, Mar 25, 2013 at 8:05 PM, Klandaghi Silentclaws
<email address hidden> wrote:
> New question #225139 on Zim:
> https://answers.launchpad.net/zim/+question/225139
>
> As an end user, I would like to see Zim Wiki save it's data into a zip container.
>
> This would allow for:
> - Interoperability between multiple platforms (iOS, Android, Windows, Mac OS X, Linux all support zip)
> - Storage on Dropbox and other cloud storage solutions (No layered folder iteration problems as Dropbox sees a compressed file, not an expanding folder structure
> - Storage of large attachments within the wiki (files attached and stored in the wiki are saved into their proper location in the zip and thus accessible as desired/needed)
>
> Presently when creating, editing, or saving files, they are written in real time to a physical file with pages and subpages creating their own documents or folder structure.
>
> I would like to see this data written to the internals of a zip file.

Afraid this will be a "won't fix". The reason is that this solution
scales quite poorly for large notebooks. Keeping it in a single zip
file means the whole notebook including all attachments needs to be in
memory all the time, causing the memory fingerprint to become larger
and larger. It would also cause dropbox to sync all the data again
everytime. In the current form dropbox would only have to sync the one
text file that actually changed.

Maybe it helps if you describe the problem you have. I know there are
a lot of users syncing notebooks with dropbox already, so should work
fine as is.

Regards,

Jaap

Can you help with this problem?

Provide an answer of your own, or ask Klandaghi Silentclaws for more information if necessary.

To post a message you must log in.