public static function getVisibilityIndex($url = false)
    {
        $url     = parent::getUrl($url);
        $domain  = Helper\Url::parseHost($url);
        $dataUrl = sprintf(Config\Services::SISTRIX_VI_URL, urlencode($domain));

        $html = static::_getPage($dataUrl);
        @preg_match_all('#<h3>(.*?)<\/h3>#si', $html, $matches);

        return isset($matches[1][0]) ? $matches[1][0] : parent::noDataDefaultValue();
    }
public static function getVisibilityIndex($url = false)
    {
        $url     = parent::getUrl($url);
        $domain  = Helper\Url::parseHost($url);
        $dataUrl = sprintf(Config\Services::SISTRIX_VI_URL, urlencode($domain));

        $html = static::_getPage($dataUrl);
        @preg_match_all('#<h3>(.*?)<\/h3>#si', $html, $matches);

        return isset($matches[1][0]) ? $matches[1][0] : parent::noDataDefaultValue();
    }
public static function getVisibilityIndex ( $ url = false ) { $ url = parent :: getUrl ( $ url ) ; $ domain = Helper \ Url :: parseHost ( $ url ) ; $ dataUrl = sprintf ( Config \ Services :: SISTRIX_VI_URL , urlencode ( $ domain ) ) ; $ html = static :: _getPage ( $ dataUrl ) ; @ preg_match_all ( '#<h3>(.*?)<\/h3>#si' , $ html , $ matches ) ; return isset ( $ matches [ 1 ] [ 0 ] ) ? $ matches [ 1 ] [ 0 ] : parent :: noDataDefaultValue ( ) ; }
Returns the Sistrix visibility index

@access        public
@param   url   string     The URL to check.
@return        integer    Returns the Sistrix visibility index.
@link    http://www.sistrix.com/blog/870-sistrix-visibilityindex.html
Returns the Sistrix visibility index