Jan,

I just had a look at etherpad, and reminds me of document part the now 
defunct Google Wave, but various google and Microsoft products have similar 
editing opportunities. 

I see why you value having a iframe to access such documents. In addition 
to multi-user documents it gives rise to a WYSIWYG editor. 

Always wishing to extend the functionality within tiddlywiki, I can see how 
this may be away to address some of out multi-user issues with tiddlywiki.

Given it is an open source environment, and tiddlywiki is too, perhaps this 
is an opportunity to bring the two projects together. Either read only or 
read/write tiddlywikis could delegate shared documents to etherpad as a 
special kind of tiddler, but tiddlywiki is in an ideal position to manage 
the multiple document view into multiple etherpad documents. 

Much of this may already be the case with the iframe solution you are 
working on, so thanks for raising it here. But I think a little deeper 
integration would help both projects.

What may deeper integration look like?

   - Create a new etherpad document from within a special tiddler
   - Seed it with the content of the tiddler before conversion
   - Be able to use the wiki to manage/wrap multiple etherpads
      - Includes searchable and other features
   - Be able to import.export cut/copy and paste between etherpad and 
   tiddlers
      - Include drag and drop and handle conversions if needed.
   - Perhaps the etherpad client component can be made a plugin in 
   tiddlywiki
   - and the etherpad server component deployed with the tiddlywiki node 
   server install

If the technology or the etherpad community is not open to this valuable 
contribution, perhaps the tiddlywiki community could build a method for 
collaborative and external tiddler by tiddler server. Kind of taking the 
external tiddler model further. If we took this path we may be able to 
designer even tighter integration to the extent that once implemented 
interactive "shared" tiddlers could become a feature.

just thinking.

Regards
Tones 



On Saturday, 5 September 2020 07:50:16 UTC+10, Jan wrote:
>
> Hello community,
> recently I stumbled upon a script which is able to adjust the size of an 
> Iframe to the content.
> Because I like to work with external files like etherpads for interaction, 
> this would make a lot of things possible.
>
> Here's a Demo 
> https://css-tricks.com/examples/iFrameResize/crossdomain.php#
>
> <script type="application/javascript">
> function resizeIFrameToFitContent( iFrame ) {
>
>     iFrame.width  = iFrame.contentWindow.document.body.scrollWidth;
>     iFrame.height = iFrame.contentWindow.document.body.scrollHeight;}
>
> window.addEventListener('DOMContentLoaded', function(e) {
>
>     var iFrame = document.getElementById( 'iFrame1' );
>     resizeIFrameToFitContent( iFrame );
>
>     // or, to resize all iframes:
>     var iframes = document.querySelectorAll("iframe");
>     for( var i = 0; i < iframes.length; i++) {
>         resizeIFrameToFitContent( iframes[i] );
>     }} );
> </script>
> <iframe src="usagelogs/default.aspx" id="iFrame1"></iframe>
>
> I wonder if this could be implemented to tiddlywiki.
>
> Two things to change 
> -It needs to hav flexible Ids to allow multiple instances.
> -width should be fixed only the height should adapt.
>
> What do you think, is this possible?
> Best wishes Jan
>
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ff9cbe25-1902-4b4f-ba76-df7681556cbco%40googlegroups.com.

Reply via email to