[tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-07-05 Thread TW Tones
Duarte

I agree with Josua,

Great hack/workflow! Impressed. :)


But I also want to add I have being using Mohammads Search Wikis plugin.

   - Demo: https://kookma.github.io/TW-Searchwikis/
   - Code: https://github.com/kookma/TW-Searchwikis

I have a node server on bob which hosts indexes to multiple wikis (lets 
call this the registry). Using you search method and having it search the 
registry could be an amazing way to index and search large numbers of 
disparate wikis.

Wow is all I can say now.

TW Tones

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3c16e27e-560b-4c5a-a64f-67c93c85b304o%40googlegroups.com.


[tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-07-05 Thread Joshua Fontany
Great hack/workflow! Impressed. :)

Joshua Fontany

On Saturday, July 4, 2020 at 1:44:58 PM UTC-7 tony wrote:

> Thank you so much for this!!
>
> Leveraging the convenience of the browser address bar saves steps of 
> having to go through UI in Advanced Search
>
> Your method works with node.js as you explain so clearly!  Keyword + 
>  expands to 
>
> http://localhost:8080/myfolder/mywiki.html#:[!is[system]search[ term>]] 
> 
>
> which opens up mywiki.html with search results in the story river :-) Wow!
>
> Best,
> tony 
>
> On Saturday, July 4, 2020 at 11:00:26 AM UTC-7 duarte...@gmail.com wrote:
>
>> 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 
>> 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 
>>
>>
>> 
>>
>> 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*.
>>
>>
>>
>> 
>>
>>
>>
>> Replace [search[%s]] with any valid TiddlyWiki Filter 
>>  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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c3951c73-fc94-4c58-9b31-76a2264dca97n%40googlegroups.com.


[tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-07-04 Thread tony
Thank you so much for this!!

Leveraging the convenience of the browser address bar saves steps of having 
to go through UI in Advanced Search

Your method works with node.js as you explain so clearly!  Keyword + 
 expands to 

http://localhost:8080/myfolder/mywiki.html#:[!is[system]search[]] 


which opens up mywiki.html with search results in the story river :-) Wow!

Best,
tony 

On Saturday, July 4, 2020 at 11:00:26 AM UTC-7 duarte...@gmail.com wrote:

> 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 
> 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 
>
>
> 
>
> 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*.
>
>
>
> 
>
>
>
> Replace [search[%s]] with any valid TiddlyWiki Filter 
>  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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b76c5791-75e4-4c06-956e-b53d36fb5425n%40googlegroups.com.


[tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-07-04 Thread Duarte Farrajota Ramos
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 
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 



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*.






Replace [search[%s]] with any valid TiddlyWiki Filter 
 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ad7ea353-c4a1-488b-8e45-58a98e973228o%40googlegroups.com.


Re: [tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-06-15 Thread Mohammad
Searchwikis plugin lets to create a central index of all wikis 
online/offline and then using your method it is possible to search all of 
them from 
browser!



On Monday, June 15, 2020 at 6:47:21 PM UTC+4:30, Duarte Farrajota Ramos 
wrote:
>
> Ha there it is. Not sure why it wasn't showing up in previous searches. 
> Thanks, will take a look.
>
> On Monday, 15 June 2020 15:09:45 UTC+1, Mohammad wrote:
>>
>> Hi Duarte,
>>  have look at this discussion
>>
>> https://groups.google.com/d/msg/tiddlywiki/BFiSyOpBNHA/GbLf7Tn3AgAJ
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Mon, Jun 15, 2020 at 2:24 PM Duarte Farrajota Ramos <
>> duarte...@gmail.com> wrote:
>>
>>> Where can I find this SearchWikis plugin? I searched the forum butt 
>>> couldn't find anything relevant here or in the plugins library
>>>
>>> On Monday, 15 June 2020 04:01:52 UTC+1, Mohammad wrote:

 Wow, this is wonderful! Using Searchwikis plugin and this solution 
 provided by Duarte,
 you can have a powerful search engine for local wikis!


 Best wishes
 Mohammad


 On Sun, Jun 14, 2020 at 10:17 PM Duarte Farrajota Ramos <
 duarte...@gmail.com> wrote:

> The %s string is a common placeholder for search terms, not something 
> you would enter literally into the address bar.
> Say you setup a firefox bookmark with name My Wiki, address file:
> ///D:/TiddlyWiki.html#:[!is[system]search[%s]] and alias wiki.
> If you then type into the address bar the alias followed by a space 
> then a search term like say  wiki personal notes it would then 
> automatically resolve the address and take you to 
> file:///D:/TiddlyWiki.html#:[!is[system]search[personal 
> notes]] .
>
> If you literally type  file:
> ///D:/TiddlyWiki.html#:[!is[system]search[%s]]  into the address bar 
> it will apparently show a javascript error, if you want to just type 
> directly you would have to actually write  
> file:///D:/TiddlyWiki.html#:[!is[system]search[my 
> search terms]] manually.
>
>
>
>
> On Sunday, 14 June 2020 06:36:24 UTC+1, A Gloom wrote:
>>
>>
>> For the record if anyone else wants to know how, you can simply add 
>> to your browser something like
>>
>>> file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]
>>> and it will behave like any search engine. Works both for 
>>> Chrome-alike as from the search engine list, and for Firefox as a 
>>> regular 
>>> bookmark with an alias.
>>>
>>
>> :[!is[system]search[%s]] gave mw a Javascript error but useing a 
>> normal search term instead of % worked fine.
>>
>> An note to any one reading-- a lag before anythng displays is normal 
>> when using a filter in the permalink.
>>
>>
>> This trick can also be used with Google docs and sheets (though not 
>> tested with a local wiki): 
>> https://groups.google.com/d/msg/tiddlywiki/dR8hVQYR2P8/QSLZB-HkDwAJ
>>
> -- 
> 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 tiddl...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/5d22186e-821f-4d1e-be1b-8e01b686acc6o%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 tiddl...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/894c0836-21ee-435b-a8c9-50f7be80e47fo%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dbea9505-9ef9-4377-bdd1-6c9e4fc508f4o%40googlegroups.com.


