Hi Arlen

The primitive operation underlying federation is the ability to pull in 
tiddlers from an external wiki, potentially with the ability to transform them 
as they are imported (eg, to add a title prefix or a tag).

Jed’s work supports standalone wikis to fetch content from other standalone 
wikis (with some restrictions on matching http vs. https). Rather than using a 
straightforward xmlhttprequest, it avoids CORS issues by using a mechanism 
first developed for the implementation of the plugin library: the remote wiki 
is loaded into an iframe and then window.postMessage() is used to request and 
extract tiddlers from it.

Earlier this year, I added the “fetch” command which allows Node.js wikis to 
fetch content from standalone wikis:

http://tiddlywiki.com/#FetchCommand <http://tiddlywiki.com/#FetchCommand>

The piece that is still missing is support for Node.js wikis to fetch content 
from other Node.js wikis using the API rather than retrieving the entire html 
file. (Jed’s robot work might yield a useful start for this).

I’m also now interested in an implementation of federation based on the 
peer-to-peer Beaker Browser (https://beakerbrowser.com 
<https://beakerbrowser.com/>). It would allow us to build a community of 
intertwingled, sovereign wikis without any centralised hosting.

So, I think we already have sufficient primitives for experimentation with 
federation. The challenge has been figuring out a compelling use case and then 
building a usable user interface on top of it. We started by exploring 
recreating a conventional threaded discussion forum. The logic was to try to 
prove that the federation model was sufficiently rich to subsume existing 
collaboration tools. In practice, common feedback was to be puzzled why we were 
excited about an inferior copy of something that already exists.

Best wishes

Jeremy

> On 30 Jun 2017, at 08:19, Jed Carty <[email protected]> wrote:
> 
> What currently exists is almost entirely based on the single file version. 
> Last year Jeremy made the start of what we would need to extend it to use the 
> node version and I am working on some supporting things for my robot that 
> will hopefully help with federation.
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/52cf75b5-62fe-4cd9-a30d-353f198a1a82%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/52cf75b5-62fe-4cd9-a30d-353f198a1a82%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/A17B77B5-4F88-4E9C-B81C-30C698927A44%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to