Hi guys,

I implemented all of the suggested improvements as announced here:
https://groups.google.com/forum/#!topic/tiddlywiki/ebha1ktI22U

Best wishes,

Tobias.

On Saturday, 19 December 2015 12:59:47 UTC+1, Tobias Beer wrote:
>
> Hi leeand00 & matabele,
>  
>
>> I created a new filter plugin that allows to generate new titles for use 
>> with things like the *set* or *list* widget:
>>
>> http://tobibeer.github.io/tw5-plugins/#make
>>
>
> FYI, I have decided to change some fundamentals of *tobibeer/make* again.
>
> For the time being, to generate new titles, please use make with an 
> *empty* input set like so:
>
> [[]make[foo]]
>
> ...instead of just...
>
> [make[foo]]
>
> I figured, it would be a total waste of a perfect opportunity if *make* could 
> not operate on given input titles.
>
> Also, I will add or extend a few more options:
>
>    - sep:<string>\
>       - will allow to specify the *separator *between the *base* and the 
>       unique *increment*
>          - for already existing tiddlers / titles in the output
>       - currently that separator is a blank " ", e.g. "New Tiddler 1" 
>       (notice the blank before the 1)
>       - there are moments when you don't want any separator at all
>          - so you can then do sep:\
>       - unique:field/index\
>       - allows to specify if we want to make either unique *fields* or 
>       *indexes*
>          - with respect to a given (optional) *tiddler* (below) (defaults 
>          to currentTiddler)
>       - for unique:field\, the separator will be set to sep:\ by default
>          - since field-names cannot contain any blanks
>       - with *unique* being set, make will not test against existing 
>       tiddler titles anymore
>          - but, of course, keep on checking if a given title is already 
>          in the output set
>       - tiddler:<title>\
>       - specifies the currentTiddler, for use with...
>          - unique:field / unique:index 
>          - text-references w/o a specified title
>       - %tiddler%
>       - outputs the *tiddler* as specified above
>    - %title%
>       - if operating on *input* titles — which *make* will automatically 
>       do in the future, should there be any —
>       this will be replaced with the *title* in the input set at the 
>       position that corresponds to the current %count%
>       - max:<num>
>       - when make operates on input titles, it will truncate the 
>       iteration at this maximum number
>       - should the input set contain less titles, max will be set to the 
>       length of it
>          - in other words, make will not iterate above a given number of 
>          input titles
>             - except for when that number is 0, then max will be whatever 
>             you define, otherwise default to 1
>          
> Best wishes,
>
> Tobias.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0899d2e8-ab11-4306-86b2-6a1d71c0fcd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to