Re: [tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-06-15 Thread Duarte Farrajota Ramos
Ha there it is. Not sure why it wasn't showing up in previous searches. 
Thanks, will take a look.

On Monday, 15 June 2020 15:09:45 UTC+1, Mohammad wrote:
>
> Hi Duarte,
>  have look at this discussion
>
> https://groups.google.com/d/msg/tiddlywiki/BFiSyOpBNHA/GbLf7Tn3AgAJ
>
>
>
> Best wishes
> Mohammad
>
>
> On Mon, Jun 15, 2020 at 2:24 PM Duarte Farrajota Ramos <
> duarte...@gmail.com > wrote:
>
>> Where can I find this SearchWikis plugin? I searched the forum butt 
>> couldn't find anything relevant here or in the plugins library
>>
>> On Monday, 15 June 2020 04:01:52 UTC+1, Mohammad wrote:
>>>
>>> Wow, this is wonderful! Using Searchwikis plugin and this solution 
>>> provided by Duarte,
>>> you can have a powerful search engine for local wikis!
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>>
>>> On Sun, Jun 14, 2020 at 10:17 PM Duarte Farrajota Ramos <
>>> duarte...@gmail.com> wrote:
>>>
 The %s string is a common placeholder for search terms, not something 
 you would enter literally into the address bar.
 Say you setup a firefox bookmark with name My Wiki, address file:
 ///D:/TiddlyWiki.html#:[!is[system]search[%s]] and alias wiki.
 If you then type into the address bar the alias followed by a space 
 then a search term like say  wiki personal notes it would then 
 automatically resolve the address and take you to 
 file:///D:/TiddlyWiki.html#:[!is[system]search[personal 
 notes]] .

 If you literally type  file:
 ///D:/TiddlyWiki.html#:[!is[system]search[%s]]  into the address bar 
 it will apparently show a javascript error, if you want to just type 
 directly you would have to actually write  
 file:///D:/TiddlyWiki.html#:[!is[system]search[my 
 search terms]] manually.




 On Sunday, 14 June 2020 06:36:24 UTC+1, A Gloom wrote:
>
>
> For the record if anyone else wants to know how, you can simply add to 
> your browser something like
>
>> file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]
>> and it will behave like any search engine. Works both for 
>> Chrome-alike as from the search engine list, and for Firefox as a 
>> regular 
>> bookmark with an alias.
>>
>
> :[!is[system]search[%s]] gave mw a Javascript error but useing a 
> normal search term instead of % worked fine.
>
> An note to any one reading-- a lag before anythng displays is normal 
> when using a filter in the permalink.
>
>
> This trick can also be used with Google docs and sheets (though not 
> tested with a local wiki): 
> https://groups.google.com/d/msg/tiddlywiki/dR8hVQYR2P8/QSLZB-HkDwAJ
>
 -- 
 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 tiddl...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/tiddlywiki/5d22186e-821f-4d1e-be1b-8e01b686acc6o%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 tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/894c0836-21ee-435b-a8c9-50f7be80e47fo%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f3ce8a42-7b21-44bf-af35-7c08b195e879o%40googlegroups.com.


