Issues with TiddlyWiki backstage sync in tiddlyspace

66 views
Skip to first unread message

chris...@gmail.com

unread,
Nov 6, 2012, 6:50:31 AM11/6/12
to tiddly...@googlegroups.com, tiddl...@googlegroups.com


This message refers to this issue:

https://github.com/TiddlySpace/tiddlyspace/issues/995

Since the release of most recent non-beta of TiddlyWiki the backstage
sync panel presented by TiddlyWikis generated in TiddlySpace present
errors about missing macro text. This is due to the removal of the
"sync" macro from the TiddlyWiki core.

Returning that macro (as a plugin), while fixing the missing text
errors, does not result in working sync. In modern browsers actions to
perform a sync of an offine tiddlywiki with its online pair result in
network errors, mostly CORS related.

That ticket (and this message) seeks input on how best to resolve this
situation, both the immediate short term error, and the long term
need[1] for offline sync. I'm posting this message to both
[tiddlyspace] and [tiddlywikidev] to try to reach a larger audience
than the ticket alone would reach. It is important to get input on
possible solutions from a wider audience because there is no longer
any significant TiddlyWiki expertise within the core developers
working on TiddlyWeb and TiddlySpace[2].

If you have thoughts or comments please post them here or on the
ticket.

[1] I'm only assuming this is a need. How critical is the feature of
being able to download a tiddlywiki, make changes and sync them back?
Downloading has been shown to be very important, but sync, less so. It
would be good to get some confirmation one way or another.

[2] It would be great to have such expertise, so if you are interested
in helping out with the use of TiddlyWiki in TiddlyWeb and
TiddlySpace, please shout out: Open source projects can only be
successful with a full complement of contributions from the community.

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

GJRobert

unread,
Nov 7, 2012, 11:25:38 PM11/7/12
to tiddly...@googlegroups.com, tiddl...@googlegroups.com
Here is a need~ But sorry I don't have expertise :(

My use case:
Downloading an offline version of a TSpace to a tablet, going around while turning the wifi/3G off (for battery saving mostly). It may be REALLY helpful if the offline version can be edited and saved locally, and later synced back to the server when the device gets connected again.

There was a time when this was possible, perhaps early 2011? I recall that TSpace has got a hack day for syncing functionality. During that time, not only "unplugged" TSpace can work offline and later save changes back, but also it was working for a separated saved offline file.

I would hope that an offline TSpace file can save locally
(on a PC, possible with TiddlyFox, but on an Android tablet this is currently not possible; I have tried to open the TSpace file with AntTidWiki but it's not working there, maybe due to TSpace specific plugins?)
and can also sync it's changes back to TSpace server
(now this part may be relevant to this ticket).

The reason that an "unplugged" online TSpace page is not enough for me: the nature that Android manages its memory, which would forget web page states and release the memory after a while, so any change done to an unplugged TSpace page is at risk of disappearing anytime.

I'd appreciate if anyone else in the community can help the syncing function of TSpace to move out...

Chris Dent於 2012年11月6日星期二UTC+8下午7時50分44秒寫道:

G.J.Robert Ciang

unread,
Nov 13, 2012, 8:56:25 PM11/13/12
to tiddl...@googlegroups.com, tiddly...@googlegroups.com
Hi, sorry I was wrong about the saving capability on Android, so I'm here to renew the information. To some of us, this may be commonly known already...
Actually, the exported TSpace HTML file should be able to be edited on both PC and Android mobile devices.
*On PC using Firefox with TiddlyFox: working
*On Android using AntTidWiki: working
(I forgot to turn on the AutoSave setting for the HTML file, so that's why I thought saving is not working on AntTidWiki. Manually saving the changes or using AutoSave can both complete the task.)

This way, I may use such scenario to edit TSpace offline file and then save the changes back online:
#Export from online space to a file and put it on Android devices
#Edit and save with AntTidWiki
#Sync the file back to PC (using DropSync/Dropbox or some other handy tools)
#Open it on PC with Firefox+TiddlyFox, and export only the changed tiddlers using ExportTiddlersPlugin (a great TiddlyTool!), to a seperate small file (w/ or w/o the core code).
#Open the online space and import the small export file and finish the trick.

With this working solution, you may think that the priority for a real on-page sync mechanism for TSpace is lowered. I will be happy to see it eventually back someday though.

Cheers,
G.J.Robert

G.J.Robert Ciang於 2012年11月8日星期四UTC+8下午12時25分39秒寫道:
Reply all
Reply to author
Forward
0 new messages