Kind of related, as per my latest update in Local storage prototype: 
TiddlyWiki and BASIC data exchange 
<https://groups.google.com/g/tiddlywiki/c/ALUN9aSDBuw/m/OWdV5btqAAAJ>, is 
the ability for every thing of "same site origin"  can share/communicate 
with every other thing.


On Sunday, February 13, 2022 at 6:06:59 PM UTC-4 Charlie Veniot wrote:

> https://youtu.be/sW5BIuFFyE8
>
> I didn't even acknowledge the TiddlyWiki community in this latest video, 
> because I wasn't thinking about how it could be of interest to TW folk.
>
> Well, maybe it would be of interest to folk for this use case:
>
> A TiddlyWiki instance (here the BAM Programming Reference) enhancing 
> content by displaying (right there, in an iframe) related content coming 
> from another TiddlyWiki instance (here, the BASIC Anywhere Machine IDE and 
> source code repository.)
>
> Done via the magic of 
>
> See the "Keyword Viewer" tiddler in the BASIC Anywhere Machine 
> Programming Reference 
> <https://basicanywheremachine.neocities.org/BAM_ProgReference.html> , 
> where you'll find a "{{||tKv}}".  The "tKv" template tiddler involves the 
> "tEx" template tiddler which, finally,  has the magic:
>
> `
> <iframe src={{{ [[
> https://basicanywheremachine.neocities.org/BAM_IDE.html?target=]] 
> [<currentTiddler>split[#️⃣]first[]else<currentTiddler>] [[#View%20Program]] 
> +[join[]] }}} style="width:100%;height:500px;resize:both;overflow:auto;">
> </iframe>
>
> <$vars thisFilter={{{ [<currentTiddler>addprefix[(?i)\b]addsuffix[\b]] }}}>
> <$list filter="[tag[sample]regexp:text<thisFilter>]">
>
> <details><summary>{{||fL}}</summary>
> {{!!text}}
> </details>
>
> </$list>
> </$vars>
> `
> Dissecting BASIC Anywhere Machine 
> <https://basicanywheremachine.neocities.org/BAM_IDE.html> TiddlyWiki's 
> "View Program" tiddler, you'll find:
>
> `
> <$list variable="thisTarget" 
> filter="[[$:/info/url/search]get[text]removeprefix[?]split[&]removeprefix[target=]uppercase[]search-replace:g[%20],[
>  
> ]]" >
>
> ! <<thisTarget>> Sample Programs
>
> <$vars caselessTarget={{{ 
> [<thisTarget>search-replace[$],[]addprefix[(?i)\b]addsuffix[\b]] 
> [<thisTarget>split[]match[$]addprefix[\]] +[join[]] }}}>
> <$list filter="[tag[.bas]regexp:description<caselessTarget>]">
>
> <details> <summary><<currentTiddler>>{{||Run Basic Program 
> Button}}</summary>
> <div style="margin-left:5px;border-left:1px solid lightgray;">
>
> {{!!text}}
> </div>
> </details>
> </$list>
> </$vars>
> </$list>
> `
>
>
>

-- 
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/8c224495-8ec4-45ad-9673-409dfac51965n%40googlegroups.com.

Reply via email to