Hello everyone, 

As you may know I'm working on a pouchdb sync adapter for TiddlyWiki. For those 
that does not know about pouchdb it is a database that lives in the browser 
permanent store that has the ability to sync to a remote database. This is 
awesome and the best usage for this library is sync it to a remote server. 

Anyway I want to give the possibility to save the wiki in a more traditional 
way. If you want to use your wiki in a different computer or browser without a 
server as sync point all you have to do is to click save, download the html 
file and you're ready. 

And I want your opinion about the best way of doing this. The way I envision it 
is as follows :

1. You click the download button. 
2.The database is packed into a special tiddler 
3. The html file containing that tiddler is downloaded 
4. When the wiki is opened the plugin checks if that special tiddler exists. If 
it does then it unpacks that tiddler and loads it into the browser's database. 
5. Should that tiddler be deleted? 

I have other doubts about this work flow. Should the plugin look for this 
tiddler only if the current database is empty or should do it anyway? If 
revisions are managed properly this can be used to sync different versions of 
the same wiki without any server at backend. 

I really appreciate your point of view. Regards. 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55338a9f-f969-43f2-a3a9-d15d21c792d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to