code: function createPinDateMapFromRssXmlObject(xmlObject) {
      var pinDateMap;
  
      try {
          pinDateMap = {};
          var pins = xmlObject.rss.channel[0].item;
          for (var i = 0; i < pins.length; i++) {
              var publishDate = new Date(pins[i].pubDate[0]);
              var pinId = getPinIdFromUrl(pins[i].guid[0]);
              pinDateMap[pinId] = publishDate;
          }
      } catch (e) {
          pinDateMap = {};
      }
  
      return pinDateMap;
  }
docs: /*
  Create a map of pin IDs to publish dates based on the object created using the XML parseString library
  
  @param Object xmlObject
  @return Object pinDateMap