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


on getFrob (adrstruct=nil) {
		<<6/12/07; 2:53:02 PM by DW
			<<Disable Flickr.init call to eliminate infinite recursion (init calls us through Flickr.authPage).
		<<6/10/07; 5:32:42 AM by DW
	local (mystruct);
	<<flickr.init ()
	new (tabletype, @mystruct);
	mystruct.api_key =;
	mystruct.method = "flickr.auth.getFrob";
	Flickr.signStruct (@mystruct);
	local (s = [].flickr.auth.getFrob (mystruct));
	s = s - "<frob>" - "</frob>";
	if adrstruct != nil {
		adrstruct^ = mystruct};
	return (s)};
bundle { //test code
	dialog.alert (getFrob (@scratchpad.struct))}

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.