Here's code that will create an index for the current wiki. It uses the
wiki title as the basis for the index name. It saves title, caption, and
tags.
The next step would be to modify the search code so that it knows to look
in the index files.
\define indexvalue() $(title)$|$(caption)$|$(tags)$
<$vars indextitle={{{ [{$:/SiteTitle}addprefix[index-for-]] }}}>
<$button>Make Index
<$list filter="[all[tiddlers]!is[system]]">
<$vars title={{!!title}} caption={{!!caption}} tags={{!!tags}} >
<$action-setfield $tiddler=<<indextitle>> $index=<<currentTiddler>>
$value=<<indexvalue>>/>
</$vars>
</$list>
</$button>
</$vars>
On Monday, January 27, 2020 at 9:14:46 PM UTC-8, Mohammad wrote:
>
>
> - Tiddlywiki is great at small to moderate number of tiddlers
> - It is easier to keep few subjects in a Tiddlywiki, for example a
> student can have one wiki per course
> - I see Tiddlywiki like a MsWord file but with tons of features and
> suprior flexibility
> - I see Tiddlywiki as a webpage, but simple to create, customize
> and use
> - I see Tiddlywiki as a database
> - RESULT
> - People using Tiddlywiki have several separate Tiddlywiki
> - ISSUE
> - Searching and finding something gets difficult and makes headache
>
>
> One solution
>
> - create a master Tiddywiki or a main wiki
> - use a dataTiddler per wiki to index few fields per tiddler like
> tiddler titles, caption and keywords field
> - put all these indexes in the master Tiddlywiki
> - Use the standard or advanced search to look in these indexes and
> return a link to the correct wiki
>
> Howto
>
> - a simple script to create or update the index in the wiki
> - export the updated index to master wiki
>
> I know about Twedration, but this is a simple solution for whom use single
> html Tiddlywiki.
>
>
> 1. What do you think?
> 2. Have you seen such solution before?
> 3. Can you share any tools, idea?
>
> --Mohammad
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/1a030707-dc5c-401d-9db9-c9b62bd4d9a6%40googlegroups.com.