Create a temporary or arbitrary doorway into TW with input from the URL.

61 views
Skip to first unread message

h0p3

unread,
Apr 26, 2019, 1:05:04 PM4/26/19
to TiddlyWiki
I'm sorry that I don't even know how to ask this question correctly. Is there a way to create a temporary or arbitrary doorway into TW with "input" from the URL? I have no idea if this is possible, but perhaps it may be something most people already know how to do. I'm clueless.

* I would like to embed a search term or filter expression into a link to my wiki which would show the results.
** Here's a link to a list of everything I wrote on 2019.04.21:
*** https://philosopher.life/#:FOOBAR?2019.04.21
** Here's a link to everything I wrote on 2019.04.21 opened in the storyriver:
*** https://philosopher.life/#:FOOBAR?OPENINSTORYRIVER?2019.04.21
** Here's a link to a search for python on my wiki:
*** https://philosopher.life/#:FOOBAR?Python
** Here's a link to a filter expression based search for all Prompted Introspections which mention "Vacation":
*** https://philosopher.life/#:FOOBAR?[search:title[Prompted Introspection]search:text[Vacation]]

* I want to select a look or mode from the URL.
** https://philosopher.life/#:FOOBAR?Nightmode
** https://philosopher.life/#:FOOBAR?Dyslexicmode
** https://philosopher.life/#:FOOBAR?Fontsize=15,Mentat=On,HideSwearWords=On

Mark S.

unread,
Apr 26, 2019, 1:52:50 PM4/26/19
to TiddlyWiki
What is the FOOBAR in your item descriptions? You can pretty much pass anything that you would pass in a filter:

** Opens in story river. Note the day notation has to be without dots for "sameday" to work:


** Search for python :



** Link to a filter expression based search for all Prompted Introspections which mention "Vacation": 

Note that you have to convert spaces to %20 in order to pass them as URL's. This could be done in a macro, possibly, using the url-encode filter.

https://philosopher.life/#:[search:title[Prompted%20Introspection]search:text[Vacation]]

You can select tiddlers that contain mode settings, but I would be surprised if you could set them with a url. That would require a on-open action tiddler, I think. Is there such a thing?

Good luck!
-- Mark

h0p3

unread,
Apr 26, 2019, 6:12:48 PM4/26/19
to TiddlyWiki
Wonderful! Thank you!
Reply all
Reply to author
Forward
0 new messages