Tiddloid: Any way to create a shortcut to a specific tiddler?

134 views
Skip to first unread message

si

unread,
Apr 19, 2021, 4:01:09 PM4/19/21
to TiddlyWiki
This seems unlikely, but I use TiddlyWiki on Android with Tiddloid, and I wondered if there was any way to create a shortcut on the Android home screen that links to a specific tiddler?

E.g. Open the wiki directly to mywiki.html#Shopping%20list. I can't use the browser because I need to be able to save my shopping list as well.

Just wondered if there were any hacks out there. Alternative suggestions welcome.

TW Tones

unread,
Apr 20, 2021, 1:48:50 AM4/20/21
to TiddlyWiki
Si,

If the wikis default tiddler is Shopping%20list this should open each time, but do you want multiple links to the same wiki in Tiddloid?

Perhaps there is a way to edit the address in the shortcut and add a tiddler, or provide a parameter "?shop", look at the info tiddlers to see if the parameters are being passed into the wiki, perhaps there is a way to get the icon name?

Regards
Tones

si

unread,
Apr 20, 2021, 12:02:32 PM4/20/21
to TiddlyWiki
Hi Tones, thanks for the reply.

>>> If the wikis default tiddler is Shopping%20list this should open each time, but do you want multiple links to the same wiki in Tiddloid?

Yep I'm looking to open a link to a tiddler that isn't a default.

>>> Perhaps there is a way to edit the address in the shortcut and add a tiddler

You can create a shortcut to a specific wiki from Tiddloid, but I don't know if there is any way to edit the shortcut once it has been created.

>>> or provide a parameter "?shop", look at the info tiddlers to see if the parameters are being passed into the wiki, perhaps there is a way to get the icon name?

I'm not sure I understand what you are saying here.

TW Tones

unread,
Apr 20, 2021, 8:43:28 PM4/20/21
to TiddlyWiki
Si,

The info tiddlers prefix[$:/info/] store values passed from the URL that opened the wiki. One is $:/info/url/search which passes the values on the URL that follow the "?". if there is anyway to alter the URL that opens the wiki, perhaps you can have the "startup actions" respond to this value, eg; ?shop then if $:/info/url/search  contains shop, then close others and open the "Shopping List" tiddler.

I am only hinting at a possible path, but I think the tiddloid app may need a modification, since you launch the app, not the URL to a wiki.


Regards
Tones

si

unread,
Apr 21, 2021, 10:29:21 AM4/21/21
to TiddlyWiki
Ahh OK got it, thanks for clarifying. Not sure if the search option is necessary, if I can figure out a way to edit the URL of the shortcut then the permalink syntax should be enough.

>>> I am only hinting at a possible path, but I think the tiddloid app may need a modification, since you launch the app, not the URL to a wiki

Tiddloid allows you to create a shortcut to a specific wiki, but not to a specific tiddler as far as I can tell.

I found an app called Shortcut Maker that allows you to make custom shortcuts, and creating a shortcut to Tiddloid lets you edit things like "Action" (android.intent.action.MAIN), "Class Name" (top.donmor.tiddloid.SplashActivity) etc. I have no idea what any of that means, but maybe it is possible to use it to create a shortcut that opens a custom file path with Tiddloid. Anyone reading this with Android knowledge who can comment on this?

scot

unread,
Apr 21, 2021, 12:57:31 PM4/21/21
to TiddlyWiki
Si,
can you not just set the default tiddler under Control Panel of the wiki in use to the tiddler [[Shopping list]] or am I on the wrong track?
Scot

si

unread,
Apr 21, 2021, 1:31:46 PM4/21/21
to TiddlyWiki
@Scot I could but I don't want [[Shopping list]] to be the default tiddler most of the time. I use my wiki for many other things and it would be pretty annoying to have to close the shopping list tiddler every time I open my wiki.
Reply all
Reply to author
Forward
0 new messages