getRecentChanges
Implementation of the GetRecentChanges function of the PBwiki api.
jpal.getRecentChanges(handler);
handler is a function that takes the returned object as a parameter. For details on the object, see GetRecentChanges on the API wiki. JPAL returns the contents of the v1 object.
The following example returns the name of the last person to make a wiki modification:
function handleChanges(obj) {
var str = 'This wiki was last modified by ' + obj.changes[0].nm;
alert(str);
}
jpal.getRecentChanges(handleChanges);
Comments (0)
You don't have permission to comment on this page.