Tuesday, March 29, 2011 at 1:08 AM.
river2Suite.static.userNeedsBuild
on userNeedsBuild (adruser, adrupdatestable) {
<<Changes
<<3/28/11; 2:35:01 PM by DW
<<Allow the system manager to turn off optimization.
<<3/27/11; 1:09:22 PM by DW
<<Created. If the user follows at least one of the feeds that updated, then his static stuff needs to be rebuilt.
local (adrdata = river2suite.init (), adrfeedurl);
if adrdata^.prefs.static.flOptimizeBuild {
for adrfeedurl in adrupdatestable {
if river2Suite.userFollows (adruser, nameof (adrfeedurl^)) {
return (true)}};
return (false)}
else {
return (true)}}
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.