<iframe id="forum_embed"
src="javascript:void(0)"
scrolling="no"
frameborder="0"
width="900"
height="700">
</iframe>
<script type="text/javascript">
document.getElementById('forum_embed').src =
'https://groups.google.com/forum/embed/?place=forum/tiddlywiki-by-psat'
+ '&showsearch=true&showpopout=true&showtabs=false'
+ '&parenturl=' + encodeURIComponent(window.location.href);
</script><script type="text/javascript">
document.getElementById('forum_embed').src =
'https://groups.google.com/forum/embed/?place=forum/tiddlywiki-by-psat'
+ '&showsearch=true&showpopout=true&showtabs=false'
+ '&parenturl=' + encodeURIComponent(window.location.href);
</script><iframe id="forum_embed"
src="javascript:void(0)"
scrolling="no"
frameborder="0"
width="900"
height="700">
</iframe>I understood that a tiddler containingtagged $:/tags/RawMarkup would place this inside the header and register the javascript<script type="text/javascript">
document.getElementById('forum_embed').src =
'https://groups.google.com/forum/embed/?place=forum/tiddlywiki-by-psat'
+ '&showsearch=true&showpopout=true&showtabs=false'
+ '&parenturl=' + encodeURIComponent(window.location.href);
</script>
Then visiting a tiddler containingWould embed the forum, unfortunately it is an empty window<iframe id="forum_embed"
src="javascript:void(0)"
scrolling="no"
frameborder="0"
width="900"
height="700">
</iframe>
Is there any guidance you can give for me to make this instance work, and ideally any such examples so I may document it?
<$vars parentURL={{{ [title{$:/info/url/full}encodeuri[]] }}}>
<$vars srcURL={{{ [title[https://groups.google.com/forum/embed/?place=forum/tiddlywiki&showsearch=true&showpopout=true&showtabs=false&parenturl=]addsuffix<parentURL>] }}}>
<iframe id="forum_embed" src=<<srcURL>> scrolling="no" frameborder="0" width="100%" height="700"></iframe>
</$vars>
</$vars>
I will test and digest this. It seems this may not be as easy as I thought to generalise and depends on your understanding of jscript to find the alternative you suggest.
I wonder if there are only a few ways to embed using such solutions such that we could identify and document the range of cases.
Thanks again
Tony