Hi Mark,
 This is wonderful!
The next step is to create a customize sarchbox. This way one can search 
and find direct link to the other wiki!

--Mohammad

p.s
Tested on TW5.1.22pre creates a 106kB file!



On Friday, January 31, 2020 at 9:50:23 PM UTC+3:30, Mark S. wrote:
>
> 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/813d729b-468f-45d6-b09d-f1446a88a46b%40googlegroups.com.

Reply via email to