Just in case this can give you some ideas: [Idea] Export minimal wiki for iframes - #9 by Charlie_Veniot
And details: [Idea] Export minimal wiki for iframes - #12 by Charlie_Veniot
Just in case this can give you some ideas: [Idea] Export minimal wiki for iframes - #9 by Charlie_Veniot
And details: [Idea] Export minimal wiki for iframes - #12 by Charlie_Veniot
This reply relates specifically to including content with an iframe. Other answers in this thread are using other approaches. And I raise quite a few above. This is not automatic, but requires interaction, but is one way to improve distribution of content between wikis. Personally my key methods are;
The iframe approach
The iframe will display what ever you ask of course. If the whole wiki is given as the source, or one tiddler within it (with a permalink) the whole wiki is loaded. However like any wiki you view in a regular tab, you can alter what view you get of the wiki, such as a particular tiddler(s) Permalink/Permaview, different default tiddlers, sidebar showing or hidden etc…
?
Keep in mind with this load whole wiki method that if you externalise the javascript you will only load your content tiddlers from file (if the javascript is already in the cache)
If you want only to Load a specific tiddler and not load the whole wiki then that tiddler needs to be “stand alone” there are two obvious ways;
Note that with TW 5.30 prerelease, this is now entirely doable with just wikitext:
I have packaged the code for loading tiddlers from one wiki into another:
https://saqimtiaz.github.io/tw5-plugins-sandbox/#ExternalContent
Impressive as always! I can see all sorts of possible uses.
Note two minor typos in the “Loading content on demand” sample code:
- <$button actions=<<loadMyWiki>> load content </button>
+ <$button actions=<<loadMyWiki>> > load content </$button>
<!-- ^ ^ -->
Thank you Scott, I will push out a correction later in the day.