Search one wiki from another

134 views
Skip to first unread message

oleghbond

unread,
Sep 30, 2019, 3:44:18 AM9/30/19
to TiddlyWiki
I successfully run my wiki farm https://protw.github.io. Actually how the farm works is described in https://protw.github.io/twfarm/.

I perfectly realize that long-term development of TW ideology depends not too much on how much data a single wiki can take on board, but how flawlessly many single wikis can be integrated into united info space. In this sense the things are not so irreproachable so far.

Being more practical I'm wondering whether anybody is aware of any reliable solution on searching in one wiki, getting the result of this search from another wiki when both wikis are at the Web.

It would very helpful for building up much more powerful integrated information resources based on multiple single wikis.

Jed Carty

unread,
Sep 30, 2019, 4:33:59 AM9/30/19
to TiddlyWiki
I think the only way you would be able to search other single file wikis is using the same mechanism as twederation which very quickly becomes impractical as the number of wikis grows.

If the wikis have a server backend like Bob it can be easier because you could make the server component do the search, but that doesn't solve the problems with searching remote single file wikis.

TonyM

unread,
Oct 2, 2019, 5:01:16 AM10/2/19
to TiddlyWiki

To me there are two key ways to do multi wiki search,

publish them on the internet with static tiddlers as well, which node implementations support and get the search engines to index them then use a search against your domain.

If your wikis are not public I would build a directory or idex wiki which you can access through an iframe. Basic keyword tiddlers in the index may be enough for basic searches however if you have different text changing in your wikis I think we need to make a tool to extract keywords from a wiki into a tiddler that is dropped on the index wiki. When you search on the index wiki you can find in which wikis the word combo exists in. Then search in the wiki to identify tiddlers possibly from inside another iframe.

This can be made more sophisticated but I expect this approach would cover many cases.

Regards
Tony

Mat

unread,
Oct 2, 2019, 6:43:57 AM10/2/19
to TiddlyWiki
Not a good solution, but you could perhaps use an iframe (or the innerwiki plugin?). This would mean that you cannot use the same search field to access all wikis. You could make a little dropdown selectwidget just next to your search button so select which wiki to search... and then, using the local search tool in the tiddler showing that wiki, search that wiki. As I said, not a very good solution but it depends on your demands.

Note that an iframe can be clipped to only show selected parts. The only public example I can give of this is http://tiddlywiki5.tiddlyspot.com/ where the mid section of that first tiddler is an iframe that you can investigate... and, perhaps most importantly, find the styles for.

<:-)

stefan infp

unread,
Oct 3, 2019, 4:32:10 PM10/3/19
to TiddlyWiki
Very interesting plugin. I wonder how big can it be grown. Ex 5000 items, subitems?
Reply all
Reply to author
Forward
0 new messages