Further to the recent discussion about content types for wikitext, I
subsequently found this page:

http://foswiki.org/Development/MIMETypeForWikiSyntax

Based on all of that, "text/vnd.tiddlywiki" seems like the most
promising option.

I've been thinking about the problem of distinguishing tw5 and tw2
wikitext and am interested in the idea of using a content type
parameter to indicate the vocabulary that should be used to interpret
wikitext. For example

// Specifies standard tw5 wikitext
text/vnd.tiddlywiki; vocabulary=(tw5)

// Specifies classic tw2 wikitext
text/vnd.tiddlywiki; vocabulary=(tw2)

// Specifies a custom vocabulary
text/vnd.tiddlywiki;
vocabulary=http://mywiki.tiddlyspace.com/EngineeringVocabulary.txt

The idea is that a vocabulary would specify the wikitext rules and
macros to be applied when interpreting a particular block of text. The
content type parameter gives the URL of a tiddler that lists the
elements of the vocabulary, with escape sequences like "(tw5)" as
shortcuts for specifying standard URLs for the main system
vocabularies.

Is this a reasonable use of content type parameters? Is TiddlyWeb set
up to deal with parameterised content types?

Best wishes

Jeremy

-- 
Jeremy Ruston
mailto:[email protected]

-- 
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