← Back to team overview

zim-wiki team mailing list archive

Re: Export in one click


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> 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
> regexps.
> 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 click.
> My goal is to manually export and publish some static pages on the web.
> 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

Follow ups