zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #00694
Re: fixed hard coded file extension in stores/files.py
On Fri, Apr 9, 2010 at 8:39 PM, Thorsten Hackbarth
<thorsten.hackbarth@xxxxxx> wrote:
> I fixed the hard coded file extension in stores/files.py
>
> In notebook.zim it looks like this:
> [Notebook]
> stores_files_extension=.txt
>
> As you can see the config value includes the dot.
> Thereby its possible to set it to something like this:
> stores_files_extension=/README.txt
> and end up with a tree with a README.txt in every subdirectory.
Sorry for the late reply. I have been offline a lot last month, so
cleaning out my email log now.
Not sure this is the solution we are looking for. In general I would
say that if you want to use this to customize the layout of the
notebook this is a hack that might have unwanted side effects.
Probably cleaner to have a subclass of the file storage class for such
things.
On the other hand we could make layout more dynamic based on the
config file if we identify there is a limited number of variations
people might be interested in.
Regards,
Jaap
References