Re: [Zim-wiki] Creating new pages from a "template"

2013-02-11 Thread Jaap Karssenberg
On Mon, Feb 11, 2013 at 12:43 PM, Mark Hughes (Zim mailing list)
 wrote:
> I can do a scripted solution, but won't go there while I'm mainly on
> Windows!

A .bat file should work fine I think :)

Adding a "copy" option that allows also copying child pages sound like
a good idea as well.

Regards,

Jaap

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


Re: [Zim-wiki] Creating new pages from a "template"

2013-02-11 Thread Mark Hughes (Zim mailing list)

Thanks Jaap,

Dev pace is what it is - your speed of support/response is very helpful.

Another way to handle this case might be a "Copy Subtree" / "Paste 
Subtree" on tree node context menu (which is how I do this in KeyNoteNF).


I can do a scripted solution, but won't go there while I'm mainly on 
Windows!


Regards,

Mark

On 11/02/2013 11:35, Jaap Karssenberg wrote:

On Mon, Feb 11, 2013 at 12:30 PM, Mark Hughes (Zim mailing list)
 wrote:

Zim uses the term "template" for and export.

I'm interested in having templates for creating new Zim pages and wonder if
there is a mechanism for this.

There is a "hidden feature" in the code that I will enable after
fixing number of outstanding design items. (As you may have noticed,
dev pace is slow at the moment, so may take some time.) But the
intended feature is single page only, not sub-tree.


If not, what would the neatest way to create
new pages -- or rather a subtree of several pages -- based on some a
pre-defined subtree of Wiki content? I currently use KeyNoteNF for this but
am migrating gradually to Zim.

My scenario is that whenever I set up a new project for a website client I
have a pre-defined wiki (actually KeyNoteNF subtree) with placeholders for
client information, standard tasks and so on. I create a copy of this and
then rename/search and replace with the client name/web domain etc.

I think you could do the copy & replace in a small shell script. Add
this script to zim as a "custom tool" that takes page name as input.
This would enable a work flow where you go to a new page and then
trigger the tool from the tools menu to populate the page.

Regards,

Jaap




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


Re: [Zim-wiki] Creating new pages from a "template"

2013-02-11 Thread Jaap Karssenberg
On Mon, Feb 11, 2013 at 12:30 PM, Mark Hughes (Zim mailing list)
 wrote:
> Zim uses the term "template" for and export.
>
> I'm interested in having templates for creating new Zim pages and wonder if
> there is a mechanism for this.

There is a "hidden feature" in the code that I will enable after
fixing number of outstanding design items. (As you may have noticed,
dev pace is slow at the moment, so may take some time.) But the
intended feature is single page only, not sub-tree.

> If not, what would the neatest way to create
> new pages -- or rather a subtree of several pages -- based on some a
> pre-defined subtree of Wiki content? I currently use KeyNoteNF for this but
> am migrating gradually to Zim.
>
> My scenario is that whenever I set up a new project for a website client I
> have a pre-defined wiki (actually KeyNoteNF subtree) with placeholders for
> client information, standard tasks and so on. I create a copy of this and
> then rename/search and replace with the client name/web domain etc.

I think you could do the copy & replace in a small shell script. Add
this script to zim as a "custom tool" that takes page name as input.
This would enable a work flow where you go to a new page and then
trigger the tool from the tools menu to populate the page.

Regards,

Jaap

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


[Zim-wiki] Creating new pages from a "template"

2013-02-11 Thread Mark Hughes (Zim mailing list)

Zim uses the term "template" for and export.

I'm interested in having templates for creating new Zim pages and wonder 
if there is a mechanism for this. If not, what would the neatest way to 
create new pages -- or rather a subtree of several pages -- based on 
some a pre-defined subtree of Wiki content? I currently use KeyNoteNF 
for this but am migrating gradually to Zim.


My scenario is that whenever I set up a new project for a website client 
I have a pre-defined wiki (actually KeyNoteNF subtree) with placeholders 
for client information, standard tasks and so on. I create a copy of 
this and then rename/search and replace with the client name/web domain etc.


Thanks,

Mark
--

theWebalyst.com 

*Computer help and marketing services for freelancer, therapist and 
practitioner small business.*

WordPress Websites -- Web Hosting -- Web Marketing -- Computer Help

* Web Hosting Launch Offer * a year's web hosting for under £20
including domain registration or transfer/renewal, and no VAT.
For details: find out how to get this 50% discount 
 



Ways to stay in touch:
'Like' my facebook page 


Follow me on Twitter 
Check out my blog 
Subscribe to my Web Marketing Newsletter 



By staying in touch you will receive occasional
articles, tips and offers, and learn what you need to
get your website working for your business. I'll show
you how to use search engine optimisation (SEO), social
networking, a blog etc.

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