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


on tweet () {
		<<10/6/10; 3:09:03 PM by DW
	if op.countsubs (1) > 0 {
		local (title = op.getlinetext (), longurl);
		op.expand (1);
		op.go (right, 1);
		op.attributes.getone ("url", @longurl);
		try {op.attributes.getone ("title", @title)};
		op.go (left, 1);
		local (url = "" + string.urlencode (longurl) + "&title=" + string.urlencode (title));
		webbrowser.openurl (url)}};
bundle { //test code
	tweet ()}

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.