Tuesday, August 18, 2009 at 7:53 PM.

godsTweetSuite.utilities.fillShortUrls

<<Changes
	<<5/5/09; 12:08:03 PM by DW
		<<Created. 
on check (adrtweet) {
	if not defined (adrtweet^.shortUrl) {
		adrtweet^.shortUrl = godsTweetSuite.getLinkFromTweet (adrtweet^.text)};
	if not defined (adrtweet^.longUrl) {
		if adrtweet^.shortUrl != "" {
			adrtweet^.longUrl = tcp.httpderef (adrtweet^.shortUrl);
			msg (adrtweet^.longUrl)}}};
for adr in @config.godTweets.calendar.["2009"].["05"].["04"] {
	check (adr)};
for adr in @config.godTweets.calendar.["2009"].["05"].["05"] {
	check (adr)}



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.