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


on view () {
		<<9/16/10; 11:47:09 AM by DW
			<<If the post has a custom domain go there.
		<<6/2/10; 11:59:34 AM by DW
	local (adroutline = address (window.frontmost ()), atts);
	local (localoutline = adroutline^);
	local (oldtarget = target.set (@localoutline));
	op.go (left, infinity);
	op.attributes.getall (@atts);
	if defined (atts.domainToMap) {
		webbrowser.openurl ("http://" + atts.domainToMap)}
	else {
		if defined (atts.url) {
			webbrowser.openurl (atts.url)}
		else {
			scripterror ("Can't view the page because the post hasn't been saved yet.")}}};
bundle { //test code
	view ()}

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.