Class: PageRankr::Backlinks::Alltheweb
- Inherits:
-
PageRankr::Backlink
- Object
- PageRankr::Backlink
- PageRankr::Backlinks::Alltheweb
- Defined in:
- lib/page_rankr/backlinks/alltheweb.rb
Instance Attribute Summary
Attributes inherited from PageRankr::Backlink
Instance Method Summary collapse
Methods inherited from PageRankr::Backlink
Constructor Details
This class inherits a constructor from PageRankr::Backlink
Instance Method Details
#url(site) ⇒ Object
6 7 8 |
# File 'lib/page_rankr/backlinks/alltheweb.rb', line 6 def url(site) "http://www.alltheweb.com/search?q=link%3A#{CGI.escape(site)}" end |
#xpath ⇒ Object
10 11 12 |
# File 'lib/page_rankr/backlinks/alltheweb.rb', line 10 def xpath "//span[@class='ofSoMany']/text()" end |