Sha256: 53f7969c589c6eade1d9cb8b1ea7c9023939061ea1fba1ed0b1df3fd4b9eaceb

Contents?: true

Size: 358 Bytes

Versions: 3

Compression:

Stored size: 358 Bytes

Contents

require File.expand_path('../../backlink', __FILE__)

module PageRankr
  class Backlinks
    class Alexa
      include Backlink
      
      def url
        "http://data.alexa.com/data"
      end

      def params
        {:cli => 10, :dat => "snbamz", :url => @site.to_s}
      end
      
      def xpath
        "//linksin/@num"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
PageRankr-3.0.2 lib/page_rankr/backlinks/alexa.rb
PageRankr-3.0.1 lib/page_rankr/backlinks/alexa.rb
PageRankr-3.0.0 lib/page_rankr/backlinks/alexa.rb