[Biggie?] Import from iframe works - simple 2 step trick

68 views
Skip to first unread message

Mat

unread,
Jan 10, 2016, 8:02:08 PM1/10/16
to TiddlyWiki, Jed Carty
Ok, this might just be a pretty big deal for fetching plugins or bundles. I've only done some very quick tests but I'm so excited so I can't shut up:

Put a common iframe in a tiddler with the source set to your target TW. For example

<iframe src="http://ooktech.com/jed/ExampleWikis/TiddlerSchools/" style="height:600px; width:600px;"/>

In viewmode you'll see - in this case - @Jeds "tiddler bundler" (initially called "schools"), but it could be e.g tiddlywiki.com or any other site.

Now, as you may know you cannot drag a tiddler/plugin/bundle out of an iframe and drop it straight into your TW, for browser security reasons.

...BUT...

apparently you CAN drag the tiddler/plugin/bundle to the browser bookmark field and drop it there... and drop that bookmark straight into your TW!!!!!

This was news to, at least, me.

<:-)

P.S Things woudl be simplified if tiddlers had links with their own titles to be dragged, intead of locating a title link elsewhere for the tiddler. @Jeremy has mentioned introducing <$draggable> previously and make titles draggable. Would fit well here. Actually, can't one simply add a <a> around the title in the viewtemplate?

David Gifford

unread,
Jan 10, 2016, 8:23:41 PM1/10/16
to TiddlyWiki, inmy...@gmail.com
Wow, that's neat!

Dave

Eric Shulman

unread,
Jan 10, 2016, 10:39:25 PM1/10/16
to TiddlyWiki, inmy...@gmail.com
On Sunday, January 10, 2016 at 5:02:08 PM UTC-8, Mat wrote:
P.S Things woudl be simplified if tiddlers had links with their own titles to be dragged, intead of locating a title link elsewhere for the tiddler. @Jeremy has mentioned introducing <$draggable> previously and make titles draggable. Would fit well here. Actually, can't one simply add a <a> around the title in the viewtemplate?

$:/ControlPanel, Settings tab, scroll down to "Tiddler Titles" and enable "Display tiddler titles as links".   Q.E.D.

enjoy,
-e

Mat

unread,
Jan 11, 2016, 12:41:53 AM1/11/16
to TiddlyWiki, inmy...@gmail.com
@Eric Shulman wrote:

titles as links
$:/ControlPanel, Settings tab, scroll down to "Tiddler Titles" and enable "Display tiddler titles as links".   Q.E.D.

Hehe, yes it did feel like there was something familiar about it. Thanks Eric.

<:-)
Reply all
Reply to author
Forward
0 new messages