lib/parser.js
function parseSource (node, nodeType, feedType) {
  var source = {},
      sourceNode = node.source,
      temp;

  if (!sourceNode) {
    return;
  }

  if (temp = (feedType === 'atom' && utils.get(sourceNode.title)) || utils.get(sourceNode)) {
    source.title = temp;
  }
  if (temp = (feedType === 'atom' && utils.getAttr(sourceNode.link, 'href')) || utils.getAttr(sourceNode, 'url')) {
    source.url = temp;
  }

  return Object.keys(source).length && source;
}
function parseSource (node, nodeType, feedType) {
  var source = {},
      sourceNode = node.source,
      temp;

  if (!sourceNode) {
    return;
  }

  if (temp = (feedType === 'atom' && utils.get(sourceNode.title)) || utils.get(sourceNode)) {
    source.title = temp;
  }
  if (temp = (feedType === 'atom' && utils.getAttr(sourceNode.link, 'href')) || utils.getAttr(sourceNode, 'url')) {
    source.url = temp;
  }

  return Object.keys(source).length && source;
}
function parseSource ( node , nodeType , feedType ) { var source = { } , sourceNode = node . source , temp ; if ( ! sourceNode ) { return ; } if ( temp = ( feedType === 'atom' && utils . get ( sourceNode . title ) ) || utils . get ( sourceNode ) ) { source . title = temp ; } if ( temp = ( feedType === 'atom' && utils . getAttr ( sourceNode . link , 'href' ) ) || utils . getAttr ( sourceNode , 'url' ) ) { source . url = temp ; } return Object . keys ( source ) . length && source ; }
Parse the source of an item node

@param node
@param nodeType
@param feedType
Parse the source of an item node