Hey guys,

as I have a little problem with my memory occupied by to many wikis 
<https://groups.google.com/forum/#!topic/tiddlywiki/xWpNnABLYbQ>, I started 
digging into the sync adaptors to write my own serving multiple wikis.

One thing I stumbled upon was there seems to be a "bag" field and a 
"recipe" for the tiddlyweb adaptor to rely on. I tried to get my head 
around this but failed to see what is the difference between those, as the 
bag-field seems only to be used when a tiddler should be deleted from the 
storage endpoint. Since I want to comply to the way TW handles the server 
backend and I do not have to rewrite so much stuff maybe someone can help 
me out here.

When a tiddler is stored or loaded a call is made to 
URL/recipes/{recipe}/tiddlers/{title}

But when I delete a tiddler suddenly there is no recipe whatsoever but
URL/bags/{bag}/tiddlers/{title}

So my questions are:

   1. Why is there a difference? They both seem to do the same thing (set 
   the target "server" for the tiddler).
   2. Who is setting this bag-field? The server just to show the tiddlyweb 
   adaptor that it has seen it or the browser?


I did not find anything in the dev wiki <https://tiddlywiki.com/dev> about 
either of those fields so I am left with no clue.


Thanks in advance for any help,

Tristan

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/cd5eb49a-d72a-4074-8be2-9904bb627000%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to