| Thread Previous • Date Previous • Date Next • Thread Next |
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.
Attachment:
export.sh
Description: application/shellscript
| Thread Previous • Date Previous • Date Next • Thread Next |