Hi PMario, thank you for that explanation. As it turns out, for both my notetaking and the web materials, I can keep all the files in one folder. So as long as I use [ext[|]], I can just add the filename.html#anchor and it works fine both online and on my kompooter. I don't need "path notation" such as /../ etc. So the process I mentioned in my response to Tony works fine, just manually grab the part of the permalink I need and paste it in an external link snippet.
I don't know how to mark threads as completed, but for my concerns, I am all set. Thank you all for your help! Dave On Friday, November 29, 2019 at 5:02:53 AM UTC-6, PMario wrote: > > Hi Dave, > > The problem is, that file-based URLs are handled different than server > based URLs. TW offers some $:/info/url/xxx elements, that could be used to > create relative links easily ... IF ... they where all server based. > > The server based components look like this: > > $:/info/url/origin + $:/info/url/pathname + #myTiddlerName%20other-tiddler > http://localhost + /tw/aa.html + #myTiddlerName%20other-tiddler > > So you can see, origin is your hostname and pathname is the TW file. > Everything after # is the hash. > > > File based looks like this: > > $:/info/url/origin + $:/info/url/pathname + #myTiddlerName%20other-tiddler > null + /C:/Users/Mario/Downloads/aa.html + .. > > So ALL the info is part of the pathname, which makes it very hard to > separate the elements, because we don't know where. > > So we will need at least 2 config parameters: > > - local-origin: /C:/Users/Mario/Downloads > - local-path: /aa.html .... this may be /my-local/dir/aa.html > > With this info it should be able to create something. ... BUT ... It needs > configuration, which is a user interaction and therefore error-prone. > > AND /my-local/dir/ may be different between file and server. In my > example it is / and /tw . So may be we need 3 config parameters. > > *Question*: How do your paths look like? > > -mario > > -- 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/ab9d8f39-9124-4419-aa71-2e84f3a12425%40googlegroups.com.

