Sha256: 22ff8bbd8c2bf7b3cbe438a0b010e6509c38fa66c912f6d87391637d1d8bb455

Contents?: true

Size: 275 Bytes

Versions: 1

Compression:

Stored size: 275 Bytes

Contents

require 'cgi'

module PageRankr
  class Backlinks
    class Alltheweb < Backlink
      def url(site)
        "http://www.alltheweb.com/search?q=link%3A#{CGI.escape(site)}"
      end
      
      def xpath
        "//span[@class='ofSoMany']/text()"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
PageRankr-1.3.0 lib/page_rankr/backlinks/alltheweb.rb