Mohammad,I considered this path for my learning tiddlywiki edition. Basically I created a tiddler containing every regular tiddler then generated a link to access it https://tiddlywiki.com/#HelloThere all you need to do it prefix every tiddler name with https://tiddlywiki.com/# to construct the link You could place this path in a tiddler field, in a tiddler that contains a list of tiddler names for each wiki.
A quick brainstormThe above would work well for reference back to tiddlywiki.com because the title is often enough info in the titles, however you could also construct a link to open tiddly wiki.com with the search string you started with.I favor the use of titles and a keyword field to intentionally name the keywords and being able to do a keyword only search, ie you design tiddlers to state exactly which keywords are relevant in addition to the title.However if we wanted to get tricky we may be able to capture and extract the indexes that tiddlywiki builds internally for performance, but allow them, to be packaged and dropped into another wiki.
A more sophisticated approach would be to generate a serial number of every tiddler, then every word you find is recorded and given its own serial number, then you generate a list of every word found and list the tiddlers in which it occurs, by recording the tiddler serial number against the word serial number. A special search could then use this database to all tiddlers containing one or more words and give you a link to it.This makes me wonder if we could use a compression technique that we could still search within.More simply we could generate a kind of usable site index for wikis, which can be copied into another wiki, if the search finds an item in that index you know within which wiki it resides.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5e6fa555-7728-43df-877c-fcbeab8bfbd6%40googlegroups.com.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/29ef0a25-9bc1-4ba8-80d7-5fa013f35eb7%40googlegroups.com.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c1afe416-73a6-4319-81d8-7821dc548e7a%40googlegroups.com.
How about single files?
Use the standard or advanced search to look in these indexes and return a link to the correct wiki
On Monday, January 27, 2020 at 9:14:46 PM UTC-8, Mohammad wrote:Use the standard or advanced search to look in these indexes and return a link to the correct wikiCreating a data tiddler doesn't sound too hard.But you would need to make a special search tool to show the contents of the data tiddler and reconstruct a link.Hmm. If you're on a local file system, can you link to another tiddler on the local system?
> I know about Twedration, but this is a simple solution for whom use single html Tiddlywiki.Twederation used/uses single files. It had some over-arching concerns re long-term storage, sizing, and security.
Mark,Do you mean Twedration can search multiple wikis?
\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>
\define thisSearchMacro(search:"", dataTid:"exmp39/acronyms/web")<dl><$list filter="[[$dataTid$]indexes[]regexp:title[(?i)$search$]]"><dt><$text text=<<currentTiddler>>/></dt><dd><$text text={{{ [[$dataTid$]getindex<currentTiddler>] }}}/></dd></$list></dl>\end
<$edit-text tiddler=test tag=input default="no search"/>
<$macrocall $name="thisSearchMacro" search={{test}} dataTid="index-for-TiddlyWiki Pre-release"/>
\define indexvalue() """$(title)$|$(caption)$|$(tags)$"""
<$wikify name=indextitle text={{{ [{$:/SiteTitle}addprefix[index-for-]] }}} select="0">
<$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>
<$wikify name=tiddlywiki text={{{ [{$:/SiteTitle}addsuffix[.html]][{$:/config/SaveWikiButton/Filename}]+[!is[blank]last[]] }}} >
<$action-setfield $tiddler=<<indextitle>> $field="tiddlywiki" $value=<<tiddlywiki>>/>
</$wikify>
</$button>
</$wikify>
\define indexvalue() """$(title)$|$(caption)$|$(tags)$"""
<$wikify name=indextitle text={{{ [{$:
/SiteTitle}addprefix[index-for-]] }}} select="0">
...
...
<$action-setfield $tiddler=<<indextitle>> $index=<<currentTiddler>> $value=<<indexvalue>>/
>
<$action-setfield $tiddler=<<indextitle>> $index=<<currentTiddler>> $value=<<indexvalue>>/
>
<$action-setfield $tiddler=<<indextitle>> $index=<<currentTiddler>> $value=<<indexvalue>>/>
\define indexvalue() """$(title)$|$(caption)$|$(tags)$"""
<$wikify name=indextitle text={{{ [{$:/SiteTitle}addprefix[index-for-]] }}} select="0">
<$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>
<$wikify name=tiddlywiki text={{{ [{$:/SiteTitle}addsuffix[.html]][{$:/config/SaveWikiButton/Filename}]+[!is[blank]last[]] }}} >
<$action-setfield $tiddler=<<indextitle>> $field="tiddlywiki" $value=<<tiddlywiki>>/>
</$wikify>
</$button>
<$button>Export
<$action-sendmessage $message="tm-download-file" $param=<<indextitle >> filename={{{[<indextitle>addsuffix[.tid]]}}} />
</$button>
</$wikify>
4) So, the limitation to this is only being able to search the tiddlers of one external file?
Finally, I think Mat has some example code where he added additional search fields to the standard search box. I would like theindex searches to eventually end up there, sort of down below the existing search hits. That way searching otherwikis becomes "almost" as transparent as a regular wiki search. Or am I dreaming?
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:
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/8qyPUgmpDYY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1537788a-047a-4124-9134-0e274f91c4ab%40googlegroups.com.
@MohammadThanks for your comments. Points 1 & 3 are done, please check. Point 2 is not clear. Would you please explain it to me in a bit more details.
пн, 3 лют. 2020 о 09:33 Mohammad <mohamma...@gmail.com> пише:
@Olegh--
- look at https://protw.github.io/twfarm/#Organization%20of%20work%20with%20wiki-farm%20folders as Mark said, it seems << alert-info should changes to <<alert-info the alert does not work now
- I changed the sidebar layout to Fluid story, as it does not show correctly the sidebar right now
- I noticed also in https://protw.github.io/twfarm/#What%20and%20how%20TW%20Farm%20solves there is undefined widget cuases by extra space in calling << $macrocall
Any way thank you for this great tutorial and wonderful methodology you created to host multiple wiki on the internet!I am wondering why it is listed in tiddlywiki.com community tools and plugins.--Mohammad
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/8qyPUgmpDYY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddl...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c5b07f98-4232-4105-b0ff-520dbdf77ecf%40googlegroups.com.
@Mohammad
Not clear yet.I made the following settings in the section Theme tweaks:
- Story right: 1170px
- Story width: 1170px
- Tiddler width: 1086px
- Sidebar breakpoint: 1060px
пн, 3 лют. 2020 о 11:58 Mohammad <mohamma...@gmail.com> пише:
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c5b07f98-4232-4105-b0ff-520dbdf77ecf%40googlegroups.com.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/45180034-1a32-4b9e-823e-5952bd8fb766%40googlegroups.com.
When you guys get this made, with buttons and more detailed explanations on how to do it, let me know, I would be interested in using this. I have so many failed attempts at 'one-file-for-everything' TiddlyWikis, each with hidden/lost information. This could help me round up my lost sheep...
On Monday, January 27, 2020 at 11:14:46 PM UTC-6, 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.
- What do you think?
- Have you seen such solution before?
- Can you share any tools, idea?
--Mohammad
Hi allThis thread has grown quiet, but it feels like there are a few items pending, so I am going to dump here, for whomever might be interested:1) http://kookma.searchwikis.tiddlyspot.com/, the real solution is the "Solution ii". But it says "[in progress]". What is in progress or left to be done from your perspective, Mohammad?
Hi David,I am working on dynamic tables in Shiraz plugin and hopefully will finish soon!
After that I come back to searchwikis.
Hi Mohammad,Two comments:1. Today is my birthday, so hearing you will work on it is a great birthday present! Thanks!
2. It would be great if for each file the user could have a system tiddler like $:/searchwiki/filepath where to insert the URL or filepath. Then have have build-and-export 'Make index' button grab that filepath and insert it into an index-source field. That way the updating process only involves opening the file, clicking Make index > tid file, and dragging the created tid file into a central index file. As it is now, the user must also create an index-source field manually to each created tid file, then insert manually the URL or filepath into the index-source field.
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/8qyPUgmpDYY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f986e559-d396-47cd-9182-df7b6fbd510f%40googlegroups.com.
Dear Mohammad and David,the plugin TW-Searchwikis completely fits to idea of my tool TW Farm (https://protw.github.io/twfarm)! I've immediately started thinking of combining these two.For this I need your advice how to generate the index data tiddler and then copy/move it into another (central) wiki using command line only.Grateful in advance.
вт, 3 бер. 2020 о 21:34 Mohammad <mohamma...@gmail.com> пише:
To continue this thread see--This thread resulted in Searchwikis plugin.--Mohammad
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/8qyPUgmpDYY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddl...@googlegroups.com.