Re: [tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-06-15 Thread Mohammad Rahmani
Hi Duarte,
 have look at this discussion

https://groups.google.com/d/msg/tiddlywiki/BFiSyOpBNHA/GbLf7Tn3AgAJ



Best wishes
Mohammad


On Mon, Jun 15, 2020 at 2:24 PM Duarte Farrajota Ramos <
duarte.fra...@gmail.com> wrote:

> Where can I find this SearchWikis plugin? I searched the forum butt
> couldn't find anything relevant here or in the plugins library
>
> On Monday, 15 June 2020 04:01:52 UTC+1, Mohammad wrote:
>>
>> Wow, this is wonderful! Using Searchwikis plugin and this solution
>> provided by Duarte,
>> you can have a powerful search engine for local wikis!
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Sun, Jun 14, 2020 at 10:17 PM Duarte Farrajota Ramos <
>> duarte...@gmail.com> wrote:
>>
>>> The %s string is a common placeholder for search terms, not something
>>> you would enter literally into the address bar.
>>> Say you setup a firefox bookmark with name My Wiki, address file:
>>> ///D:/TiddlyWiki.html#:[!is[system]search[%s]] and alias wiki.
>>> If you then type into the address bar the alias followed by a space then
>>> a search term like say  wiki personal notes it would then automatically
>>> resolve the address and take you to 
>>> file:///D:/TiddlyWiki.html#:[!is[system]search[personal
>>> notes]] .
>>>
>>> If you literally type  file:
>>> ///D:/TiddlyWiki.html#:[!is[system]search[%s]]  into the address bar it
>>> will apparently show a javascript error, if you want to just type directly
>>> you would have to actually write  
>>> file:///D:/TiddlyWiki.html#:[!is[system]search[my
>>> search terms]] manually.
>>>
>>>
>>>
>>>
>>> On Sunday, 14 June 2020 06:36:24 UTC+1, A Gloom wrote:


 For the record if anyone else wants to know how, you can simply add to
 your browser something like

> file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]
> and it will behave like any search engine. Works both for Chrome-alike
> as from the search engine list, and for Firefox as a regular bookmark with
> an alias.
>

 :[!is[system]search[%s]] gave mw a Javascript error but useing a normal
 search term instead of % worked fine.

 An note to any one reading-- a lag before anythng displays is normal
 when using a filter in the permalink.


 This trick can also be used with Google docs and sheets (though not
 tested with a local wiki):
 https://groups.google.com/d/msg/tiddlywiki/dR8hVQYR2P8/QSLZB-HkDwAJ

>>> --
>>> 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 tiddl...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/5d22186e-821f-4d1e-be1b-8e01b686acc6o%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/894c0836-21ee-435b-a8c9-50f7be80e47fo%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMALn8g_eoH%2BvJ%3Drq80yL-5Bk9CVdd4T7oYvzwoXBbW9WA%40mail.gmail.com.


[tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-06-15 Thread TW Tones
Thank you

I look forward to trying it.

Tony

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d1281b5e-10c6-41c5-9e76-127e2730d1b3o%40googlegroups.com.


Re: [tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-06-15 Thread Duarte Farrajota Ramos
Where can I find this SearchWikis plugin? I searched the forum butt 
couldn't find anything relevant here or in the plugins library

On Monday, 15 June 2020 04:01:52 UTC+1, Mohammad wrote:
>
> Wow, this is wonderful! Using Searchwikis plugin and this solution 
> provided by Duarte,
> you can have a powerful search engine for local wikis!
>
>
> Best wishes
> Mohammad
>
>
> On Sun, Jun 14, 2020 at 10:17 PM Duarte Farrajota Ramos <
> duarte...@gmail.com > wrote:
>
>> The %s string is a common placeholder for search terms, not something 
>> you would enter literally into the address bar.
>> Say you setup a firefox bookmark with name My Wiki, address file:
>> ///D:/TiddlyWiki.html#:[!is[system]search[%s]] and alias wiki.
>> If you then type into the address bar the alias followed by a space then 
>> a search term like say  wiki personal notes it would then automatically 
>> resolve the address and take you to 
>> file:///D:/TiddlyWiki.html#:[!is[system]search[personal 
>> notes]] .
>>
>> If you literally type  file:
>> ///D:/TiddlyWiki.html#:[!is[system]search[%s]]  into the address bar it 
>> will apparently show a javascript error, if you want to just type directly 
>> you would have to actually write  
>> file:///D:/TiddlyWiki.html#:[!is[system]search[my 
>> search terms]] manually.
>>
>>
>>
>>
>> On Sunday, 14 June 2020 06:36:24 UTC+1, A Gloom wrote:
>>>
>>>
>>> For the record if anyone else wants to know how, you can simply add to 
>>> your browser something like
>>>
 file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]
 and it will behave like any search engine. Works both for Chrome-alike 
 as from the search engine list, and for Firefox as a regular bookmark with 
 an alias.

