rem: feed.server = aFolder.server; 
context:   downloadFeed: function(aUrl, aFolder, aQuickMode, aTitle, aUrlListener, aMsgWindow)  {    if (!gExternalScriptsLoaded)      loadScripts();    // we don't yet support the ability to check for new articles while we are in the middle of     // subscribing to a feed. For now, abort the check for new feeds.     if (progressNotifier.mSubscribeMode)    {      debug('Aborting RSS New Mail Check. Feed subscription in progress\n');      return;    }    // if folder seems to have lost its feeds, look in DS for feeds.    if (!aUrl.length)    {      var ds = getSubscriptionsDS(aFolder.server);      var enumerator = ds.GetSources(FZ_DESTFOLDER, aFolder, true);      var concatenatedUris = "";      while (enumerator.hasMoreElements())      {        var containerArc = enumerator.getNext();        var uri = containerArc.QueryInterface(Components.interfaces.nsIRDFResource).Value;        if (concatenatedUris.length > 0)          concatenatedUris += "|";        concatenatedUris += uri;      }      if (concatenatedUris.length > 0)      {        aUrl = concatenatedUris;        try        {          var msgdb = aFolder.getMsgDatabase(null);          var folderInfo = msgdb.dBFolderInfo;          folderInfo.setCharPtrProperty("feedUrl", concatenatedUris);        }        catch (ex) {dump(ex);}      }    }    // aUrl may be a delimited list of feeds for a particular folder. We need to kick off a download    // for each feed.    var feedUrlArray = aUrl.split("|");    // we might just pull all these args out of the aFolder DB, instead of passing them in...    var rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"]        .getService(Components.interfaces.nsIRDFService);    progressNotifier.init(aMsgWindow ? aMsgWindow.statusFeedback : null, false);    for (url in feedUrlArray)    {      if (feedUrlArray[url])      {                id = rdf.GetResource(feedUrlArray[url]);        feed = new Feed(id);        feed.folder = aFolder;        feed.server = aFolder.server;        gNumPendingFeedDownloads++; // bump our pending feed download count        feed.download(true, progressNotifier);      }    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/28af173c2970973527192c9a4db90e199f2d8115/newsblog.js/clean/mail/extensions/newsblog/js/newsblog.js