First a description of what I hope for. Very cool actually: imagine an iframe, in your TW, that you can dragn'drop import links from. This iframe could contain an aggregated
collection
of tiddlerlinks from many different TWs. For instance
an iframe with "My top 10 plugins" with nice CSS so it looks like an
app store! Poeople who get this iframe really get a live peekhole to put in their own TW's. Such an iframe (the html code for it) could be posted e.g here as plain text, or if it is your "top list" then it could be hosted on your public TW for others to import as normal.
As we know, iframes don't allow for this - but here are
two things (so please read 'til the end) I've found that just might...
1)
Insert the following into a tiddler:
Inside iframe, scroll up to see the sidebar. Click+drag tiddler
HelloThere as an attempt to import it into your local TW. You get a js error... BUT, at least in my browser, you also get a redirection to, well,
hellothere.com ! (If you have unsaved stuff in your tw you'll first get the usual "are you sure you want to leave" alert).
Could this be a wormhole in the iframe? Or, at least something we can exploit to be able to import stuff, by drag n'drop tiddlertitles from iframes.
It does appear to actually be the link dragged since you really can transfer it to the brower address field and you do see the actual title being dragged.
2)
Now, if the above wormhole is not a viable route after all, then I'm wondering if something like what is outlined
here (iframes and postMessage() command) could be used? Perhaps if there was (is?) some identifier to all links in a TW page, i.e built into core, so that you know that you can always find the url(?) for a tiddler on any TW as:
url to import = src (as stated in iframe) + identifier + tiddlertitle
If that makes no sense, you're probably right, but what I'm after is some way to "convert" whatever it is that IS dragged out of the iframe into the form of an actually importable link.
Thank you!
<:-)