Awesome Eric !

This is fantastic, I have thoroughly tested this new version of the script
and it does exactly what I need.

For others reading this post I can recommend this script as a "top tool" for
tiddlywiki.

With this you can create multiple tiddlers from a single tiddler and name
them, attach tags and manipulate the contents generated systematically
(using the output format). For any PIM GTD or other application where a
canned set of tiddlers need to be generated it is fantastic. I imagine you
could even package a customised tiddlywiki in a few tiddlers then run the
splittiddler to "extract" them all, save and reload, and "wa la" fully
customised tiddlywiki. I use it now to generate the first 11 'known' steps
for every project I do.

Eric,

As I did with the older script I have modified it in my wiki (with a note to
that effect) so that I can pass replacable parameters to it; eg in bold.

    <td style='width:33%;border:0;'>
        source tiddler:<br>
        <input name='src' value=*'$1' *onfocus='this.select()'
style='width:98%'
            title='title of tiddler containing source material'>
    </td><td style='width:33%;border:0;'>
        item separator:<br>
        <input name='sep' value='\n----\n' onfocus='this.select()'
style='width:98%'
            title='character sequence used to separate source items'>
    </td><td style='width:33%;border:0;'>
        add tags:<br>
        <input name='tags' value='*[[$3]] $2 [[.projectTask]]
[[NewProjectsteps]]*' style='width:98%'
            title='space-separated tags for target tiddlers'>

I pass the source tiddler name as $1, but for some reason this does not
work, although the tiddler name apears in the source tiddler field, I get an
error message until I change it in some way. When you hit the button a
message comes up ""Please enter a tiddler title". At the moment I pass the
value  "Del sourcetiddler", by deleting the "del ", the split tiddler button
works. All the others work fine such as the tags value above.

Is there a way to get the script to accept the first replacable parameter
without typing in that field ?

*Regardless of the above issue It is fantastic, so once again thank you very
much Eric, peoples productivity with tiddlywiki around the world improves
when you make enhancements.*

Regards TonyM

On Tue, Mar 3, 2009 at 11:37, Eric Shulman <[email protected]> wrote:

>
> > I use the very helpful split tiddlers script to generate a number of
> > canned task tiddlers to initiate a project. The Only problems is I
> > can't work out how to have the project name in the tiddler title so
> > they will be unique to each project (other wise they will overwrite
> > another uncompleted one),
>
> I've just updated SplitTiddler so it is much easier to specify a
> custom format for the 'target tiddler' titles.
>
> Instead of choosing the format from a fixed set of radio buttons, you
> can now enter a "format string" using the following substitution
> markers to indicate where key values will be inserted: %0=source
> tiddler title, %1=first line of item, %2=first word of item, %3=item
> number, %4=item content.
>
> Note: the default format is: "%0 - %1", so that if you are splitting a
> tiddler named [[SomeStuff]], you would get results like [[SomeStuff -
> This Part]], [[SomeStuff - That Part]], [[SomeStuff - TheOtherPart]],
> etc.
>
> With this latest revision to the SplitTiddler script, you should be
> able to produce the specific title results you are seeking simply by
> entering a format like: "MyFirstProject %1"
>
> Get the update (v1.5.0) here:
>   http://www.TiddlyTools.com/#SplitTiddler
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
> >
>


-- 
TonyM

If you have not found an easy way to do it with TiddlyWiki, you have missed
something.
www.tiddlywiki.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to