>>>
>>> :[!is[system]search[%s]] gave mw a Javascript error but useing a normal 
>>> search term instead of % worked fine.
>>>
>>> An note to any one reading-- a lag before anythng displays is normal 
>>> when using a filter in the permalink.
>>>
>>>
>>> This trick can also be used with Google docs and sheets (though not 
>>> tested with a local wiki): 
>>> https://groups.google.com/d/msg/tiddlywiki/dR8hVQYR2P8/QSLZB-HkDwAJ
>>>
>> -- 
>> 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 tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/5d22186e-821f-4d1e-be1b-8e01b686acc6o%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/894c0836-21ee-435b-a8c9-50f7be80e47fo%40googlegroups.com.


Re: [tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-06-14 Thread Mohammad Rahmani
Wow, this is wonderful! Using Searchwikis plugin and this solution provided
by Duarte,
you can have a powerful search engine for local wikis!


Best wishes
Mohammad


On Sun, Jun 14, 2020 at 10:17 PM Duarte Farrajota Ramos <
duarte.fra...@gmail.com> wrote:

> The %s string is a common placeholder for search terms, not something you
> would enter literally into the address bar.
> Say you setup a firefox bookmark with name My Wiki, address file:
> ///D:/TiddlyWiki.html#:[!is[system]search[%s]] and alias wiki.
> If you then type into the address bar the alias followed by a space then a
> search term like say  wiki personal notes it would then automatically
> resolve the address and take you to 
> file:///D:/TiddlyWiki.html#:[!is[system]search[personal
> notes]] .
>
> If you literally type  file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]
> into the address bar it will apparently show a javascript error, if you
> want to just type directly you would have to actually write  
> file:///D:/TiddlyWiki.html#:[!is[system]search[my
> search terms]] manually.
>
>
>
>
> On Sunday, 14 June 2020 06:36:24 UTC+1, A Gloom wrote:
>>
>>
>> For the record if anyone else wants to know how, you can simply add to
>> your browser something like
>>
>>> file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]
>>> and it will behave like any search engine. Works both for Chrome-alike
>>> as from the search engine list, and for Firefox as a regular bookmark with
>>> an alias.
>>>
>>
>> :[!is[system]search[%s]] gave mw a Javascript error but useing a normal
>> search term instead of % worked fine.
>>
>> An note to any one reading-- a lag before anythng displays is normal when
>> using a filter in the permalink.
>>
>>
>> This trick can also be used with Google docs and sheets (though not
>> tested with a local wiki):
>> https://groups.google.com/d/msg/tiddlywiki/dR8hVQYR2P8/QSLZB-HkDwAJ
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/5d22186e-821f-4d1e-be1b-8e01b686acc6o%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMC_CXsFz3vT74ht8wdzajA0Eah-TaVH-FzmTTOOUy66wg%40mail.gmail.com.


[tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-06-14 Thread Duarte Farrajota Ramos
On Chrom* go to *Settings > Search > Manage Search Engines*. Add a new one 
and specify the keyword

[image: tiddlywiki_chrome_search.png]


On Firefox go to the bookmark manager under the *Bookmark Menu > Show All*, 
and specify a keyword. You can also add a one on an existing bookmark from 
the menu by right-clicking on a bookmark and accessing properties.

[image: tiddlywiki_firefox_search.png]



On Monday, 15 June 2020 01:22:38 UTC+1, TW Tones wrote:
>
> Duarte,
>
> How do you specify the alias in chrome and/or FireFox. IF I understand 
> correctly this can be entered in the address bar and the value following 
> passed into the bookmark(lete) ?
>
> Regards
> Tony
>
> On Monday, June 15, 2020 at 3:47:28 AM UTC+10, Duarte Farrajota Ramos 
> wrote:
>>
>> The %s string is a common placeholder for search terms, not something 
>> you would enter literally into the address bar.
>> Say you setup a Firefox bookmark with name My Wiki, address file:
>> ///D:/TiddlyWiki.html#:[!is[system]search[%s]] and alias wiki.
>> If you then type into the address bar the alias followed by a space then 
>> a search term like say  wiki personal notes it would then automatically 
>> resolve the address and take you to file:
>> ///D:/TiddlyWiki.html#:[!is[system]search[personal notes]] .
>>
>> If you literally type  file:
>> ///D:/TiddlyWiki.html#:[!is[system]search[%s]]  into the address bar it 
>> will apparently show a javascript error, if you want to just type directly 
>> you would have to actually write  
>> file:///D:/TiddlyWiki.html#:[!is[system]search[my 
>> search terms]] manually.
>>
>>
>>
>>
>> On Sunday, 14 June 2020 06:36:24 UTC+1, A Gloom wrote:
>>>
>>>
>>> For the record if anyone else wants to know how, you can simply add to 
>>> your browser something like
>>>
 file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]
 and it will behave like any search engine. Works both for Chrome-alike 
 as from the search engine list, and for Firefox as a regular bookmark with 
 an alias.

>>>
>>> :[!is[system]search[%s]] gave mw a Javascript error but useing a normal 
>>> search term instead of % worked fine.
>>>
>>> An note to any one reading-- a lag before anythng displays is normal 
>>> when using a filter in the permalink.
>>>
>>>
>>> This trick can also be used with Google docs and sheets (though not 
>>> tested with a local wiki): 
>>> https://groups.google.com/d/msg/tiddlywiki/dR8hVQYR2P8/QSLZB-HkDwAJ
>>>
>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6f04bfd0-aa01-460c-9bd6-80eec4df1bbao%40googlegroups.com.


[tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-06-14 Thread TW Tones
Duarte,

How do you specify the alias in chrome and/or FireFox. IF I understand 
correctly this can be entered in the address bar and the value following 
passed into the bookmark(lete) ?

Regards
Tony

On Monday, June 15, 2020 at 3:47:28 AM UTC+10, Duarte Farrajota Ramos wrote:
>
> The %s string is a common placeholder for search terms, not something you 
> would enter literally into the address bar.
> Say you setup a Firefox bookmark with name My Wiki, address file:
> ///D:/TiddlyWiki.html#:[!is[system]search[%s]] and alias wiki.
> If you then type into the address bar the alias followed by a space then a 
> search term like say  wiki personal notes it would then automatically 
> resolve the address and take you to file:
> ///D:/TiddlyWiki.html#:[!is[system]search[personal notes]] .
>
> If you literally type  file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]  
> into the address bar it will apparently show a javascript error, if you 
> want to just type directly you would have to actually write  
> file:///D:/TiddlyWiki.html#:[!is[system]search[my 
> search terms]] manually.
>
>
>
>
> On Sunday, 14 June 2020 06:36:24 UTC+1, A Gloom wrote:
>>
>>
>> For the record if anyone else wants to know how, you can simply add to 
>> your browser something like
>>
>>> file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]
>>> and it will behave like any search engine. Works both for Chrome-alike 
>>> as from the search engine list, and for Firefox as a regular bookmark with 
>>> an alias.
>>>
>>
>> :[!is[system]search[%s]] gave mw a Javascript error but useing a normal 
>> search term instead of % worked fine.
>>
>> An note to any one reading-- a lag before anythng displays is normal when 
>> using a filter in the permalink.
>>
>>
>> This trick can also be used with Google docs and sheets (though not 
>> tested with a local wiki): 
>> https://groups.google.com/d/msg/tiddlywiki/dR8hVQYR2P8/QSLZB-HkDwAJ
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f1c755f9-0c37-4884-b64f-4ba9370a5769o%40googlegroups.com.


[tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-06-14 Thread Duarte Farrajota Ramos
The %s string is a common placeholder for search terms, not something you 
would enter literally into the address bar.
Say you setup a firefox bookmark with name My Wiki, address file:
///D:/TiddlyWiki.html#:[!is[system]search[%s]] and alias wiki.
If you then type into the address bar the alias followed by a space then a 
search term like say  wiki personal notes it would then automatically 
resolve the address and take you to 
file:///D:/TiddlyWiki.html#:[!is[system]search[personal 
notes]] .

