lib/parser.js
function parseXmlUrl (node, nodeType, feedType) {
  var getLink = function (linkNode) {
    var link;

    utils.parse(linkNode, function (linkEl) {
      var linkAttr = linkEl['@'];

      if (linkAttr.href && linkAttr.rel === 'self') {
        link = linkAttr.href;
        return;
      }
    }, this, true);

    return link;
  };

  return getLink(node.link) || getLink(node['atom:link']) || getLink(node['atom10:link']);
}
function parseXmlUrl (node, nodeType, feedType) {
  var getLink = function (linkNode) {
    var link;

    utils.parse(linkNode, function (linkEl) {
      var linkAttr = linkEl['@'];

      if (linkAttr.href && linkAttr.rel === 'self') {
        link = linkAttr.href;
        return;
      }
    }, this, true);

    return link;
  };

  return getLink(node.link) || getLink(node['atom:link']) || getLink(node['atom10:link']);
}
function parseXmlUrl ( node , nodeType , feedType ) { var getLink = function ( linkNode ) { var link ; utils . parse ( linkNode , function ( linkEl ) { var linkAttr = linkEl [ '@' ] ; if ( linkAttr . href && linkAttr . rel === 'self' ) { link = linkAttr . href ; return ; } } , this , true ) ; return link ; } ; return getLink ( node . link ) || getLink ( node [ 'atom:link' ] ) || getLink ( node [ 'atom10:link' ] ) ; }
Parses the xmlUrl of a meta node.

- link
- highest priority and quantity in RSS and ATOM feeds for both meta and item nodes.
- atom:link
- next highest priority and quantity in RSS feeds for meta nodes.
- rarely found in ATOM feeds or item nodes if ever.
- atom10:link
- next highest priority in RSS feeds for meta nodes.
- rarely found in ATOM feeds or item nodes if ever.

@param node
@param nodeType
@param feedType
@returns {string}
Parses the xmlUrl of a meta node .