In the meantime I figured TiddlyWiki already filters system tiddlers out by 
default, so this could be made a little simpler. So for the record here is 
a canonical post gathering the whole procedure,

Lets say you have a wiki at D:/TiddlyWiki.html and need to search it 
frequently and conveniently from your browser address bar like you would 
using any regular web search engine.
As Riz mentioned you can use the Permalinks 
<https://tiddlywiki.com/#PermaLinks>feature to pass down a *Story Filter* 
parameter directly from your address bar, that will determine which 
tiddlers are open on page load.

Since most browsers interpret %s string in a URL as placeholder that gets 
replaced by a user search terms, you can setup a search engine or bookmark 
with a name like My Wiki, address pointing to your wiki like 
file:///D:/TiddlyWiki.html#:[search[%s]] and keyword wiki.
If you then type into the address bar the keyword followed by a space then 
a search term like personal notes so that you end up with something like  
wiki personal notes it would then automatically resolve the address and 
take you to file:///D:/TiddlyWiki.html#:[search[personal notes]] .
This will effectively search you wiki for personal notes and open it 
already displaying a story river of open tiddlers containing your search 
term personal notes thus behaving similarly to a web search engine.

Don't literally enter  file:///D:/TiddlyWiki.html#:[search[%s]]  into the 
address bar as it will show a javascript error instead, if you need to just 
type directly you should replace %s with an actual term like file:
///D:/TiddlyWiki.html#:[search[my search terms]].

So all you need to setup either book or a search engine in your browser 
pointing to your wiki file with a valid %s placeholder and a keyword.
Under Chrome* go to Settings > Search Engines > Manage Search Engines and 
specify a keyword and a 

<https://groups.google.com/group/tiddlywiki/attach/666ee7ae746cd/tiddlywiki_chrome_search.png?part=0.1&view=1&authuser=0>

For Firefox alike go to the bookmark manager under the *Bookmark Menu > 
Show All*, and specify a keyword. You can also manage them for existing 
bookmarks from the right-clicking menu on any bookmark and accessing 
*Properties*.


<https://groups.google.com/group/tiddlywiki/attach/666ee7ae746cd/tiddlywiki_firefox_search.png?part=0.2&view=1&authuser=0>



Replace [search[%s]] with any valid TiddlyWiki Filter 
<https://tiddlywiki.com/#Filter%20Expression> you like to present relevant 
output for your needs.

-- 
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/ad7ea353-c4a1-488b-8e45-58a98e973228o%40googlegroups.com.

Reply via email to