If you literally type  file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]  
into the address bar it will apparently show a javascript error, if you 
want to just type directly you would have to actually write  
file:///D:/TiddlyWiki.html#:[!is[system]search[my 
search terms]] manually.




On Sunday, 14 June 2020 06:36:24 UTC+1, A Gloom wrote:
>
>
> For the record if anyone else wants to know how, you can simply add to 
> your browser something like
>
>> file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]
>> and it will behave like any search engine. Works both for Chrome-alike as 
>> from the search engine list, and for Firefox as a regular bookmark with an 
>> alias.
>>
>
> :[!is[system]search[%s]] gave mw a Javascript error but useing a normal 
> search term instead of % worked fine.
>
> An note to any one reading-- a lag before anythng displays is normal when 
> using a filter in the permalink.
>
>
> This trick can also be used with Google docs and sheets (though not tested 
> with a local wiki): 
> https://groups.google.com/d/msg/tiddlywiki/dR8hVQYR2P8/QSLZB-HkDwAJ
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5d22186e-821f-4d1e-be1b-8e01b686acc6o%40googlegroups.com.


[tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-06-13 Thread A Gloom

For the record if anyone else wants to know how, you can simply add to your 
browser something like

> file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]
> and it will behave like any search engine. Works both for Chrome-alike as 
> from the search engine list, and for Firefox as a regular bookmark with an 
> alias.
>

:[!is[system]search[%s]] gave mw a Javascript error but useing a normal 
search term instead of % worked fine.

An note to any one reading-- a lag before anythng displays is normal when 
using a filter in the permalink.


This trick can also be used with Google docs and sheets (though not tested 
with a local wiki): 
https://groups.google.com/d/msg/tiddlywiki/dR8hVQYR2P8/QSLZB-HkDwAJ

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/43d54b15-2213-4ef8-9c2a-cd4bf3769d83o%40googlegroups.com.


Re: [tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-06-11 Thread Rizwan Ishak
Most welcome. May be there is a need to highlight this feature a bit more.

On Thu, 11 Jun 2020, 20:25 Duarte Farrajota Ramos, 
wrote:

> Wow indeed! Wasn't aware of these extended permalink features, should have
> read the documentation more carefully.
> This works like a charm, exactly what I wanted.
>
> For the record if anyone else wants to know how, you can simply add to
> your browser something like
> file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]
> and it will behave like any search engine. Works both for Chrome-alike as
> from the search engine list, and for Firefox as a regular bookmark with an
> alias.
>
> Many thanks for the help, Riz, just what I was looking for.
>
> On Thursday, 11 June 2020 15:24:45 UTC+1, Riz wrote:
>>
>> See https://tiddlywiki.com/#PermaLinks
>>
>> You can specify a filter in the URL. Since there is a search operator in
>> filters, you can actually pass search variable in URL to Tiddlywiki.
>>
>> Tiddlywiki has ton of functionality that is kinda hidden in Documentation.
>>
>> --
> 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/qBZa9XP5c4I/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/65698a6d-8f5d-4bb2-9453-a8d5748185bco%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAO0b0pHXMkmgY_z896h_puneQgidqEs%3DrBvaBVFZZgA-xyu0mA%40mail.gmail.com.


[tw5] Re: Local Search Engine - Passing search parameters from address bar

2020-06-11 Thread Duarte Farrajota Ramos
Wow indeed! Wasn't aware of these extended permalink features, should have 
read the documentation more carefully.
This works like a charm, exactly what I wanted.

For the record if anyone else wants to know how, you can simply add to your 
browser something like
file:///D:/TiddlyWiki.html#:[!is[system]search[%s]]
and it will behave like any search engine. Works both for Chrome-alike as 
from the search engine list, and for Firefox as a regular bookmark with an 
alias.

Many thanks for the help, Riz, just what I was looking for.

On Thursday, 11 June 2020 15:24:45 UTC+1, Riz wrote:
>
> See https://tiddlywiki.com/#PermaLinks
>
> You can specify a filter in the URL. Since there is a search operator in 
> filters, you can actually pass search variable in URL to Tiddlywiki.
>
> Tiddlywiki has ton of functionality that is kinda hidden in Documentation.
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/65698a6d-8f5d-4bb2-9453-a8d5748185bco%40googlegroups.com.