On Mar 10, 11:45 am, Jeremy Ruston <[email protected]> wrote: > > My > > approach to client-server interface is classic HTTP posts with replies > > in XML form. With a list-based mapping of Python methods to > > JavaScript. > > In TiddlyWeb we use JSON, to some extent because of issues with > parsing XML on some browsers.
I don't recall it that way at all. We use JSON as the primary representation for transporting structured data because it is the best and lightest match for the languages involved. JSON handling in both Python and JavaScript is dead easy whereas working with XML is verbose, opaque and cumbersome. I dismissed it as a core serialization before I started writing any code. The serialization code was made pluggable in large part so if there was demand for an XML representation it would be easy for someone to create one. In the three years since we haven't got one yet so I'm guessing the demand is not there. Yes, there things which use XML (e.g. Atom and KML) but no straight up XML dialect for tiddlers. This surprises me not one bit. > > * It would be nice if you could pull the content out in the familiar > > XML structure of Tiddlywiki, but leaving out all the rest. It would > > help importing into giewiki, which is handicapped by App Engine's 1MB > > limit on HTTP requests. > > I'll let Chris comment, but I believe that that would be a matter of > using a different HTML template in TiddlyWeb. There is some work > underway to externalise TiddlyWiki's JavaScript for TiddlySpace, which > may be enough for your purposes. I'm not sure what "familiar XML structure of TiddyWiki" means in this context. It sounds like what's desired is a block of tiddler divs without the rest of the TiddlyWiki mess. This would certainy be possible. A subclass of the tiddlywebwiki serialization could do the job, pretty much by making some methods return empty strings. The externalized core stuff should be available on TiddlySpace pretty soon. Still ironing out some naming difficulties, but eventually it will be possible to ask for a wiki with the javascript externalized which will make many wiki files small enough to fit under the 1MB limit. I'll be posting in [tiddlyweb] and http://blog.tiddlyspace.com/ when that happens. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" 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/tiddlywiki?hl=en.

