rem: if (!feedUrlArray[url]) continue; var feedResource  = rdf.GetResource(feedUrlArray[url]); var feed = new Feed(feedResource, this.mRSSServer);  
context:   makeFolderObject: function (aFolder, aCurrentLevel)  {    var folderObject =  { children : [],                          name     : aFolder.prettiestName,                          level    : aCurrentLevel,                          url      : aFolder.QueryInterface(Components.interfaces.nsIRDFResource).Value,                          open     : false,                          container: true };    // if a feed has any sub folders, we should add them to the list of children    if (aFolder.hasSubFolders)    {      var folderEnumerator = aFolder.GetSubFolders();      var done = false;      while (!done)       {        var folder = folderEnumerator.currentItem().QueryInterface(Components.interfaces.nsIMsgFolder);        folderObject.children.push(this.makeFolderObject(folder, aCurrentLevel + 1));        try {          folderEnumerator.next();        }         catch (ex)        {          done = true;        }              }    }    var msgdb = aFolder.QueryInterface(Components.interfaces.nsIMsgFolder).getMsgDatabase(null);    var folderInfo = msgdb.dBFolderInfo;    var feedurls = folderInfo.getCharPtrProperty("feedUrl");    var feedUrlArray = feedurls.split("|");     for (url in feedUrlArray)    {      if (!feedUrlArray[url])        continue;      var feedResource  = rdf.GetResource(feedUrlArray[url]);      var feed = new Feed(feedResource, this.mRSSServer);      // Special case, if a folder only has a single feed associated with it, then just use the feed      // in the view and don't show the folder at all. //      if (feedUrlArray.length <= 2 && !aFolder.hasSubFolders) // Note: split always adds an empty element to the array...//        this.mFeedContainers[aCurrentLength] = this.makeFeedObject(feed, aCurrentLevel);//      else // now add any feed urls for the folder        folderObject.children.push(this.makeFeedObject(feed, aCurrentLevel + 1));               }    return folderObject;  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/bb101e14c5f5a31efa9c8dd64e929413733d311a/feed-subscriptions.js/clean/mail/extensions/newsblog/content/feed-subscriptions.js