lib/parser.js
function parseUpdateInfo (node, nodeType, feedType) {
  var updateInfo = {}, temp;

  if (temp = utils.get(node['sy:updatefrequency'])) {
    updateInfo.frequency = temp;
  }
  if (temp = utils.get(node['sy:updateperiod'])) {
    updateInfo.period = temp;
  }
  if (temp = utils.get(node['sy:updatebase'])) {
    updateInfo.base = temp;
  }
  if (temp = utils.get(node.ttl)) {
    updateInfo.ttl = temp;
  }

  return Object.keys(updateInfo).length ? updateInfo : null;
}
function parseUpdateInfo (node, nodeType, feedType) {
  var updateInfo = {}, temp;

  if (temp = utils.get(node['sy:updatefrequency'])) {
    updateInfo.frequency = temp;
  }
  if (temp = utils.get(node['sy:updateperiod'])) {
    updateInfo.period = temp;
  }
  if (temp = utils.get(node['sy:updatebase'])) {
    updateInfo.base = temp;
  }
  if (temp = utils.get(node.ttl)) {
    updateInfo.ttl = temp;
  }

  return Object.keys(updateInfo).length ? updateInfo : null;
}
function parseUpdateInfo ( node , nodeType , feedType ) { var updateInfo = { } , temp ; if ( temp = utils . get ( node [ 'sy:updatefrequency' ] ) ) { updateInfo . frequency = temp ; } if ( temp = utils . get ( node [ 'sy:updateperiod' ] ) ) { updateInfo . period = temp ; } if ( temp = utils . get ( node [ 'sy:updatebase' ] ) ) { updateInfo . base = temp ; } if ( temp = utils . get ( node . ttl ) ) { updateInfo . ttl = temp ; } return Object . keys ( updateInfo ) . length ? updateInfo : null ; }
Parses the common meta properties used to determine when to update or get a new feed

@param node
@param nodeType
@param feedType
@returns {{}}
Parses the common meta properties used to determine when to update or get a new feed