Le 05/05/2016 08:07, Paulo van Breugel a écrit :
Which version are you using? It should be possible to export single
pages under File - Export.
Yes I know the export process under File -> Export but it's *quite
long*. There's _at least_ *6 clicks* to export a page:
Single page (click)
Next (click) [more clicks if you don't use the Default model which is my
It's ok when you don't do it very often. But it's very boring when you
do (and at least when you are using the same format, templates and
My little script allow a single click for the whole process. And the
next version will allow the publication on a web server via rsync
A good way to create a static web site.
On 05-05-16 00:14, Charles Nepote wrote:
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 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.
Post to :email@example.com
More help :https://help.launchpad.net/ListHelp
Mailing list: https://launchpad.net/~zim-wiki
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zim-wiki
More help : https://help.launchpad.net/ListHelp