On Wed, 18 Jul 2012, Jeremy Ruston wrote:

Possible media type ideas follow. These are just pulled out of my head
I prefer the group 1 suggestions. The only thing that concerns me is
that we end up with the newly introduced unqualified content types
referring to a format that I at least hope will become obsolete in the
near future.

So, how would this look:

* application/vnd.tiddlywiki: a TiddlyWiki 5+ document (e.g empty.html)
* application/vnd.tiddlywiki2: a TiddlyWiki 2.x.x container document
* text/vnd.tiddlywiki: a tiddler of tiddlywiki 2.x.x text
* text/vnd.tiddlywiki2: a tiddler of tiddlywiki 5+ text

This is probably fine, but we have extant code and tiddlers that use

   text/x.tiddlywiki

to mean tiddlywiki2 so symmetry would get broken, but I suppose that's
not a big deal.

Parenthetically, the TW5 code puts all the user fields of a tiddler in
the tiddler.fields hashmap, which has turned out to be much more
convenient. The old way allowed one to write 'tiddler.title' instead
of 'tiddler.fields.title', but it made almost everything else more
complicated.

"User fields"?

Hmmm. If I'm understanding you correctly I think I disagree. 'fields'
being a nested thing distinguishes it from canonical stuff. People
have pointed out, several times, that one of the things they like
about the tiddler on the web is that it is just a thing (any thing)
with:

* text
* some known and expected metadata (title, type, tags, modifier,
  modified date)
* some arbitrary optional fields

I think initially I felt the other way but now after doing stuff with
tiddlers, on the web, for 4 years, it feels right, in a cognitive
way.

I wondered if we could make the use of the 'fields' hashmap optional
in the JSON representation, or is it too late for that? It feels like
an unwelcome artefact of the original TW design.

Changing it would have cascades all over the tiddlyweb ecosystem.

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

--
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to