Monday, November 08, 2010 at 12:04 AM.

system.verbs.builtins.mainResponder.rpcHandlers.discuss.getTopics

<<12/5/98; 9:36:01 AM by DW
	<<Return a list of lists with brief descriptions for all the top level topics

local (adrmsgs = @[mainresponder.discuss.openfile ()].discuss.messages);
local (topiclist = {}, i, ct = sizeof (adrmsgs^), adritem);
for i = ct downto 1 {
	adritem = @adrmsgs^ [i];
	if adritem^.inResponseTo == 0 {
		topiclist = topiclist + {{string (adritem^.msgnum), string (adritem^.subject), string (adritem^.posttime), string (adritem^.member)}}}};
return (topiclist)



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.