yahoo_site_explorer 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +34 -6
- data/Rakefile +2 -1
- data/VERSION.yml +4 -0
- data/lib/yahoo_site_explorer.rb +77 -2
- data/lib/yahoo_site_explorer/api.rb +25 -5
- data/lib/yahoo_site_explorer/backlinks.rb +40 -7
- data/lib/yahoo_site_explorer/page_data.rb +50 -0
- data/lib/yahoo_site_explorer/result.rb +16 -0
- data/lib/yahoo_site_explorer/results_container.rb +53 -0
- data/test/integrations/yahoo_site_explorer_test.rb +125 -4
- data/test/mocks/inlink_data.rb +543 -0
- data/test/mocks/page_data.rb +542 -0
- data/test/units/inlink_data_test.rb +30 -2
- data/test/units/page_data_test.rb +48 -0
- data/yahoo_site_explorer.gemspec +11 -4
- metadata +10 -3
- data/VERSION +0 -1
    
        data/test/mocks/inlink_data.rb
    CHANGED
    
    | @@ -30,4 +30,547 @@ Content-Type: text/xml; charset=utf-8 | |
| 30 30 | 
             
            <!-- fe02.sitex.search.ac2.yahoo.com uncompressed/chunked Mon Jun  8 11:36:57 PDT 2009 -->
         | 
| 31 31 | 
             
            <!-- ws01.ydn.re2.yahoo.com uncompressed/chunked Mon Jun  8 11:36:57 PDT 2009 -->
         | 
| 32 32 | 
             
            RESPONSE
         | 
| 33 | 
            +
            end
         | 
| 34 | 
            +
             | 
| 35 | 
            +
            def mock_inlink_data_successful_response_set_1
         | 
| 36 | 
            +
            <<-RESPONSE
         | 
| 37 | 
            +
            HTTP/1.1 200 OK
         | 
| 38 | 
            +
            Date: Tue, 09 Jun 2009 19:40:49 GMT
         | 
| 39 | 
            +
            P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
         | 
| 40 | 
            +
            Cache-Control: private
         | 
| 41 | 
            +
            Connection: close
         | 
| 42 | 
            +
            Transfer-Encoding: chunked
         | 
| 43 | 
            +
            Content-Type: text/xml; charset=utf-8
         | 
| 44 | 
            +
             | 
| 45 | 
            +
            <?xml version='1.0' encoding='UTF-8'?>
         | 
| 46 | 
            +
            <ResultSet
         | 
| 47 | 
            +
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         | 
| 48 | 
            +
                xmlns="urn:yahoo:srch"
         | 
| 49 | 
            +
                xsi:schemaLocation="urn:yahoo:srch http://api.search.yahoo.com/SiteExplorerService/V1/InlinkDataResponse.xsd"
         | 
| 50 | 
            +
                totalResultsAvailable="99"
         | 
| 51 | 
            +
                firstResultPosition="1"
         | 
| 52 | 
            +
                totalResultsReturned="50">
         | 
| 53 | 
            +
                    <Result>
         | 
| 54 | 
            +
                    <Title>PHP: Hypertext Preprocessor</Title>
         | 
| 55 | 
            +
                    <Url>http://www.php.net/</Url>
         | 
| 56 | 
            +
                    <ClickUrl>http://www.php.net/</ClickUrl>
         | 
| 57 | 
            +
                </Result>
         | 
| 58 | 
            +
                <Result>
         | 
| 59 | 
            +
                    <Title>Yahoo!</Title>
         | 
| 60 | 
            +
                    <Url>http://www.yahoo.com/</Url>
         | 
| 61 | 
            +
                    <ClickUrl>http://www.yahoo.com/</ClickUrl>
         | 
| 62 | 
            +
                </Result>
         | 
| 63 | 
            +
                <Result>
         | 
| 64 | 
            +
                    <Title>Flickr</Title>
         | 
| 65 | 
            +
                    <Url>http://www.flickr.com/</Url>
         | 
| 66 | 
            +
                    <ClickUrl>http://www.flickr.com/</ClickUrl>
         | 
| 67 | 
            +
                </Result>
         | 
| 68 | 
            +
                <Result>
         | 
| 69 | 
            +
                    <Title>Yahoo! Babel Fish</Title>
         | 
| 70 | 
            +
                    <Url>http://babelfish.yahoo.com/</Url>
         | 
| 71 | 
            +
                    <ClickUrl>http://babelfish.yahoo.com/</ClickUrl>
         | 
| 72 | 
            +
                </Result>
         | 
| 73 | 
            +
                <Result>
         | 
| 74 | 
            +
                    <Title>Mighty Seek - Web Application Security Podcast and Blog " PodPress</Title>
         | 
| 75 | 
            +
                    <Url>http://www.mightyseek.com/podpress/</Url>
         | 
| 76 | 
            +
                    <ClickUrl>http://www.mightyseek.com/podpress/</ClickUrl>
         | 
| 77 | 
            +
                </Result>
         | 
| 78 | 
            +
                <Result>
         | 
| 79 | 
            +
                    <Title>Yahoo! Groups</Title>
         | 
| 80 | 
            +
                    <Url>http://groups.yahoo.com/</Url>
         | 
| 81 | 
            +
                    <ClickUrl>http://groups.yahoo.com/</ClickUrl>
         | 
| 82 | 
            +
                </Result>
         | 
| 83 | 
            +
                <Result>
         | 
| 84 | 
            +
                    <Title>Yahoo! Mail</Title>
         | 
| 85 | 
            +
                    <Url>http://mail.yahoo.com/</Url>
         | 
| 86 | 
            +
                    <ClickUrl>http://mail.yahoo.com/</ClickUrl>
         | 
| 87 | 
            +
                </Result>
         | 
| 88 | 
            +
                <Result>
         | 
| 89 | 
            +
                    <Title>Sign in to Yahoo!</Title>
         | 
| 90 | 
            +
                    <Url>https://login.yahoo.com/config/login?.src=flickr&.pc=5134&.scrumb=0&.pd=c%3DE0.GahOp2e4MjkX.5l2HgAoLkpmyPvccpVM-&.intl=us&.done=https%3A%2F%2Flogin.yahoo.com%2Fconfig%2Fvalidate%3F.src%3Dflickr%26.pc%3D5134%26.scrumb%3D0%26.pd%3Dc%253DE0.GahOp2e4MjkX.5l2HgAoLkpmyPvccpVM-%26.intl%3Dus%26.done%3Dhttp%253A%252F%252Fwww.flickr.com%252Fsignin%252Fyahoo%252F%253Fredir%253D%25252Fbadge.gne</Url>
         | 
