Saturday, April 02, 2011 at 9:08 PM.


on cleanupFilename (fname) {
		<<6/1/10; 3:31:51 PM by DW
	local (i, ch);
	for i = sizeof (fname) downto 1 {
		ch = fname [i];
		if (not string.isalpha (ch)) and (not string.isnumeric (ch)) and (ch != ' ') {
			fname = string.delete (fname, i, 1)}};
	fname = string.innerCaseName (fname);
	return (fname)}

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.