Sha256: e1236028b21b7681a8563258ddd81f8d05b03e356bc104377de5801fd675b600

Contents?: true

Size: 333 Bytes

Versions: 6

Compression:

Stored size: 333 Bytes

Contents

require File.expand_path('../../rank', __FILE__)
require 'cgi'

module PageRankr
  class Ranks
    class Compete
      include Rank
      
      def url
        "http://siteanalytics.compete.com/#{CGI.escape(@site.domain)}/"
      end

      def xpath
        "//div[@class='section score']/h4[2]/text()"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
PageRankr-3.1.2 lib/page_rankr/ranks/compete.rb
PageRankr-3.1.1 lib/page_rankr/ranks/compete.rb
PageRankr-3.1.0 lib/page_rankr/ranks/compete.rb
PageRankr-3.0.2 lib/page_rankr/ranks/compete.rb
PageRankr-3.0.1 lib/page_rankr/ranks/compete.rb
PageRankr-3.0.0 lib/page_rankr/ranks/compete.rb