add:   if (feedProperties.folderURI) { var folderResource = rdf.GetResource(feedProperties.folderURI); if (folderResource) feed.folder = folderResource.QueryInterface(Components.interfaces.nsIMsgFolder); } 
context: function doAdd() {    var userAddedFeed = false;     var feedProperties = { feedName: "", feedLocation: "", result: userAddedFeed};    feedProperties = openFeedEditor(feedProperties);    // if the user hit cancel, exit without doing anything    if (!feedProperties.result)    {      debug("feedProperties.result empty\n");      return;    }        if (!feedProperties.feedLocation)    {        debug("feedProperties.feedLocation empty\n");        return;    }    var itemResource = rdf.GetResource(feedProperties.feedLocation);    feed = new Feed(itemResource);    // update status text    updateStatusItem('statusText', document.getElementById("bundle_newsblog").getString('subscribe-validating'));    updateStatusItem('progressMeter', 0);    // validate the feed and download the articles    // we used to pass false which caused us to skip parsing then we'd     // turn around and download the feed again so we could actually parse the items...    // But now that this operation is asynch, just kick it off once...if we change this back    // modify feedDownloadCallback.downloaded to parse the feed...    feed.download(true, feedDownloadCallback);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cc2cf6da974ccaf50cd54b298879673b0e372825/subscriptions.js/buggy/mail/extensions/newsblog/content/subscriptions.js