Monday, November 08, 2010 at 12:04 AM.
system.verbs.builtins.mainResponder.rpcHandlers.members.getProfilePart
on getProfilePart (groupname, username, password, partpath) {
<<2/18/99; 10:12:20 PM by DW
<<partpath is a partial path to the part of the user's profile that you want to retrieve
<<the elements of the path are dot-separated, the navigation starts at the top level of the user's profile
<<if you want the whole thing set partpath to the empty string
if string.lower (partpath) == "randomnumber" {
scriptError ("Can't get the part because that information must remain only on the server.")};
local (nomad = mainResponder.members.getMemberTableWithPassword (groupname, username, password));
while sizeof (partpath) > 0 {
local (s = string.nthField (partpath, ".", 1));
nomad = @nomad^.[s];
partpath = string.delete (partpath, 1, sizeof (s) + 1)}; //pop off the dot too
return (nomad^)}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.