← Back to team overview

zim-wiki team mailing list archive

Re: Document folder and document root - difference


Dotan Cohen wrote:
Yes, but the case was about the interface behavior. When we break
compatibility of notebook content we need to be able to detect it - the new
version may change things, but it should know how to read notebooks created
with a previous version and not break completely.
That's easy. If the file starts with a single line "[notebook]" then
it is the notebook config file. If it starts with "Content-Type:
text/x-zim-wiki" then it is the data file. They both have the .zim

Yes, thank you for stating the obvious. I considered that, and I did not want to say it is impossible, but I feel it will be too messy.

The other reason is that "zim" is that application name, not the file format. If you want to discuss usability we need to separate those two concepts.



Follow ups