| 91 | 
            +
                    <ClickUrl>https://login.yahoo.com/config/login?.src=flickr&.pc=5134&.scrumb=0&.pd=c%3DE0.GahOp2e4MjkX.5l2HgAoLkpmyPvccpVM-&.intl=us&.done=https%3A%2F%2Flogin.yahoo.com%2Fconfig%2Fvalidate%3F.src%3Dflickr%26.pc%3D5134%26.scrumb%3D0%26.pd%3Dc%253DE0.GahOp2e4MjkX.5l2HgAoLkpmyPvccpVM-%26.intl%3Dus%26.done%3Dhttp%253A%252F%252Fwww.flickr.com%252Fsignin%252Fyahoo%252F%253Fredir%253D%25252Fbadge.gne</ClickUrl>
         | 
| 92 | 
            +
                </Result>
         | 
| 93 | 
            +
                <Result>
         | 
| 94 | 
            +
                    <Title>Refdesk.com</Title>
         | 
| 95 | 
            +
                    <Url>http://www.refdesk.com/</Url>
         | 
| 96 | 
            +
                    <ClickUrl>http://www.refdesk.com/</ClickUrl>
         | 
| 97 | 
            +
                </Result>
         | 
| 98 | 
            +
                <Result>
         | 
| 99 | 
            +
                    <Title>My Yahoo!</Title>
         | 
| 100 | 
            +
                    <Url>http://my.yahoo.com/</Url>
         | 
| 101 | 
            +
                    <ClickUrl>http://my.yahoo.com/</ClickUrl>
         | 
| 102 | 
            +
                </Result>
         | 
| 103 | 
            +
                <Result>
         | 
| 104 | 
            +
                    <Title>Yahoo! Weather</Title>
         | 
| 105 | 
            +
                    <Url>http://weather.yahoo.com/</Url>
         | 
| 106 | 
            +
                    <ClickUrl>http://weather.yahoo.com/</ClickUrl>
         | 
| 107 | 
            +
                </Result>
         | 
| 108 | 
            +
                <Result>
         | 
| 109 | 
            +
                    <Title>Chevrolet</Title>
         | 
| 110 | 
            +
                    <Url>http://www.chevrolet.com/</Url>
         | 
| 111 | 
            +
                    <ClickUrl>http://www.chevrolet.com/</ClickUrl>
         | 
| 112 | 
            +
                </Result>
         | 
| 113 | 
            +
                <Result>
         | 
| 114 | 
            +
                    <Title>Yahoo! People Search</Title>
         | 
| 115 | 
            +
                    <Url>http://people.yahoo.com/</Url>
         | 
| 116 | 
            +
                    <ClickUrl>http://people.yahoo.com/</ClickUrl>
         | 
| 117 | 
            +
                </Result>
         | 
| 118 | 
            +
                <Result>
         | 
| 119 | 
            +
                    <Title>Yahoo! Privacy Policy</Title>
         | 
| 120 | 
            +
                    <Url>http://privacy.yahoo.com/privacy/us/</Url>
         | 
| 121 | 
            +
                    <ClickUrl>http://privacy.yahoo.com/privacy/us/</ClickUrl>
         | 
| 122 | 
            +
                </Result>
         | 
| 123 | 
            +
                <Result>
         | 
| 124 | 
            +
                    <Title>Arts &amp; Letters Daily</Title>
         | 
| 125 | 
            +
                    <Url>http://www.aldaily.com/</Url>
         | 
| 126 | 
            +
                    <ClickUrl>http://www.aldaily.com/</ClickUrl>
         | 
| 127 | 
            +
                </Result>
         | 
| 128 | 
            +
                <Result>
         | 
| 129 | 
            +
                    <Title>Yahoo! Answers</Title>
         | 
| 130 | 
            +
                    <Url>http://answers.yahoo.com/</Url>
         | 
| 131 | 
            +
                    <ClickUrl>http://answers.yahoo.com/</ClickUrl>
         | 
| 132 | 
            +
                </Result>
         | 
| 133 | 
            +
                <Result>
         | 
| 134 | 
            +
                    <Title>DreamHost Blog</Title>
         | 
| 135 | 
            +
                    <Url>http://blog.dreamhost.com/</Url>
         | 
| 136 | 
            +
                    <ClickUrl>http://blog.dreamhost.com/</ClickUrl>
         | 
| 137 | 
            +
                </Result>
         | 
| 138 | 
            +
                <Result>
         | 
| 139 | 
            +
                    <Title>Search.travel .:Search the Web for all your Travel needs!:.</Title>
         | 
| 140 | 
            +
                    <Url>http://www.search.travel/</Url>
         | 
| 141 | 
            +
                    <ClickUrl>http://www.search.travel/</ClickUrl>
         | 
| 142 | 
            +
                </Result>
         | 
| 143 | 
            +
                <Result>
         | 
| 144 | 
            +
                    <Title>Yahoo! Pipes</Title>
         | 
| 145 | 
            +
                    <Url>http://pipes.yahoo.com/</Url>
         | 
| 146 | 
            +
                    <ClickUrl>http://pipes.yahoo.com/</ClickUrl>
         | 
| 147 | 
            +
                </Result>
         | 
| 148 | 
            +
                <Result>
         | 
| 149 | 
            +
                    <Title>Signatunes - add music signatunes to your emails, blog and forum posts ...</Title>
         | 
| 150 | 
            +
                    <Url>http://www.foxytunes.com/signatunes/</Url>
         | 
| 151 | 
            +
                    <ClickUrl>http://www.foxytunes.com/signatunes/</ClickUrl>
         | 
| 152 | 
            +
                </Result>
         | 
| 153 | 
            +
                <Result>
         | 
| 154 | 
            +
                    <Title>1 2 3 Submit PRO</Title>
         | 
| 155 | 
            +
                    <Url>http://websitesubmit.hypermart.net/</Url>
         | 
