Monday, April 04, 2011 at 1:06 AM.
radio2Suite.utilities.buildFeedIfPost
on buildFeedIfPost () { <<Changes <<3/3/11; 3:54:54 PM by DW <<Called in a very specific spot, at the beginning of the Feed Prefs page. If it's a POST we build the current feed for the current user. local (pta = html.getpagetableaddress ()); <<scratchpad.bfpparams = pta^ if pta^.method == "POST" { local (adrdata = radio2suite.init ()); local (adruser = @adrdata^.users.[username]); local (adrfeed = @adruser^.feeds.[pta^.feedname]); thread.callscript (@radio2Suite.publish, {adruser, adrfeed})}; return ("")}; bundle { //test code html.setpagetableaddress (@scratchpad.bfpparams); buildFeedIfPost ()}
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.