zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #02413
Re: command line output of tasklist in notebooks
Svenn,
I posted the boiler plate code for such a script here:
https://answers.launchpad.net/zim/+question/227797
Regards,
Jaap
On Mon, Apr 22, 2013 at 11:07 AM, Jaap Karssenberg
<jaap.karssenberg@xxxxxxxxx> wrote:
> On Mon, Apr 22, 2013 at 10:58 AM, Svenn Are Bjerkem
> <svenn.bjerkem@xxxxxxxxxxxxxx> wrote:
>> is it possible to output the tasklist of a notebook to stdout when zim is
>> executed on command line without GUI?
>>
>> Reason is simple:
>> I have all my Notebooks on Dropbox, and at home I have a Debian server in
>> the basement with Dropbox clone of my notebooks. I would like to run
>> cron-jobs on this server to extract the the various TODOs and FIXMEs from
>> notebooks and send me an email.
>>
>> Any ideas?
>
>
> You can write a python script that constructs a "NotebookInterface"
> object & loads the tasklist plugin.
> The you can call "list_tasks" on the plugin and print output.
>
> If useful for others as well, we could add such a script as a
> commandline option to zim.
>
> Regards,
>
> Jaap
References