Hi Mat

> What we really need is "remote transclusion", where TiddlyWiki
dynamically loads remote content as tiddlers. That means that the remotely
loaded content will be available to list widgets and so on. All we need is
a CORS enabled server to make this work.

> There are a couple of techniques we can use to do that, and it's
definitely on my list.

I've now prototyped an approach that I think can work for these "remote
transclusion" scenarios. The prototype takes the form of the new plugin
library in 5.1.8. It works by loading the target resource into an IFRAME
and then communicating with it via window.postMessage().

In 5.1.9 and beyond we'll build out the federation features to do more than
just plugin importing.

Best wishes

Jeremy.






On Wed, Feb 25, 2015 at 11:47 PM, Mat <matiasg...@gmail.com> wrote:

> On Sunday, November 23, 2014 at 9:55:42 AM UTC+1, Jeremy Ruston wrote:
>
>
>> What we really need is "remote transclusion", where TiddlyWiki
>> dynamically loads remote content as tiddlers. That means that the remotely
>> loaded content will be available to list widgets and so on. All we need is
>> a CORS enabled server to make this work.
>>
>> There are a couple of techniques we can use to do that, and it's
>> definitely on my list.
>>
>
>
> I just found a really nice article
> <http://www.html5rocks.com/en/tutorials/webcomponents/imports/> on "HTML
> imports" which sounds like something very useful for us. Quote:
>
> *"HTML Imports <http://w3c.github.io/webcomponents/spec/imports/>, part of
> the Web Components <http://w3c.github.io/webcomponents/explainer/> cast, is
> a way to include HTML documents in other HTML documents. You're not limited
> to markup either. An import can also include CSS, JavaScript, or anything
> else an .html file can contain. In other words, this makes imports a
> fantastic tool for loading related HTML/CSS/JS.*"
>
>
> <:-)
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to