Hi Tobias,
Quoting Tobias Beer <[email protected]>:
Hi ihm,
Congratulations to creating *twexe*,
it appears to very much simplify getting started
for anyone looking to "just use that wiki" in ways
we could use TWC when browsers were less restrictive,
e.g. "just hit save" / "yes, it creates backups if you want it to" (back
then even rss).
Yes, the good old days of no browser restrictions :)
Two questions for the moment:
1. Can the user specify a backup directory (rather than have backups
saved alongside the wiki)?
Yes, in Control Panel -> Saving -> Backup Directory. Just put the
directory name in there.
BTW, you can also change the "Upload Directory" to something other
than '.' and it will
also automatically save the html file with the name in "Upload
Filename". I use this myself
to write the webpage for github gh-pages.
2. How is it that *_canonical_uri* only works after reload? What do you
need to do to make it so?
Reload is needed only when the _canonical_uri field is added or
changed. Afterwards it doesn't need
reload.
The reason is that I want to keep the server simple, so it only
processes one request
at a time. When the _canonical_uri is added it receives two requests:
one to save the wiki
and one to get the image. The browser doesn't get an immediate
response for the image because
the server is saving the wiki; this is why a reload is needed.
I could solve it with multi-threading, but this opens the door to
instability and many
possible bugs that I want to avoid. There are other possible
solutions, but since it only
happens when the _canonical_uri is added or changed (no reload is
needed after you have
created the tiddler with the proper _canonical_uri field) it is really
not a big issue,
especially since we get much more stability that way.
One major benefit over TiddlyDesktop appears to be:
You simply use your favorite browser ...to search, zoom,
and all that stuff that TiddlyDesktop doesn't implement (yet).
Yes, also it is a very different model. A twixie is an executable
wiki, you can move it, copy it
rename it, and use it just like you use a wiki. Tiddlydesktop is a
whole application. In addition a Twixie is 1MB whereas Tiddlydesktop
is 30MB and it is not meant to represent a single file wiki.
Twexe also upgrades automatically, something harder to do with TiddlyDesktop.
It's great...
1. to simply be able to save entire wiki's rather than tiddlers
Oh yes, that is true, I didn't think about this...
2. to have automatic backups
3. to not (necessarily) fiddle with any command-line but just click-open
a file
- which starts that custom server
I wanted users to have it really easy :)
4. how (I assume) you massage in the right server settings to any
tiddlywiki file that we want to use that way
- and turn it into the kind of executables tweze creates
There are a lot of "tricks" behind the scenes :) hehehe
Making a self-modifying executable in a safe way is not such an easy
thing to tackle.
Thanks!!
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/20151217120524.Horde.NqpcZx3F5X0D153Jy_mtH6A%40www.newsfromgod.com.
For more options, visit https://groups.google.com/d/optout.