| 156 | 
            +
                    <ClickUrl>http://websitesubmit.hypermart.net/</ClickUrl>
         | 
| 157 | 
            +
                </Result>
         | 
| 158 | 
            +
                <Result>
         | 
| 159 | 
            +
                    <Title>Thermoforming Machine,Thermoforming Equipment,Plastic Machinery,Plastic ...</Title>
         | 
| 160 | 
            +
                    <Url>http://www.plastic-thermoforming-machine.com/</Url>
         | 
| 161 | 
            +
                    <ClickUrl>http://www.plastic-thermoforming-machine.com/</ClickUrl>
         | 
| 162 | 
            +
                </Result>
         | 
| 163 | 
            +
                <Result>
         | 
| 164 | 
            +
                    <Title>James Randi Educational Foundation</Title>
         | 
| 165 | 
            +
                    <Url>http://www.randi.org/</Url>
         | 
| 166 | 
            +
                    <ClickUrl>http://www.randi.org/</ClickUrl>
         | 
| 167 | 
            +
                </Result>
         | 
| 168 | 
            +
                <Result>
         | 
| 169 | 
            +
                    <Title>Yahoo! TV</Title>
         | 
| 170 | 
            +
                    <Url>http://tv.yahoo.com/</Url>
         | 
| 171 | 
            +
                    <ClickUrl>http://tv.yahoo.com/</ClickUrl>
         | 
| 172 | 
            +
                </Result>
         | 
| 173 | 
            +
                <Result>
         | 
| 174 | 
            +
                    <Title>Jumpcut</Title>
         | 
| 175 | 
            +
                    <Url>http://www.jumpcut.com/</Url>
         | 
| 176 | 
            +
                    <ClickUrl>http://www.jumpcut.com/</ClickUrl>
         | 
| 177 | 
            +
                </Result>
         | 
| 178 | 
            +
                <Result>
         | 
| 179 | 
            +
                    <Title>Plastic Thermoforming Machinery,thermoforming Equipment,cup making ...</Title>
         | 
| 180 | 
            +
                    <Url>http://www.plastic-thermoforming-machine.com/product.htm</Url>
         | 
| 181 | 
            +
                    <ClickUrl>http://www.plastic-thermoforming-machine.com/product.htm</ClickUrl>
         | 
| 182 | 
            +
                </Result>
         | 
| 183 | 
            +
                <Result>
         | 
| 184 | 
            +
                    <Title>Zimbra</Title>
         | 
| 185 | 
            +
                    <Url>http://www.zimbra.com/</Url>
         | 
| 186 | 
            +
                    <ClickUrl>http://www.zimbra.com/</ClickUrl>
         | 
| 187 | 
            +
                </Result>
         | 
| 188 | 
            +
                <Result>
         | 
| 189 | 
            +
                    <Title>Site Explorer - Yahoo! Site Explorer</Title>
         | 
| 190 | 
            +
                    <Url>http://siteexplorer.search.yahoo.com/</Url>
         | 
| 191 | 
            +
                    <ClickUrl>http://siteexplorer.search.yahoo.com/</ClickUrl>
         | 
| 192 | 
            +
                </Result>
         | 
| 193 | 
            +
                <Result>
         | 
| 194 | 
            +
                    <Title>Flickr: Explore interesting photos from the last 7 days in FlickrLand...</Title>
         | 
| 195 | 
            +
                    <Url>http://www.flickr.com/explore/interesting/7days/</Url>
         | 
| 196 | 
            +
                    <ClickUrl>http://www.flickr.com/explore/interesting/7days/</ClickUrl>
         | 
| 197 | 
            +
                </Result>
         | 
| 198 | 
            +
                <Result>
         | 
| 199 | 
            +
                    <Title>Plastic Machine,Vacuum Forming Equipment,Vacuum Forming Machines ...</Title>
         | 
| 200 | 
            +
                    <Url>http://www.plastic-thermoforming-machine.com/about.htm</Url>
         | 
| 201 | 
            +
                    <ClickUrl>http://www.plastic-thermoforming-machine.com/about.htm</ClickUrl>
         | 
| 202 | 
            +
                </Result>
         | 
| 203 | 
            +
                <Result>
         | 
| 204 | 
            +
                    <Title>Phoca</Title>
         | 
| 205 | 
            +
                    <Url>http://www.phoca.cz/</Url>
         | 
| 206 | 
            +
                    <ClickUrl>http://www.phoca.cz/</ClickUrl>
         | 
| 207 | 
            +
                </Result>
         | 
| 208 | 
            +
                <Result>
         | 
| 209 | 
            +
                    <Title>CEOExpress</Title>
         | 
| 210 | 
            +
                    <Url>http://www.ceoexpress.com/</Url>
         | 
| 211 | 
            +
                    <ClickUrl>http://www.ceoexpress.com/</ClickUrl>
         | 
| 212 | 
            +
                </Result>
         | 
| 213 | 
            +
                <Result>
         | 
| 214 | 
            +
                    <Title>Yahoo! Small Business</Title>
         | 
| 215 | 
            +
                    <Url>http://smallbusiness.yahoo.com/</Url>
         | 
| 216 | 
            +
                    <ClickUrl>http://smallbusiness.yahoo.com/</ClickUrl>
         | 
| 217 | 
            +
                </Result>
         | 
| 218 | 
            +
                <Result>
         | 
| 219 | 
            +
                    <Title>Flickr: Creative Commons</Title>
         | 
| 220 | 
            +
                    <Url>http://www.flickr.com/creativecommons/</Url>
         | 
| 221 | 
            +
                    <ClickUrl>http://www.flickr.com/creativecommons/</ClickUrl>
         | 
| 222 | 
            +
                </Result>
         | 
| 223 | 
            +
                <Result>
         | 
| 224 | 
            +
                    <Title>AT&amp;T</Title>
         | 
| 225 | 
            +
                    <Url>http://www.att.net/s/s.dll?ep=16504&only=y&ch=wh&_lid=677&_lnm=yahoo+smallbiz+webhosting&site=attportal</Url>
         | 
| 226 | 
            +
                    <ClickUrl>http://www.att.net/s/s.dll?ep=16504&only=y&ch=wh&_lid=677&_lnm=yahoo+smallbiz+webhosting&site=attportal</ClickUrl>
         | 
