> > I would never have TagSearchPlugin create any tiddler for which there
> > is an entry in some section in TagSearchConfig. It is up to the user
> > to do that.
>
> Why not though? If one wants a dozen '1st class' tags which carry the
> same category tag (e.g. Jan, Feb, ... all tagged 'Month'), it is
> tedious to give that category tag to each of them by hand. Consider
> that with a number of categories... I figure it could be much quicker
> to write a list of the whole structure and generate tiddlers and tags
> automatically from that.

Maybe there is some misunderstanding. If a tag that you want to use in
TagSearch - pertaining to some category - doesn't exist yet ...then
that would not prevent it from being displayed in the TagSearch
interface.

Instead, they would look like tiddlyLinks to non existing tiddlers,
yet you could use the checkbox to assign them as tags ...that however
would not be true for the searchbox, which only presents you with
existing tiddlers.

The important reasons for not overcomplicating the code by
automatically creating some tiddlers while others not are the
following...
1) Its kind of a one time only task for a mere handful of items.
2) If you really wanted these items to be tiddlers, you are going to
want to input some text, too ... so you'll probably have to touch them
one by one anyways.

Besides, if you'd open those non existing tag tiddlers, tagging
tiddlers would still be show in the tiddler.

A simple option might be to have a little helper script, that prompts
you for some section of some tiddler - corresponding to a section with
titles of tiddler that you want to create, maybe defined in some
TagSearchConfig or maybe somewhere else - then looks up that section
via store.getTiddlerText('SomeTiddler##SomeSection'), does a
readBracketedList() on the text contents and then creates any non
existing tiddlers via store.saveTiddler().

I wouldn't know about your coding experiences, but that would be a
neat little task for a first hand experience with some (TW) javascript
code... whereas the dev section of tiddlywiki.org would sure help you
out with further information on the above mentioned functions, e.g.:

http://tiddlywiki.org/wiki/Dev:SaveTiddler

Cheers, Tobias.

-- 
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