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

system.verbs.apps.Manila.windowTypes.types.manilaMessage.openUrl

on openUrl (url) {
	<<7/13/01; 5:08:35 PM by JES
		<<Open a Manila site message URL for editing. The url should be like this: http://www.mysite.com/discuss/reader$40.opml
	
	<<Get the siteUrl and msgNum.
	local (discussUrl = string.popSuffix (url, '/'));
	local (siteUrl = string.popSuffix (discussUrl, '/'));
	siteUrl = siteUrl + "/";
	local (lastField = string.countFields (url, '$'));
	local (msgNum = string.nthField (url, '$', lastField));
	msgNum = string.popSuffix (msgNum);
	
	<<Open the message.
	local (adrtype = parentOf (this^));
	return (adrtype^.openMessage (siteUrl, msgNum))}; //open message

bundle { //debugging
	openUrl ("http://jake.editthispage.com/discuss/reader$1.opml")}



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.