Saturday, April 02, 2011 at 9:18 PM.
feedhoseSuite.client.buttons.["00005000\tTweet"
on tweet () {
<<Changes
<<10/6/10; 3:09:03 PM by DW
<<Created.
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 = "http://redirect2.twitterland.net:5337/index?username=davewiner&link=" + 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.