rem: function getSubscriptionsFile() {  var appDirectoryService = Components .classes["@mozilla.org/file/directory_service;1"] .getService(Components.interfaces.nsIProperties); if ( !appDirectoryService ) throw("couldn't get the directory service");   var profileDir = appDirectoryService.get("ProfD", Components.interfaces.nsIFile); if ( !profileDir ) throw ("couldn't get the user's profile directory");   var file = profileDir.clone(); file.append("feeds.rdf"); 
add: function getSubscriptionsFile(server) { server.QueryInterface(Components.interfaces.nsIRssIncomingServer); var file = server.subscriptionsDataSourcePath; 
context: function getSubscriptionsFile() {  // Get the app directory service so we can look up the user's profile dir.  var appDirectoryService =    Components      .classes["@mozilla.org/file/directory_service;1"]        .getService(Components.interfaces.nsIProperties);  if ( !appDirectoryService )    throw("couldn't get the directory service");  // Get the user's profile directory.  var profileDir =    appDirectoryService.get("ProfD", Components.interfaces.nsIFile);  if ( !profileDir )    throw ("couldn't get the user's profile directory");  // Get the user's subscriptions file.  var file = profileDir.clone();  file.append("feeds.rdf");  // If the file doesn't exist, create it.  if (!file.exists())    createSubscriptionsFile(file);  return file;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/002bf2393818a5080a3d8b514c17631f7220102f/utils.js/clean/mail/extensions/newsblog/content/utils.js