Dave, I feel for your requirement as I have seen this as an issue for some time. As a result I have being squirreling away ideas for some time.
Can I suggest just capture the permalinks as they are and then use a macro to rebuild them in an additional link. You can use remove prefix and addprefix to take away file://C:// and replace it with http://wikiname.tiddlyspot/tiddler or what ever Happy to provide you more but do you see what I am suggesting? Regards Tony On Thursday, November 28, 2019 at 11:13:47 PM UTC+11, David Gifford wrote: > > Hi all > > I have an idea, but am not sure what to think about it. > > In my own notetaking system, I have a central TW with summaries of my > notes, and several book TWs, each containing excerpts from multiple books I > read. In the central TW I have short summary statements about a topic, and > links to the relevant tiddler in the book TW. I obtain that link quickly > because in my book TWs I have the permalink button visible in the > viewtoolbar, and I grab the permalink to the tiddler for that chapter of > the book when I am ready to go to the central TW and add summaries of that > chapter's contents. > > This works really well for my own system, with the caveat that the > permalinks are full links to filepath in my computer. At such time as I > change computers, I am going to need to make sure the filepath is > identical. Woe to me if Windows ever decides to make it impossible to do > that. > > Anyway, as some of you know, I also publish multiple TWs with web content > in Spanish. In that system I just want to link back and forth between > files. And here is my problem. If I want to quickly grab the permalink from > a tiddler in one TW and paste it in the tiddler of another TW, the > permalink will be to the filepath in my local computer. But when I publish > that to the web, that won't help anyone. It needs to be a link to the > tiddler in the TW on the web, with an URL, not a local filepath. > > So I wondered if there would be a way to clone the shadow permalink > tiddlers and create a parallel permalink system that, instead of grabbing > the full filepath, is set up to grab only the filename and tiddler anchor > (i.e., currentfilename.html#current%20tiddler), and prefix it with the > predetermined relative path needed to navigate from one tiddler to another, > assuming they are in the same folder, or same folder hierarchy, locally or > online (say, ../ or something like that). > > I did a search for permalink for the shadow tiddlers on tiddlywiki.com, > and read them, but don't really understand it well enough to know if this > idea is even possible. It seems like the key is "tv-config-toolbar-text", > but that is in the core. > > So my questions are, given my use case, > > 1) Is something like what I am suggesting possible? > 2) Am I going about it all wrong? Is there a better way to think about my > use case? (in my case, using Bob or some other solution to edit yet share > online is less appealing, as I already have my own website) > > Currently, without the permalink idea, the next fastest system I can think > of for pasting permalinks between multiple TWs would be > > a) permalink the target tiddler of file A.html and grab only the tiddler > part of the filepath (#this%20tiddler) > b) go to the TW where I want the link, and stamp the relative online link > to the target tiddler from a list of prefabricated snippets > ([ext[link|../fileA.html]]) > c) paste the tiddler info from step a after html in step b > > This seems more cumbersome and tedious than my current system, where I > have one button to add [ext[link|]] and then I just insert the permalink I > grabbed from the other file and tiddler. The extra steps are > > a) in the target file, taking time to highlight and copy the part of the > permalink I need > b) in the file I am editing, digging through a list of snippets in the > stamp tool to find the right one, especially if the number of files that I > interlink online grows to quite a few, which is quite likely. > > [edit: Maybe one stamp with [ext[link|../]] is the answer? And just paste > the filename and tiddler anchor from the target file? But I still would > like to hear what other ideas you guys come up with.] > > Anyway, sorry for the long explanation. But I thought it worth taking your > time, because this would be a valuable solution not just for me, but for > anyone who wants a system with multiple interlinking TWs that they either > want to publish online or send to someone by email or dropbox, but where > the interlinking still works no matter what new context the TWs are in. > > Blessings, Dave > -- 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/2e385a0b-d871-46ce-9449-db78f1bc3426%40googlegroups.com.