| 227 | 
            +
                </Result>
         | 
| 228 | 
            +
                <Result>
         | 
| 229 | 
            +
                    <Title>Web site promotion directory, Professional webdesign services - website ...</Title>
         | 
| 230 | 
            +
                    <Url>http://www.allthewebsites.org/</Url>
         | 
| 231 | 
            +
                    <ClickUrl>http://www.allthewebsites.org/</ClickUrl>
         | 
| 232 | 
            +
                </Result>
         | 
| 233 | 
            +
                <Result>
         | 
| 234 | 
            +
                    <Title>Yahoo! Voice - Make Free and Low Cost Calls From Your PC</Title>
         | 
| 235 | 
            +
                    <Url>http://www.dialpad.com/</Url>
         | 
| 236 | 
            +
                    <ClickUrl>http://www.dialpad.com/</ClickUrl>
         | 
| 237 | 
            +
                </Result>
         | 
| 238 | 
            +
                <Result>
         | 
| 239 | 
            +
                    <Title>Yahoo! Search</Title>
         | 
| 240 | 
            +
                    <Url>http://search.yahoo.com/</Url>
         | 
| 241 | 
            +
                    <ClickUrl>http://search.yahoo.com/</ClickUrl>
         | 
| 242 | 
            +
                </Result>
         | 
| 243 | 
            +
                <Result>
         | 
| 244 | 
            +
                    <Title>Yahoo! Personals - Online Dating for Singles</Title>
         | 
| 245 | 
            +
                    <Url>http://personals.yahoo.com/</Url>
         | 
| 246 | 
            +
                    <ClickUrl>http://personals.yahoo.com/</ClickUrl>
         | 
| 247 | 
            +
                </Result>
         | 
| 248 | 
            +
                <Result>
         | 
| 249 | 
            +
                    <Title>Flickr: Photos &amp; video from everyone in Flickr</Title>
         | 
| 250 | 
            +
                    <Url>http://www.flickr.com/photos/</Url>
         | 
| 251 | 
            +
                    <ClickUrl>http://www.flickr.com/photos/</ClickUrl>
         | 
| 252 | 
            +
                </Result>
         | 
| 253 | 
            +
                <Result>
         | 
| 254 | 
            +
                    <Title>Yahoo!</Title>
         | 
| 255 | 
            +
                    <Url>http://podcasts.yahoo.com/</Url>
         | 
| 256 | 
            +
                    <ClickUrl>http://podcasts.yahoo.com/</ClickUrl>
         | 
| 257 | 
            +
                </Result>
         | 
| 258 | 
            +
                <Result>
         | 
| 259 | 
            +
                    <Title>About Applications that Use Yahoo! Web Services</Title>
         | 
| 260 | 
            +
                    <Url>http://developer.yahoo.net/about</Url>
         | 
| 261 | 
            +
                    <ClickUrl>http://developer.yahoo.net/about</ClickUrl>
         | 
| 262 | 
            +
                </Result>
         | 
| 263 | 
            +
                <Result>
         | 
| 264 | 
            +
                    <Title>Popular Tags on Flickr</Title>
         | 
| 265 | 
            +
                    <Url>http://www.flickr.com/photos/tags/</Url>
         | 
| 266 | 
            +
                    <ClickUrl>http://www.flickr.com/photos/tags/</ClickUrl>
         | 
| 267 | 
            +
                </Result>
         | 
| 268 | 
            +
                <Result>
         | 
| 269 | 
            +
                    <Title>Camera Finder - Flickr</Title>
         | 
| 270 | 
            +
                    <Url>http://www.flickr.com/cameras</Url>
         | 
| 271 | 
            +
                    <ClickUrl>http://www.flickr.com/cameras</ClickUrl>
         | 
| 272 | 
            +
                </Result>
         | 
| 273 | 
            +
                <Result>
         | 
| 274 | 
            +
                    <Title>Yahoo! YSlow for Firebug</Title>
         | 
| 275 | 
            +
                    <Url>http://developer.yahoo.com/yslow/</Url>
         | 
| 276 | 
            +
                    <ClickUrl>http://developer.yahoo.com/yslow/</ClickUrl>
         | 
| 277 | 
            +
                </Result>
         | 
| 278 | 
            +
                <Result>
         | 
| 279 | 
            +
                    <Title>Yahoo! Publisher Network</Title>
         | 
| 280 | 
            +
                    <Url>http://publisher.yahoo.com/</Url>
         | 
| 281 | 
            +
                    <ClickUrl>http://publisher.yahoo.com/</ClickUrl>
         | 
| 282 | 
            +
                </Result>
         | 
| 283 | 
            +
                <Result>
         | 
| 284 | 
            +
                    <Title>Search Engine Optimization - PageRank</Title>
         | 
| 285 | 
            +
                    <Url>http://www.pagerank.net/</Url>
         | 
| 286 | 
            +
                    <ClickUrl>http://www.pagerank.net/</ClickUrl>
         | 
| 287 | 
            +
                </Result>
         | 
| 288 | 
            +
                <Result>
         | 
| 289 | 
            +
                    <Title>Flickr: Explore!</Title>
         | 
| 290 | 
            +
                    <Url>http://www.flickr.com/explore/</Url>
         | 
| 291 | 
            +
                    <ClickUrl>http://www.flickr.com/explore/</ClickUrl>
         | 
| 292 | 
            +
                </Result>
         | 
| 293 | 
            +
                <Result>
         | 
| 294 | 
            +
                    <Title>Yahoo! Developer Network</Title>
         | 
| 295 | 
            +
                    <Url>http://developer.yahoo.com/</Url>
         | 
| 296 | 
            +
                    <ClickUrl>http://developer.yahoo.com/</ClickUrl>
         | 
| 297 | 
            +
                </Result>
         | 
| 298 | 
            +
                <Result>
         | 
| 299 | 
            +
                    <Title>Yahoo! Calendar</Title>
         | 
| 300 | 
            +
                    <Url>http://calendar.yahoo.com/</Url>
         | 
| 301 | 
            +
                    <ClickUrl>http://calendar.yahoo.com/</ClickUrl>
         | 
| 302 | 
            +
                </Result>
         | 
| 303 | 
            +
            </ResultSet>
         | 
