Folks,
This thread is a new and separate one as a result of another inadvertently dividing into two threads. If the same changes are needed to help both threads I will leave to those with core coding skills.
Display a Single tiddler from another TiddlyWIki
I was interested in the ability to use a link to a tiddler in a wiki (from another tiddlywiki or website) that opened a tiddler, somewhat like a permalink would do, except to open the selected tiddler and nothing but that tiddler, no side bar, toolbar (optionally) nothing. An example use case is a link or iframe to
https://tiddlywiki.com/#Filter%20Operators as a reference.
Whilst what am asking could also be described as Implementing a true single tiddler display mode it is in fact different to improving the single tiddler
I understand this would load the whole wiki to display a single tiddler, I am fine with that because I may want to build sophisticated tiddlers but it would be helpful if we could give a single tiddler total focus and no apparent chrome around it.
One of my motivations is when I have content I want to share with the world and its in my Wiki, in a tiddler, I want to publish it to the world without needing tiddlywikis interface to be there by default. I also want to do this for myself such as open in new window single tiddler views. The interaction with the underlying wiki can be dealt with buy the tiddlers author.
Comments relating to this in the other thread;
That actually sounds like the easiest thing to do out of everything discussed here. All you need to do is hide the sidebar and make the background the same color as the tiddler. Then insert a widget in the tiddler that prevents navigation and put the tiddler content inside that. Or just don't have any navigation in the tiddler.
I agree that this would be desirable. I guess it would be similar to tiddlers exported in html format. TiddlySpace had something like this (TiddlySpace is not to be confused with TiddlySpot). Shouldn't this be relatively simple to do with the node version of TW?
BTW, for this type of single and totally independent tiddlers I think we should try to implement optional "static solutions" for as many of the widgets/macros as we can. CSS is getting increasingly more powerful and a lot of things that were only possible with js can now be done on CSS, which works in static presentations.
Lets not throw the baby into hot-water urging "static" on this. I think TonyM's point was that we can increase flexible intelligence in delivery via single Tiddler (no cruft) Mode. I think performance is likely to be good.
Well, the "performance" is to a great extent a result of the wiki, not the tiddler and if I understand Tony then he wants tiddlers that really are as independent as possible, not just styled to hide the rest of the TW. I also find this concept very appealing... even if I must admit I'm not quite sure what I'd do with them
So I would add
On ones own wikis
- One could build a FAQ wiki with Q&A and reference details, and make an index to them in a tiddler, and open the content in that tiddler. Then present only a single page based on a tiddler to the world in an iframe that functionally has a single page yet has all tiddlywikis smarts underneath.
- You could build a set of tools in a wiki (single tiddler) and independently publish/address each of them
On other wikis
- you could reference content in them such as https://tiddlywiki.com/prerelease/#Filter%20Operators without any chrome, sidebars menus etc...
- let the designer decide if you can link to other tiddlers from the published tiddler/wiki or remain "shandboxed" in that wiki
Regards
Tony