lib/parser.js
function parseCloud (node, nodeType, feedType) {
  var cloud,
      temp = utils.getAttr(node.cloud) || {};

  if (Object.keys(temp).length) {
    cloud = temp;
    cloud.type = 'rsscloud';
  } else {
    utils.parse(node.link, function (link) {
      var attr = utils.getAttr(link);
      if (attr && attr.href && attr.rel === 'hub') {
        cloud = {type: 'hub', href: attr.href};
        return true;
      }
    }, this, true);
  }

  return cloud;
}
function parseCloud (node, nodeType, feedType) {
  var cloud,
      temp = utils.getAttr(node.cloud) || {};

  if (Object.keys(temp).length) {
    cloud = temp;
    cloud.type = 'rsscloud';
  } else {
    utils.parse(node.link, function (link) {
      var attr = utils.getAttr(link);
      if (attr && attr.href && attr.rel === 'hub') {
        cloud = {type: 'hub', href: attr.href};
        return true;
      }
    }, this, true);
  }

  return cloud;
}
function parseCloud ( node , nodeType , feedType ) { var cloud , temp = utils . getAttr ( node . cloud ) || { } ; if ( Object . keys ( temp ) . length ) { cloud = temp ; cloud . type = 'rsscloud' ; } else { utils . parse ( node . link , function ( link ) { var attr = utils . getAttr ( link ) ; if ( attr && attr . href && attr . rel === 'hub' ) { cloud = { type : 'hub' , href : attr . href } ; return true ; } } , this , true ) ; } return cloud ; }
Parses the cloud of a meta node.

- cloud
- highest priority for RSS feeds
- rarely found in ATOM feeds if ever
- link (rel=hub)
- mostly found in ATOM feeds and rarely in RSS

@param node
@param nodeType
@param feedType
Parses the cloud of a meta node .