Upgrading my TW

75 views
Skip to first unread message

Bob Jansen

unread,
Sep 15, 2020, 2:29:14 AM9/15/20
to TiddlyWiki
I am writing a TW that will be distributed to several test users. Each will obviously add their own data into their own copy.

How can I release a new version so they can upgrade whilst saving all their data? I have looked at the upgrade.html file and this seems to be aimed at upgrading the TW core, etc, not my own code.

Is there a user upgrade facility?

bobj

PMario

unread,
Sep 15, 2020, 3:15:18 AM9/15/20
to TiddlyWiki
Hi,

They should make a backup of their own version first !!!!

 - They can download "your new version.html"
 - Open it in the browser
 - Open the file explorer
 - Drag & Drop import "their" version into "your" version
 - There will be an import dialog.
 - They can decide which tiddlers to import
 Done!

mario

amreus

unread,
Sep 15, 2020, 4:31:47 AM9/15/20
to tiddl...@googlegroups.com
Using the filter tab in AdvancedSearch, export all your plugin tiddlers as json. A proper plugin will contain all your tiddlers under your namespace, i.e

$:/plugins/bobj/plugin1/tiddler1
$:/plugins/bobj/plugin1/tiddler2

The filter to get all your plugin tiddlers might look like:

[prefix[$:/plugins/bobj/plugin1]]

Have your users import the exported json file.  They can even import over the network (in Windows at least) if you host the json file online (Github works.)

(editied to add plugin for namespace)
Reply all
Reply to author
Forward
0 new messages