| 304 | 
            +
            <!-- fe03.sitex.search.sk1.yahoo.com uncompressed/chunked Tue Jun  9 12:40:49 PDT 2009 -->
         | 
| 305 | 
            +
            <!-- ws02.ydn.gq1.yahoo.com uncompressed/chunked Tue Jun  9 12:40:49 PDT 2009 -->
         | 
| 306 | 
            +
            RESPONSE
         | 
| 307 | 
            +
            end
         | 
| 308 | 
            +
             | 
| 309 | 
            +
            def mock_inlink_data_successful_response_set_2
         | 
| 310 | 
            +
            <<-RESPONSE
         | 
| 311 | 
            +
            HTTP/1.1 200 OK
         | 
| 312 | 
            +
            Date: Tue, 09 Jun 2009 19:39:54 GMT
         | 
| 313 | 
            +
            P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
         | 
| 314 | 
            +
            Cache-Control: private
         | 
| 315 | 
            +
            Connection: close
         | 
| 316 | 
            +
            Transfer-Encoding: chunked
         | 
| 317 | 
            +
            Content-Type: text/xml; charset=utf-8
         | 
| 318 | 
            +
             | 
| 319 | 
            +
            <?xml version='1.0' encoding='UTF-8'?>
         | 
| 320 | 
            +
            <ResultSet
         | 
| 321 | 
            +
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         | 
| 322 | 
            +
                xmlns="urn:yahoo:srch"
         | 
| 323 | 
            +
                xsi:schemaLocation="urn:yahoo:srch http://api.search.yahoo.com/SiteExplorerService/V1/InlinkDataResponse.xsd"
         | 
| 324 | 
            +
                totalResultsAvailable="99"
         | 
| 325 | 
            +
                firstResultPosition="51"
         | 
| 326 | 
            +
                totalResultsReturned="49">
         | 
| 327 | 
            +
                    <Result>
         | 
| 328 | 
            +
                    <Title>Yahoo! Developer Network</Title>
         | 
| 329 | 
            +
                    <Url>http://developer.yahoo.com/</Url>
         | 
| 330 | 
            +
                    <ClickUrl>http://developer.yahoo.com/</ClickUrl>
         | 
| 331 | 
            +
                </Result>
         | 
| 332 | 
            +
                <Result>
         | 
| 333 | 
            +
                    <Title>Yahoo! Calendar</Title>
         | 
| 334 | 
            +
                    <Url>http://calendar.yahoo.com/</Url>
         | 
| 335 | 
            +
                    <ClickUrl>http://calendar.yahoo.com/</ClickUrl>
         | 
| 336 | 
            +
                </Result>
         | 
| 337 | 
            +
                <Result>
         | 
| 338 | 
            +
                    <Title>Yahoo! Mail: The best web-based email!</Title>
         | 
| 339 | 
            +
                    <Url>https://login.yahoo.com/config/login_verify2?.intl=us&.src=ym</Url>
         | 
| 340 | 
            +
                    <ClickUrl>https://login.yahoo.com/config/login_verify2?.intl=us&.src=ym</ClickUrl>
         | 
| 341 | 
            +
                </Result>
         | 
| 342 | 
            +
                <Result>
         | 
| 343 | 
            +
                    <Title>Declare Yourself</Title>
         | 
| 344 | 
            +
                    <Url>http://www.declareyourself.com/</Url>
         | 
| 345 | 
            +
                    <ClickUrl>http://www.declareyourself.com/</ClickUrl>
         | 
| 346 | 
            +
                </Result>
         | 
| 347 | 
            +
                <Result>
         | 
| 348 | 
            +
                    <Title>Welcome to Yahoo! Careers</Title>
         | 
| 349 | 
            +
                    <Url>http://careers.yahoo.com/</Url>
         | 
| 350 | 
            +
                    <ClickUrl>http://careers.yahoo.com/</ClickUrl>
         | 
| 351 | 
            +
                </Result>
         | 
| 352 | 
            +
                <Result>
         | 
| 353 | 
            +
                    <Title>The Paperboy</Title>
         | 
| 354 | 
            +
                    <Url>http://www.thepaperboy.com/</Url>
         | 
| 355 | 
            +
                    <ClickUrl>http://www.thepaperboy.com/</ClickUrl>
         | 
| 356 | 
            +
                </Result>
         | 
| 357 | 
            +
                <Result>
         | 
| 358 | 
            +
                    <Title>Upcoming - Discover and Share Local Events</Title>
         | 
| 359 | 
            +
                    <Url>http://upcoming.yahoo.com/</Url>
         | 
| 360 | 
            +
                    <ClickUrl>http://upcoming.yahoo.com/</ClickUrl>
         | 
| 361 | 
            +
                </Result>
         | 
| 362 | 
            +
                <Result>
         | 
| 363 | 
            +
                    <Title>Atlanta DJ-DJ"E The Music Man Wedding, Disc Jockeys,Georgia,Disc Jockey ...</Title>
         | 
| 364 | 
            +
                    <Url>http://www.djethemusicmaster.com/</Url>
         | 
| 365 | 
            +
                    <ClickUrl>http://www.djethemusicmaster.com/</ClickUrl>
         | 
| 366 | 
            +
                </Result>
         | 
| 367 | 
            +
                <Result>
         | 
| 368 | 
            +
                    <Title>Local Internet Marketing | Online Advertising | SEO | SEM ...</Title>
         | 
| 369 | 
            +
                    <Url>http://www.planetsearch.com/</Url>
         | 
| 370 | 
            +
                    <ClickUrl>http://www.planetsearch.com/</ClickUrl>
         | 
| 371 | 
            +
                </Result>
         | 
| 372 | 
            +
                <Result>
         | 
| 373 | 
            +
                    <Title>My Web Beta from Yahoo! Search</Title>
         | 
| 374 | 
            +
                    <Url>http://myweb2.search.yahoo.com/</Url>
         | 
| 375 | 
            +
                    <ClickUrl>http://myweb2.search.yahoo.com/</ClickUrl>
         | 
| 376 | 
            +
                </Result>
         | 
| 377 | 
            +
                <Result>
         | 
| 378 | 
            +
                    <Title>Eric Conveys an Emotion</Title>
         | 
