zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #00117
Re: Document folder and document root - difference
> 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
extension.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
Follow ups
References
-
Document folder and document root - difference
From: Vlastimil Ott, 2009-01-17
-
Re: Document folder and document root - difference
From: Pablo Angulo, 2009-01-26
-
Re: Document folder and document root - difference
From: Dotan Cohen, 2009-01-26
-
Re: Document folder and document root - difference
From: Bill Oldroyd, 2009-01-27
-
Re: Document folder and document root - difference
From: Dotan Cohen, 2009-01-27
-
Re: Document folder and document root - difference
From: Jaap Karssenberg, 2009-01-31
-
Re: Document folder and document root - difference
From: Dotan Cohen, 2009-01-31
-
Re: Document folder and document root - difference
From: Jaap Karssenberg, 2009-01-31
-
Re: Document folder and document root - difference
From: Dotan Cohen, 2009-01-31
-
Re: Document folder and document root - difference
From: Jaap Karssenberg, 2009-01-31