← Back to team overview

zim-wiki team mailing list archive

Re: Export in one click


Great! That seem perfect.
It will simplify my script and maybe also other usages in the future. Thanks a lot Jaap.

My best,

Le 26/05/2016 08:33, Jaap Karssenberg a écrit :
Hi Charles,

I added the "%p" argument to the custom tool commandline parameters. Checked in as revision 833, will show up in next release.

This should make the script much easier :)



On Thu, May 5, 2016 at 12:14 AM Charles Nepote <charles@xxxxxxxxxx <mailto:charles@xxxxxxxxxx>> wrote:

    Hi all,

    I wrote a little bash script as a "Custom tool" to export a page
    in one
    click (see code attached).

    To wrote this script, I was facing the problem that calls to Custom
    tools does not provide a "pagename" parameter
    (Page:SubPage:SubPage) to
    supply the --export parameter. I had to extract this information with

    It would be nice:
    * to provide a %p parameter for the name of the page
    * or let --export function to accept %s as the [PAGE] to be exported

    Am I clear enough? Did I miss something?
    My next step is to provide the ability to rsync the result in one

    My goal is to manually export and publish some static pages on the
    The current ability to --export a whole notebook is not good for
    me as I
    want to publish only some pages and not all ones.

    Thanks for zim.

    Charles Nepote.

    Mailing list: https://launchpad.net/~zim-wiki
    Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
    Unsubscribe : https://launchpad.net/~zim-wiki
    More help   : https://help.launchpad.net/ListHelp