| 379 | 
            +
                    <Url>http://www.emotioneric.com/</Url>
         | 
| 380 | 
            +
                    <ClickUrl>http://www.emotioneric.com/</ClickUrl>
         | 
| 381 | 
            +
                </Result>
         | 
| 382 | 
            +
                <Result>
         | 
| 383 | 
            +
                    <Title>Yahoo! Profiles</Title>
         | 
| 384 | 
            +
                    <Url>http://profiles.yahoo.com/</Url>
         | 
| 385 | 
            +
                    <ClickUrl>http://profiles.yahoo.com/</ClickUrl>
         | 
| 386 | 
            +
                </Result>
         | 
| 387 | 
            +
                <Result>
         | 
| 388 | 
            +
                    <Title>Not Milk!</Title>
         | 
| 389 | 
            +
                    <Url>http://www.notmilk.com/</Url>
         | 
| 390 | 
            +
                    <ClickUrl>http://www.notmilk.com/</ClickUrl>
         | 
| 391 | 
            +
                </Result>
         | 
| 392 | 
            +
                <Result>
         | 
| 393 | 
            +
                    <Title>Yahoo! Search Blog</Title>
         | 
| 394 | 
            +
                    <Url>http://www.ysearchblog.com/</Url>
         | 
| 395 | 
            +
                    <ClickUrl>http://www.ysearchblog.com/</ClickUrl>
         | 
| 396 | 
            +
                </Result>
         | 
| 397 | 
            +
                <Result>
         | 
| 398 | 
            +
                    <Title>Flickr: Explore everyone's photos on a Map</Title>
         | 
| 399 | 
            +
                    <Url>http://www.flickr.com/map/</Url>
         | 
| 400 | 
            +
                    <ClickUrl>http://www.flickr.com/map/</ClickUrl>
         | 
| 401 | 
            +
                </Result>
         | 
| 402 | 
            +
                <Result>
         | 
| 403 | 
            +
                    <Title>Map Builder::Rapid mashup development tool for Google and Yahoo maps!</Title>
         | 
| 404 | 
            +
                    <Url>http://www.mapbuilder.net/</Url>
         | 
| 405 | 
            +
                    <ClickUrl>http://www.mapbuilder.net/</ClickUrl>
         | 
| 406 | 
            +
                </Result>
         | 
| 407 | 
            +
                <Result>
         | 
| 408 | 
            +
                    <Title>Flickr Services</Title>
         | 
| 409 | 
            +
                    <Url>http://www.flickr.com/services/api/</Url>
         | 
| 410 | 
            +
                    <ClickUrl>http://www.flickr.com/services/api/</ClickUrl>
         | 
| 411 | 
            +
                </Result>
         | 
| 412 | 
            +
                <Result>
         | 
| 413 | 
            +
                    <Title>Best Practices for Speeding Up Your Web Site</Title>
         | 
| 414 | 
            +
                    <Url>http://developer.yahoo.com/performance/rules.html</Url>
         | 
| 415 | 
            +
                    <ClickUrl>http://developer.yahoo.com/performance/rules.html</ClickUrl>
         | 
| 416 | 
            +
                </Result>
         | 
| 417 | 
            +
                <Result>
         | 
| 418 | 
            +
                    <Title>Fire Eagle</Title>
         | 
| 419 | 
            +
                    <Url>http://fireeagle.yahoo.net/</Url>
         | 
| 420 | 
            +
                    <ClickUrl>http://fireeagle.yahoo.net/</ClickUrl>
         | 
| 421 | 
            +
                </Result>
         | 
| 422 | 
            +
                <Result>
         | 
| 423 | 
            +
                    <Title>Site Explorer - Yahoo! Site Explorer</Title>
         | 
| 424 | 
            +
                    <Url>https://siteexplorer.search.yahoo.com/</Url>
         | 
| 425 | 
            +
                    <ClickUrl>https://siteexplorer.search.yahoo.com/</ClickUrl>
         | 
| 426 | 
            +
                </Result>
         | 
| 427 | 
            +
                <Result>
         | 
| 428 | 
            +
                    <Title>Sign in to Yahoo!</Title>
         | 
| 429 | 
            +
                    <Url>https://login.yahoo.com/config/login?.src=flickr&.scrumb=0&new=1&.pd=c%3DE0.GahOp2e4MjkX.5l2HgAoLkpmyPvccpVM-&.intl=us&.logout=1&.direct=1&.done=https%3A%2F%2Flogin.yahoo.com%2Fconfig%2Fvalidate%3F.src%3Dflickr%26.pc%3D5134%26.scrumb%3D0%26.pd%3Dc%253DE0.GahOp2e4MjkX.5l2HgAoLkpmyPvccpVM-%26.intl%3Dus%26.done%3Dhttp%253A%252F%252Fwww.flickr.com%252Fsignin%252Fyahoo%252F</Url>
         | 
| 430 | 
            +
                    <ClickUrl>https://login.yahoo.com/config/login?.src=flickr&.scrumb=0&new=1&.pd=c%3DE0.GahOp2e4MjkX.5l2HgAoLkpmyPvccpVM-&.intl=us&.logout=1&.direct=1&.done=https%3A%2F%2Flogin.yahoo.com%2Fconfig%2Fvalidate%3F.src%3Dflickr%26.pc%3D5134%26.scrumb%3D0%26.pd%3Dc%253DE0.GahOp2e4MjkX.5l2HgAoLkpmyPvccpVM-%26.intl%3Dus%26.done%3Dhttp%253A%252F%252Fwww.flickr.com%252Fsignin%252Fyahoo%252F</ClickUrl>
         | 
| 431 | 
            +
                </Result>
         | 
| 432 | 
            +
                <Result>
         | 
| 433 | 
            +
                    <Title>Hot Sheet</Title>
         | 
| 434 | 
            +
                    <Url>http://www.hotsheet.com/</Url>
         | 
| 435 | 
            +
                    <ClickUrl>http://www.hotsheet.com/</ClickUrl>
         | 
| 436 | 
            +
                </Result>
         | 
| 437 | 
            +
                <Result>
         | 
| 438 | 
            +
                    <Title>Yahoo! Mail: The best web-based email!</Title>
         | 
| 439 | 
            +
                    <Url>https://login.yahoo.com/config/login_verify2?&.src=ym</Url>
         | 
