Iframe and local html file

87 views
Skip to first unread message

Mohammad

unread,
Jan 30, 2019, 12:07:03 PM1/30/19
to TiddlyWiki
It is possible to use iframe and load local html file inside a TW

like below

Example

The below test.html located in examples folder

<!DOCTYPE html>
<html lang="en">
<head> <meta charset="utf-8">
<title>An HTML page</title>
</head>
<body>
<h1>An HTML page</h1>
<p>This is an HTML page.</p>
</body>
</html>


Then in a tiddler load it as below

<iframe src="examples/test.html" width=100% height=300/>


This way you can make a library of your offline sites or pages in TW.

My question is has anybody experiences on this from performance point of view?

--Mohammad

TonyM

unread,
Jan 30, 2019, 8:10:10 PM1/30/19
to TiddlyWiki
Mohammad,

I started playing with it and my guess performance opening is related to tiddler size, and performance running depends on what is encoded in the html, so not much overhead.

This feature should allow using tiddlywiki as a html design, build and test environment (and host/serve). We then could use a bulk export to hosting.

I am keen to play with html javascript solutions that abound on the internet and open source environment.

I have joined and initiated a number of conversations on related issues recently.

Watch this space
Tony

Mohammad

unread,
Jan 30, 2019, 11:05:22 PM1/30/19
to TiddlyWiki
Thanks Tony!
I appreciate  to share us your findings in this regards.

--Mohammad

S. S.

unread,
Jan 31, 2019, 12:34:51 AM1/31/19
to TiddlyWiki

There were two recent discussions related to this on tiddlywikidev Google Groups:

Announcing the "innerwiki" plugin

Help from Web Developer - iframe interaction

I imagine the first link will interest you.

Mohammad

unread,
Jan 31, 2019, 12:37:51 AM1/31/19
to TiddlyWiki
Thanks S.S,
Reply all
Reply to author
Forward
0 new messages