Tuesday, August 18, 2009 at 7:52 PM.
godsTweetSuite.initProfile
on initProfile (accountname, name) { local (adrdata = godsTweetSuite.init (accountname), now = clock.now ()); local (adrprofile = @adrdata^.userProfiles.[name]); if defined (adrprofile^) { if typeof (adrprofile^) != tabletype { local (rank = adrprofile^); new (tabletype, adrprofile); adrprofile^.rank = rank}} else { new (tabletype, adrprofile)}; if not defined (adrprofile^.whenReloadProfile) { adrprofile^.whenReloadProfile = now}; if not defined (adrprofile^.whenAddedToList) { adrprofile^.whenAddedToList = now}; if not defined (adrprofile^.ctProfileReloads) { adrprofile^.ctProfileReloads = 0}; if not defined (adrprofile^.rank) { //5/15/09 by DW adrprofile^.rank = 0}; return (adrprofile)}; bundle { //test code initProfile ("blagooey")}
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.