I've been looking at the tiddlyweb adaptor code used within tw5:

    
https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/tiddlyweb/tiddlywebadaptor.js

I'm trying to determine how it needs to change to work with the
"comps" concept I'm developing in tank[1]. I've made it work for
tiddlywiki classic and would now like to make it work with tw5.

From reviewing the above code it looks like it relies upon /status
providing a recipe value, which means that the current code will only
work with tiddlyspace, but not a plain tiddlyweb server. This is
because status only provides recipe information a situation where the
HTTP_HOST identifies a space, which then identifies a recipe.

In a plain tiddlyweb situation the recipe (or bag) needs to be parsed
out of the location.pathname or be provided in bootstrapping code. A
request to /status simply can't know.

So my main question is how to make that happen? I can probably figure
out how to make the necessary changes to the code, but I'm not certain
about the build process. Is there a guide?

There also appears to be a bit of confusion about keeping track of the
bag and recipe on individual tiddlers as a way of knowing where to
save the tiddler.

[1] https://groups.google.com/forum/#!topic/tiddlyweb/lCPFLO9zSKY

--
Chris Dent                                   http://burningchrome.com/
                                [...]

--
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to