| 440 | 
            +
                    <ClickUrl>https://login.yahoo.com/config/login_verify2?&.src=ym</ClickUrl>
         | 
| 441 | 
            +
                </Result>
         | 
| 442 | 
            +
                <Result>
         | 
| 443 | 
            +
                    <Title>Flickr Services</Title>
         | 
| 444 | 
            +
                    <Url>http://www.flickr.com/services/</Url>
         | 
| 445 | 
            +
                    <ClickUrl>http://www.flickr.com/services/</ClickUrl>
         | 
| 446 | 
            +
                </Result>
         | 
| 447 | 
            +
                <Result>
         | 
| 448 | 
            +
                    <Title>Carnegie Mellon University - Department of Computer Science</Title>
         | 
| 449 | 
            +
                    <Url>http://www.cs.cmu.edu/</Url>
         | 
| 450 | 
            +
                    <ClickUrl>http://www.cs.cmu.edu/</ClickUrl>
         | 
| 451 | 
            +
                </Result>
         | 
| 452 | 
            +
                <Result>
         | 
| 453 | 
            +
                    <Title>FoxyTunes</Title>
         | 
| 454 | 
            +
                    <Url>http://www.foxytunes.com/</Url>
         | 
| 455 | 
            +
                    <ClickUrl>http://www.foxytunes.com/</ClickUrl>
         | 
| 456 | 
            +
                </Result>
         | 
| 457 | 
            +
                <Result>
         | 
| 458 | 
            +
                    <Title>Flickr Community Guidelines</Title>
         | 
| 459 | 
            +
                    <Url>http://www.flickr.com/guidelines.gne</Url>
         | 
| 460 | 
            +
                    <ClickUrl>http://www.flickr.com/guidelines.gne</ClickUrl>
         | 
| 461 | 
            +
                </Result>
         | 
| 462 | 
            +
                <Result>
         | 
| 463 | 
            +
                    <Title>Yahoo! Mail: The best web-based email!</Title>
         | 
| 464 | 
            +
                    <Url>https://login.yahoo.com/config/mail?.intl=us</Url>
         | 
| 465 | 
            +
                    <ClickUrl>https://login.yahoo.com/config/mail?.intl=us</ClickUrl>
         | 
| 466 | 
            +
                </Result>
         | 
| 467 | 
            +
                <Result>
         | 
| 468 | 
            +
                    <Title>Search Engine Marketing Professional Organization</Title>
         | 
| 469 | 
            +
                    <Url>http://www.sempo.org/</Url>
         | 
| 470 | 
            +
                    <ClickUrl>http://www.sempo.org/</ClickUrl>
         | 
| 471 | 
            +
                </Result>
         | 
| 472 | 
            +
                <Result>
         | 
| 473 | 
            +
                    <Title>Flickr: Tour</Title>
         | 
| 474 | 
            +
                    <Url>http://www.flickr.com/tour/</Url>
         | 
| 475 | 
            +
                    <ClickUrl>http://www.flickr.com/tour/</ClickUrl>
         | 
| 476 | 
            +
                </Result>
         | 
| 477 | 
            +
                <Result>
         | 
| 478 | 
            +
                    <Title>Yahoo! Image Search</Title>
         | 
| 479 | 
            +
                    <Url>http://images.search.yahoo.com/</Url>
         | 
| 480 | 
            +
                    <ClickUrl>http://images.search.yahoo.com/</ClickUrl>
         | 
| 481 | 
            +
                </Result>
         | 
| 482 | 
            +
                <Result>
         | 
| 483 | 
            +
                    <Title>Yahoo! Gallery - Discover and share applications that use Yahoo! ...</Title>
         | 
| 484 | 
            +
                    <Url>http://gallery.yahoo.com/</Url>
         | 
| 485 | 
            +
                    <ClickUrl>http://gallery.yahoo.com/</ClickUrl>
         | 
| 486 | 
            +
                </Result>
         | 
| 487 | 
            +
                <Result>
         | 
| 488 | 
            +
                    <Title>Flickr: Upgrade to a pro account</Title>
         | 
| 489 | 
            +
                    <Url>http://www.flickr.com/upgrade/</Url>
         | 
| 490 | 
            +
                    <ClickUrl>http://www.flickr.com/upgrade/</ClickUrl>
         | 
| 491 | 
            +
                </Result>
         | 
| 492 | 
            +
                <Result>
         | 
| 493 | 
            +
                    <Title>ScrappleFace</Title>
         | 
| 494 | 
            +
                    <Url>http://www.scrappleface.com/</Url>
         | 
| 495 | 
            +
                    <ClickUrl>http://www.scrappleface.com/</ClickUrl>
         | 
| 496 | 
            +
                </Result>
         | 
| 497 | 
            +
                <Result>
         | 
| 498 | 
            +
                    <Title>Famous Birthdays</Title>
         | 
| 499 | 
            +
                    <Url>http://www.famousbirthdays.com/</Url>
         | 
| 500 | 
            +
                    <ClickUrl>http://www.famousbirthdays.com/</ClickUrl>
         | 
| 501 | 
            +
                </Result>
         | 
| 502 | 
            +
                <Result>
         | 
| 503 | 
            +
                    <Title>AddToAny - Share / Bookmark Button, Email Button, Subscribe Button Widgets</Title>
         | 
| 504 | 
            +
                    <Url>http://www.addtoany.com/share_save</Url>
         | 
| 505 | 
            +
                    <ClickUrl>http://www.addtoany.com/share_save</ClickUrl>
         | 
| 506 | 
            +
                </Result>
         | 
| 507 | 
            +
                <Result>
         | 
| 508 | 
            +
                    <Title>Flickr: Search</Title>
         | 
| 509 | 
            +
                    <Url>http://www.flickr.com/search/</Url>
         | 
| 510 | 
            +
                    <ClickUrl>http://www.flickr.com/search/</ClickUrl>
         | 
| 511 | 
            +
                </Result>
         | 
| 512 | 
            +
                <Result>
         | 
| 513 | 
            +
                    <Title>Flickr: Tools to upload and share</Title>
         | 
| 514 | 
            +
                    <Url>http://www.flickr.com/tools/</Url>
         | 
| 515 | 
            +
                    <ClickUrl>http://www.flickr.com/tools/</ClickUrl>
         | 
