Tuesday, August 18, 2009 at 7:54 PM.

howtoSuite.listDocuments

on listDocuments () {
	<<Changes
		<<8/6/08; 8:09:31 PM by DW
			<<Creates an outline that lists all the howto documents you've authored.
	local (adroutline = @user.howto.myHowtos, myHowtos, adr, atts);
	howtoSuite.getDocumentList (@myHowtos);
	new (outlinetype, adroutline);
	local (oldtarget = target.set (adroutline));
	for adr in @myHowtos {
		op.insert (nameof (adr^), down);
		atts = adr^;
		atts.type = "include";
		op.attributes.addgroup (@atts)};
	op.firstsummit (); op.deleteline ();
	target.set (oldtarget);
	edit (adroutline)};
bundle { //test code
	listDocuments ()}



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.