As far as I am aware, Tiddlers are stored in a MySQL store (maybe one
On Oct 27, 2:44 pm, Plausible <Verreh...@yahoo.com> wrote:
> Hello,
>
> So I learn that in TiddlySpace a tiddler called myTiddler can be
> accessed using mySpaceName.tiddlyspace.com/myTiddler.txt
>
> Are tiddlers actually stored like that,
of the other guys can give you more info on this, and [1] might help
too). However there are numerous serialisations of a tiddler
available. You can get
.txt
.html
.json
.atom
serialisations of your tiddlers.
> Are tiddlers actually stored like that, and does the html space file
> get 'built' from these files, or is it the other way around? Is there
> a doc explaining such matters?
Just to add a bit to what Colm and Ben have said:
Internal to itself TiddlyWeb passes around Tiddler's as objects. At
boundaries between places (such as between the main code and the
storage system or the main code and the web server) the objects are
turned into different forms. On the web side these forms are called
representations. By default in TiddlyWeb the representations are
text, JSON and very plain HTML. TiddlyWebWiki adds TiddlyWiki and
richer HTML (tiddler wikitext rendered as HTML).
Other server-side plugins add other representations, such as Atom.
At the storage interface the tiddler objects are turned into
whatever is useful for that that storage system. In the case of
TiddlySpace they become rows in a set of database tables. In core
TiddlyWeb they become files of text stored on disk in a hierarchy of
directories. As you've read, the text files look just like what
you'll see at /bags/foo/tiddlers/bar.txt.
There are lots of storage and representation (and other) tiddlyweb
plugins here:
http://pypi.python.org/pypi?%3Aaction=search&term=tiddlywebplugins
A fair few of those are used with TiddlySpace:
atom
caching
console
form
instancer
lazy
magicuser
mysql
oom
openid2
pathinfohack
prettyerror
reflector
sqlalchemy
status
utils
cookiedomain
differ
hashmaker
logout
mselect
socialusers
virtualhosting
wikklytextrender
(I've probably left out a few)
> (2) http://code.google.com/webfonts/preview gives you some HTML and
> some CSS to include a font in your webpage. I reckon for TS the CSS
> could go in StyleSheet; but where to put the HTML <link ...> thingy?
I do this in my own space. You don't need to put a <link > thingy
anywhere. What I did was:
* upload the font file as a binary tiddler
* add some stylesheet info
http://cdent.tiddlyspace.com/bags/cdent_public/tiddlers/StyleSheetFonts.html
* make sure that StyleSheetFonts is included in StyleSheet
--
Chris Dent http://burningchrome.com/
[...]
It does - it's just not very well exposed; you need to manually trigger
saveChanges, e.g. via the macro of the same name:
http://tiddlywiki.org/wiki/SaveChanges
We're working on making the offline experience more seamless.
-- F.