> For 1), yes I know of the backstage member listing, but the idea was
> to be able to present members more prominently and perhaps also
> manipulate such a list - "Tobias Beer - theme creator, ..."
You can retrieve the list of members fairly easily:
var callback = function(members, status, xhr) {
// do stuff with members array
};
var errback = function(xhr, error, exc) {
var msg = xhr.status == 403 ? "unauthorized" : "error";
// do stuff with error message
};
var space = config.extensions.tiddlyspace.currentSpace.name;
var host = config.extensions.tiddlyweb.host;
var space space = new tiddlyweb.Space(space, host);
space.members().get(callback, errback); // asynchronous request
In the callback, you can do whatever you please with the data - e.g.
combining it with descriptions from local tiddlers.
(If you're new to asynchronous programming, you might wanna read up on
jQuery's ajax function.)
Code in context:
http://github.com/TiddlySpace/tiddlyspace/blob/master/src/plugins/TiddlySpaceMembers.js
-- F.
--
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.