| 516 | 
            +
                </Result>
         | 
| 517 | 
            +
                <Result>
         | 
| 518 | 
            +
                    <Title>Sign in to Yahoo!</Title>
         | 
| 519 | 
            +
                    <Url>https://login.yahoo.com/config/login?.src=flickr&.pc=5134&.scrumb=0&.pd=c%3DE0.GahOp2e4MjkX.5l2HgAoLkpmyPvccpVM-&.intl=us&.done=https%3A%2F%2Flogin.yahoo.com%2Fconfig%2Fvalidate%3F.src%3Dflickr%26.pc%3D5134%26.scrumb%3D0%26.pd%3Dc%253DE0.GahOp2e4MjkX.5l2HgAoLkpmyPvccpVM-%26.intl%3Dus%26.done%3Dhttp%253A%252F%252Fwww.flickr.com%252Fsignin%252Fyahoo%252F</Url>
         | 
| 520 | 
            +
                    <ClickUrl>https://login.yahoo.com/config/login?.src=flickr&.pc=5134&.scrumb=0&.pd=c%3DE0.GahOp2e4MjkX.5l2HgAoLkpmyPvccpVM-&.intl=us&.done=https%3A%2F%2Flogin.yahoo.com%2Fconfig%2Fvalidate%3F.src%3Dflickr%26.pc%3D5134%26.scrumb%3D0%26.pd%3Dc%253DE0.GahOp2e4MjkX.5l2HgAoLkpmyPvccpVM-%26.intl%3Dus%26.done%3Dhttp%253A%252F%252Fwww.flickr.com%252Fsignin%252Fyahoo%252F</ClickUrl>
         | 
| 521 | 
            +
                </Result>
         | 
| 522 | 
            +
                <Result>
         | 
| 523 | 
            +
                    <Title>About Flickr</Title>
         | 
| 524 | 
            +
                    <Url>http://www.flickr.com/about/</Url>
         | 
| 525 | 
            +
                    <ClickUrl>http://www.flickr.com/about/</ClickUrl>
         | 
| 526 | 
            +
                </Result>
         | 
| 527 | 
            +
                <Result>
         | 
| 528 | 
            +
                    <Title>Flickr: Do more!</Title>
         | 
| 529 | 
            +
                    <Url>http://www.flickr.com/do/more/</Url>
         | 
| 530 | 
            +
                    <ClickUrl>http://www.flickr.com/do/more/</ClickUrl>
         | 
| 531 | 
            +
                </Result>
         | 
| 532 | 
            +
                <Result>
         | 
| 533 | 
            +
                    <Title>Flickr: Help</Title>
         | 
| 534 | 
            +
                    <Url>http://www.flickr.com/help/faq/</Url>
         | 
| 535 | 
            +
                    <ClickUrl>http://www.flickr.com/help/faq/</ClickUrl>
         | 
| 536 | 
            +
                </Result>
         | 
| 537 | 
            +
                <Result>
         | 
| 538 | 
            +
                    <Title>Flickr: Help</Title>
         | 
| 539 | 
            +
                    <Url>http://www.flickr.com/help/</Url>
         | 
| 540 | 
            +
                    <ClickUrl>http://www.flickr.com/help/</ClickUrl>
         | 
| 541 | 
            +
                </Result>
         | 
| 542 | 
            +
                <Result>
         | 
| 543 | 
            +
                    <Title>Site Explorer - Submit</Title>
         | 
| 544 | 
            +
                    <Url>https://siteexplorer.search.yahoo.com/submit</Url>
         | 
| 545 | 
            +
                    <ClickUrl>https://siteexplorer.search.yahoo.com/submit</ClickUrl>
         | 
| 546 | 
            +
                </Result>
         | 
| 547 | 
            +
                <Result>
         | 
| 548 | 
            +
                    <Title>Yahoo! Avatars</Title>
         | 
| 549 | 
            +
                    <Url>http://avatars.yahoo.com/</Url>
         | 
| 550 | 
            +
                    <ClickUrl>http://avatars.yahoo.com/</ClickUrl>
         | 
| 551 | 
            +
                </Result>
         | 
| 552 | 
            +
                <Result>
         | 
| 553 | 
            +
                    <Title>Flickr: The Commons</Title>
         | 
| 554 | 
            +
                    <Url>http://www.flickr.com/commons</Url>
         | 
| 555 | 
            +
                    <ClickUrl>http://www.flickr.com/commons</ClickUrl>
         | 
| 556 | 
            +
                </Result>
         | 
| 557 | 
            +
                <Result>
         | 
| 558 | 
            +
                    <Title>Flickr</Title>
         | 
| 559 | 
            +
                    <Url>http://www.flickr.com/privacy_policy.gne</Url>
         | 
| 560 | 
            +
                    <ClickUrl>http://www.flickr.com/privacy_policy.gne</ClickUrl>
         | 
| 561 | 
            +
                </Result>
         | 
| 562 | 
            +
                <Result>
         | 
| 563 | 
            +
                    <Title>Flickr: Search for a group</Title>
         | 
| 564 | 
            +
                    <Url>http://www.flickr.com/search/groups/</Url>
         | 
| 565 | 
            +
                    <ClickUrl>http://www.flickr.com/search/groups/</ClickUrl>
         | 
| 566 | 
            +
                </Result>
         | 
| 567 | 
            +
                <Result>
         | 
| 568 | 
            +
                    <Title>All My Faves | Why Search?</Title>
         | 
| 569 | 
            +
                    <Url>http://www.allmyfaves.com/</Url>
         | 
| 570 | 
            +
                    <ClickUrl>http://www.allmyfaves.com/</ClickUrl>
         | 
| 571 | 
            +
                </Result>
         | 
| 572 | 
            +
            </ResultSet>
         | 
| 573 | 
            +
            <!-- fe03.sitex.search.ac2.yahoo.com uncompressed/chunked Tue Jun  9 12:39:54 PDT 2009 -->
         | 
| 574 | 
            +
            <!-- ws02.ydn.re2.yahoo.com uncompressed/chunked Tue Jun  9 12:39:54 PDT 2009 -->
         | 
| 575 | 
            +
            RESPONSE
         | 
| 33 576 | 
             
            end
         |