cricinfo 0.0.1

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.
@@ -0,0 +1,4 @@
1
+ === 0.0.1 2010-03-14
2
+
3
+ * 1 major enhancement:
4
+ * Initial release
@@ -0,0 +1,19 @@
1
+ ./History.txt
2
+ ./Manifest.txt
3
+ ./README.rdoc
4
+ ./Rakefile
5
+ ./lib/cricinfo/game.rb
6
+ ./lib/cricinfo/innings.rb
7
+ ./lib/cricinfo/scores.rb
8
+ ./lib/cricinfo.rb
9
+ ./script/console
10
+ ./script/destroy
11
+ ./script/generate
12
+ ./spec/cricinfo_scores_spec.rb
13
+ ./spec/fixtures/Scores1.html
14
+ ./spec/fixtures/Scores2.html
15
+ ./spec/fixtures/Scores3.html
16
+ ./spec/fixtures/Scores4.html
17
+ ./spec/fixtures/Scores5.html
18
+ ./spec/spec.opts
19
+ ./spec/spec_helper.rb
@@ -0,0 +1,47 @@
1
+ = cricinfo
2
+
3
+ * http://github.com/sobakasu/cricinfo
4
+
5
+ == DESCRIPTION:
6
+
7
+ An interface to cricinfo.com game data (current games only).
8
+
9
+ == FEATURES/PROBLEMS:
10
+
11
+ * fetches information about games in progress from cricinfo
12
+
13
+ == SYNOPSIS:
14
+
15
+ c = CricInfo::Scores.new
16
+ c.games.each { |g| puts game.summary }
17
+
18
+ == INSTALL:
19
+
20
+ * sudo gem install cricinfo
21
+
22
+ == LICENSE:
23
+
24
+ See also http://www.cricinfo.com/ci/content/site/company/terms_use.html
25
+
26
+ (The MIT License)
27
+
28
+ Copyright (c) 2010 Andrew Williams
29
+
30
+ Permission is hereby granted, free of charge, to any person obtaining
31
+ a copy of this software and associated documentation files (the
32
+ 'Software'), to deal in the Software without restriction, including
33
+ without limitation the rights to use, copy, modify, merge, publish,
34
+ distribute, sublicense, and/or sell copies of the Software, and to
35
+ permit persons to whom the Software is furnished to do so, subject to
36
+ the following conditions:
37
+
38
+ The above copyright notice and this permission notice shall be
39
+ included in all copies or substantial portions of the Software.
40
+
41
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
42
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
43
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
44
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
45
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
46
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
47
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,20 @@
1
+ require 'rubygems'
2
+ gem 'hoe', '>= 2.1.0'
3
+ require 'hoe'
4
+ require 'fileutils'
5
+ require './lib/cricinfo'
6
+
7
+ Hoe.plugin :newgem
8
+ # Hoe.plugin :website
9
+ # Hoe.plugin :cucumberfeatures
10
+
11
+ # Generate all the Rake tasks
12
+ # Run 'rake -T' to see list of generated tasks (from gem root directory)
13
+ $hoe = Hoe.spec 'cricinfo' do
14
+ self.developer 'Andrew S Williams', 'sobakasu@gmail.com'
15
+ self.rubyforge_name = self.name
16
+ # self.excludes = []
17
+ end
18
+
19
+ require 'newgem/tasks'
20
+ Dir['tasks/**/*.rake'].each { |t| load t }
@@ -0,0 +1,13 @@
1
+ $:.unshift(File.dirname(__FILE__)) unless
2
+ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
+
4
+ require 'time'
5
+ require 'net/http'
6
+ require 'cricinfo/innings'
7
+ require 'cricinfo/game'
8
+ require 'cricinfo/scores'
9
+
10
+ module CricInfo
11
+ VERSION = '0.0.1'
12
+ end
13
+
@@ -0,0 +1,43 @@
1
+
2
+ module CricInfo
3
+
4
+ module GameTypes
5
+ GAMETYPE_UNKNOWN = 0
6
+ GAMETYPE_TEST = 1 # Test Match
7
+ GAMETYPE_ODI = 2 # ODI
8
+ GAMETYPE_T20 = 3 # twenty twenty
9
+ end
10
+
11
+ class Game
12
+ OVERS_ODI = 50
13
+
14
+ include GameTypes
15
+
16
+ attr_reader :inns1, :inns2
17
+ attr_accessor :start_time, :name, :type
18
+
19
+ def initialize
20
+ @inns1 = Innings.new
21
+ @inns2 = Innings.new
22
+ @type = GAMETYPE_ODI # assume ODI by default
23
+ end
24
+
25
+ def type_string
26
+ gtype = ["Unknown game type", "Test match", "ODI", "T20"]
27
+ type >= 0 && type <= GAMETYPE_T20 ? gtype[type] : gtype[0]
28
+ end
29
+
30
+ # returns a string summarising the game data
31
+ def summary
32
+ out = ''
33
+ out += "%s: %s v %s (%s)\n" % [name, inns1.team, inns2.team, type_string]
34
+ if(!start_time)
35
+ out += inns1.summary if inns1.summary
36
+ out += inns2.summary if inns2.summary
37
+ end
38
+ out
39
+ end
40
+
41
+ end
42
+
43
+ end
@@ -0,0 +1,18 @@
1
+
2
+ module CricInfo
3
+
4
+ class Innings
5
+ attr_accessor :runs, :wickets, :overs, :team, :declared
6
+
7
+ # returns a string summarising the innings data
8
+ def summary
9
+ return '' unless overs || runs # overs can be blank if innings over
10
+ out = "%s %d/%d" % [team, runs, wickets]
11
+ out += " declared" if declared
12
+ out += " (%s ov)" % [overs] if overs
13
+ out += "\n"
14
+ out
15
+ end
16
+ end
17
+
18
+ end
@@ -0,0 +1,74 @@
1
+ module CricInfo
2
+ class Scores
3
+ include CricInfo::GameTypes
4
+
5
+ SCORES_HOST = "m.cricinfo.com"
6
+ SCORES_PATH = "/s/2497/Scores"
7
+
8
+ # match name, team1, team2, inningsdata, start_time
9
+ RE_MATCH = /matchId=\d+">(.+?):\s*(\w+)\s+v\s+(\w+)<\/a>.*?<\/tr>(.*?)<\/tr>(.*?Start time (.*?)\s*<\/b>)?/
10
+
11
+ # team1/2, runs, wickets, declared, overs (overs optional)
12
+ RE_INNINGS = /<b>\s*(\w+)\s*<\/b>\s*<b>\s*(\d+)\/(\d+)(d)?\s*(\(([\d\.]+))?/
13
+
14
+ # start_time (e.g. Start time 09:30 GMT)
15
+ RE_START = /<b>\s*Start\s+time\s+(.*?)\s*<\/b>/
16
+
17
+ attr_reader :games
18
+
19
+ # create a new CricInfo::Scores object
20
+ def initialize(html = nil)
21
+ reload(html)
22
+ end
23
+
24
+ # reload score data
25
+ def reload(html = nil)
26
+ @games = []
27
+ data = html || CricInfo::Scores.fetch_score_data
28
+ data.gsub!(/<font.*?\/?>|<\/font>/, '') # blow away font tags ftw
29
+
30
+ # extract matches
31
+ data.scan(RE_MATCH) do |match_name, team1, team2, idata, junk, start|
32
+
33
+ game = Game.new
34
+ game.name = match_name
35
+ inns_count = 0
36
+ game.type = GAMETYPE_TEST if match_name.match(/Test/)
37
+ game.inns1.team = team1
38
+ game.inns2.team = team2
39
+ game.start_time = start ? Time.parse(start) : nil
40
+
41
+ # parse innings data
42
+ idata.scan(RE_INNINGS) do |team, runs, wickets, declared, junk, overs|
43
+ inns_count += 1
44
+ inns = inns_count == 1 ? game.inns1 : game.inns2
45
+
46
+ if inns_count == 1 && game.inns1.team != team
47
+ # need to switch innings teams
48
+ # (order is different to that shown in match name)
49
+ tmp = game.inns1.team
50
+ game.inns1.team = game.inns2.team
51
+ game.inns2.team = tmp
52
+ end
53
+
54
+ game.type = GAMETYPE_TEST if overs.to_f > Game::OVERS_ODI
55
+
56
+ inns.runs = runs.to_i
57
+ inns.wickets = wickets.to_i
58
+ inns.overs = overs
59
+ inns.declared = declared ? true : false
60
+ end
61
+
62
+ @games.push(game)
63
+ end
64
+
65
+ end
66
+
67
+ private
68
+
69
+ def self.fetch_score_data
70
+ Net::HTTP.get(SCORES_HOST, SCORES_PATH) || ''
71
+ end
72
+
73
+ end
74
+ end
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+ # File: script/console
3
+ irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
+
5
+ libs = " -r irb/completion"
6
+ # Perhaps use a console_lib to store any extra methods I may want available in the cosole
7
+ # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
8
+ libs << " -r #{File.dirname(__FILE__) + '/../lib/cricinfo.rb'}"
9
+ puts "Loading cricinfo gem"
10
+ exec "#{irb} #{libs} --simple-prompt"
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/destroy'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Destroy.new.run(ARGV)
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/generate'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Generate.new.run(ARGV)
@@ -0,0 +1,70 @@
1
+ require File.dirname(__FILE__) + '/spec_helper.rb'
2
+ include CricInfo::GameTypes
3
+
4
+ describe CricInfo::Scores do
5
+
6
+ FIXTURE_PATH = File.dirname(__FILE__) + '/fixtures'
7
+
8
+ # Scores1.html
9
+ it "should initialize and parse score data" do
10
+ CricInfo::Scores.should_receive(:fetch_score_data).and_return(fixture(1))
11
+ c = CricInfo::Scores.new
12
+ c.should_not be_nil
13
+
14
+ c.games.length.should == 2
15
+ game = c.games[0]
16
+ game.name.should == "5th ODI"
17
+ game.type.should == GAMETYPE_ODI
18
+ game.inns1.team.should == "NZ"
19
+ game.inns2.team.should == "AUS"
20
+ game.inns1.runs.should == 219
21
+ game.inns1.wickets.should == 8
22
+ game.inns1.overs.should == "46.4"
23
+ end
24
+
25
+ # Scores4.html
26
+ it "should initialize and parse score data" do
27
+ CricInfo::Scores.should_receive(:fetch_score_data).and_return(fixture(4))
28
+ c = CricInfo::Scores.new
29
+ c.should_not be_nil
30
+
31
+ c.games.length.should == 3 # 1 ODI, 1 test, 1 not started
32
+ game = c.games[1]
33
+ game.name.should == "5th ODI"
34
+ game.type.should == GAMETYPE_ODI
35
+ game.inns1.team.should == "NZ"
36
+ game.inns2.team.should == "AUS"
37
+ game.inns1.runs.should == 241
38
+ game.inns1.wickets.should == 9
39
+ game.inns2.runs.should == 129
40
+ game.inns2.wickets.should == 5
41
+ game.inns2.overs.should == "33.3"
42
+
43
+ game = c.games[0] # not started
44
+ game.inns1.team.should == "MUMB"
45
+ game.inns2.team.should == "RTHAN"
46
+ game.start_time.should == Time.parse("09:30 GMT")
47
+ end
48
+
49
+ # Scores5.html
50
+ it "should initialize and parse score data" do
51
+ CricInfo::Scores.should_receive(:fetch_score_data).and_return(fixture(5))
52
+ c = CricInfo::Scores.new
53
+ c.should_not be_nil
54
+
55
+ c.games.length.should == 1
56
+ game = c.games[0] # BAN v ENG
57
+ game.inns1.team.should == "ENG" # note: order different to game name
58
+ game.inns2.team.should == "BAN"
59
+ game.inns1.declared.should == true
60
+ end
61
+
62
+ private
63
+
64
+ def fixture(number)
65
+ file = File.join(FIXTURE_PATH, "Scores#{number}.html")
66
+ raise "fixture #{file} not found" unless File.exist?(file)
67
+ File.read(file)
68
+ end
69
+
70
+ end
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head><title>Scores</title><style type="text/css">body{ font-family: Arial, sans-serif; font-size:11px; } table tr td { font-family: Arial, sans-serif; font-size:11px; } .mm-table{ width: 100%; padding: 0px; margin: 0px; } table tr td p{ line-height: 12px; }</style></head><body width="100%" style="padding: 0px; margin: 0px;"> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#BFD5EA" align="center" width="100%" style="background-color: #BFD5EA; text-align: center; width: 100%;"><a href="/s/2497/Home?"><img src="/s/store/1524552/img_upload.gif" alt="ESPN Cricinfo" border="0"/></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#0E71C6" align="left" width="100%" style="background-color: #0E71C6; text-align: left; width: 100%;"><img src="/s/imgdwn/1616779/img_upload.gif?crop=RIGHT&amp;quality=70" alt="." border="0"/></td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a style="color:#035bac;" href="/s/2497/MatchCenter?matchId=423795">5th ODI: NZ v AUS</a> <font color="#ca1500"> Live</font></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">NZ</font></b> <b><font color="#000000"> 219/8 <font color="#000000"/>(46.4 ov) </font></b></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a style="color:#035bac;" href="/s/2497/MatchCenter?matchId=426423">1st Test: BAN v ENG</a> <font color="#ca1500"> Live</font></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">ENG</font></b> <b><font color="#000000"> 417/4 <font color="#000000"/>(103.5 ov) </font></b></td></tr></table> <table> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%;"><img src="/s/lineImage?device=Generic%20Device&amp;lineColor=%23035bac&amp;bgColor=%23FFFFFF&amp;height=1" alt=" " border="0"/></td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"><tr><td style="link-align: center;" align="center" width="100%" bgcolor="#FFFFFF"><div style="padding: 5px 5px 5px 5px;"> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Scores" style="color:#035BAC; " class="nonLinkForCurve">Scores</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=News" style="color:#035BAC; " class="nonLinkForCurve">News</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Results" style="color:#035BAC; " class="nonLinkForCurve">Results</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Opinion" style="color:#035BAC; " class="nonLinkForCurve">Opinion</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Fixtures" style="color:#035BAC; " class="nonLinkForCurve">Fixtures</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Players" style="color:#035BAC; " class="nonLinkForCurve">Players</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Countries" style="color:#035BAC; " class="nonLinkForCurve">Countries</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Photos" style="color:#035BAC; " class="nonLinkForCurve">Photos</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Rankings" style="color:#035BAC; " class="nonLinkForCurve">Rankings</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Records" style="color:#035BAC; " class="nonLinkForCurve">Records</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Downloads" style="color:#035BAC; " class="nonLinkForCurve">Downloads</a></b> </div></td></tr></table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#055395" align="left" width="100%" style="background-color: #055395; text-align: left; width: 100%;"><a href="/s/2497/Home?"><img src="/s/imgdwn/1524622/img_upload.gif?crop=BOTH&amp;quality=70" alt="." border="0"/></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr><td><img src="http://w88.m.espn.go.com/b/ss/wdgwespcric,wdgwesec/5.1/1268454342361?D=..&amp;gn=Scores&amp;r=http%253A%252F%252Fm.cricinfo.com%252F&amp;h1=cri-mobi&amp;c1=Cricinfo&amp;c37=..User-Agent" width="5" height="5"/></td></tr> <tr> <td width="100%" style="width: 100%;"><br/></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><font color="#000000">Mobile Site</font> | <a href="http://www.cricinfo.com?CMP=mobile_site"><font color="#035bac">Full Site</font></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="/s/lineImage?device=Generic%20Device&amp;height=1&amp;lineHeight=2&amp;lineColor=%23C0C0C0&amp;bgColor=%23FFFFFF" alt=" " border="0"/></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><a href="http://m.espn.go.com/soccer/index"><font color="#035bac">ESPNSoccernet</font></a><font color="#035bac"> </font>| <a href="http://m.espn.go.com/"><font color="#035bac">ESPN</font></a> | <a style="COLOR: rgb(12,106,188)" href="http://m.espnf1.com">ESPNF1</a> | <a href="http://m.scrum.com/"><font color="#3174c5">ESPNScrum<br/> </font></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="/s/lineImage?device=Generic%20Device&amp;height=1&amp;lineHeight=2&amp;lineColor=%23C0C0C0&amp;bgColor=%23FFFFFF" alt=" " border="0"/></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; padding-left: 4px; width: 100%; padding-bottom: 2px;"><a href="/s/showPage.do?siteId=52781&amp;pageId=About%20Us"><font color="#035bac">About Us</font></a> | <a href="/s/showPage.do?siteId=52781&amp;pageId=Contact%20Us"><font color="#035bac">Contact Us</font></a> | <a href="/s/showPage.do?siteId=52781&amp;pageId=Terms"><font color="#035bac">Terms of Use</font></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"/></tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td><img src="http://mipix.mo2do.net/common/p/?subscriber=DUMMY-BOT&amp;src=&amp;operator=EXT_MONITORING&amp;device=Generic%20Device&amp;pageref=%2FScores&amp;site=Cricinfo&amp;k=1268454329601&amp;r=ESPN&amp;p=Cricinfo" width="1" height="1"/></td> </tr> </table> </body> </html>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head><title>Scores</title><style type="text/css">body{ font-family: Arial, sans-serif; font-size:11px; } table tr td { font-family: Arial, sans-serif; font-size:11px; } .mm-table{ width: 100%; padding: 0px; margin: 0px; } table tr td p{ line-height: 12px; }</style></head><body width="100%" style="padding: 0px; margin: 0px;"> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#BFD5EA" align="center" width="100%" style="background-color: #BFD5EA; text-align: center; width: 100%;"><a href="/s/2497/Home?"><img src="/s/store/1524552/img_upload.gif" alt="ESPN Cricinfo" border="0"/></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#0E71C6" align="left" width="100%" style="background-color: #0E71C6; text-align: left; width: 100%;"><img src="/s/imgdwn/1616779/img_upload.gif?crop=RIGHT&amp;quality=70" alt="." border="0"/></td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a style="color:#035bac;" href="/s/2497/MatchCenter?matchId=423795">5th ODI: NZ v AUS</a> <font color="#ca1500"> Live</font></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">NZ</font></b> <b><font color="#000000"> 241/9 <font color="#000000"/>(50.0 ov) </font></b></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a style="color:#035bac;" href="/s/2497/MatchCenter?matchId=426423">1st Test: BAN v ENG</a> <font color="#ca1500"> Live</font></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">ENG</font></b> <b><font color="#000000"> 432/4 <font color="#000000"/>(109.6 ov) </font></b></td></tr></table> <table> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%;"><img src="/s/lineImage?device=Generic%20Device&amp;lineColor=%23035bac&amp;bgColor=%23FFFFFF&amp;height=1" alt=" " border="0"/></td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"><tr><td style="link-align: center;" align="center" width="100%" bgcolor="#FFFFFF"><div style="padding: 5px 5px 5px 5px;"> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Scores" style="color:#035BAC; " class="nonLinkForCurve">Scores</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=News" style="color:#035BAC; " class="nonLinkForCurve">News</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Results" style="color:#035BAC; " class="nonLinkForCurve">Results</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Opinion" style="color:#035BAC; " class="nonLinkForCurve">Opinion</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Fixtures" style="color:#035BAC; " class="nonLinkForCurve">Fixtures</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Players" style="color:#035BAC; " class="nonLinkForCurve">Players</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Countries" style="color:#035BAC; " class="nonLinkForCurve">Countries</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Photos" style="color:#035BAC; " class="nonLinkForCurve">Photos</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Rankings" style="color:#035BAC; " class="nonLinkForCurve">Rankings</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Records" style="color:#035BAC; " class="nonLinkForCurve">Records</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Downloads" style="color:#035BAC; " class="nonLinkForCurve">Downloads</a></b> </div></td></tr></table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#055395" align="left" width="100%" style="background-color: #055395; text-align: left; width: 100%;"><a href="/s/2497/Home?"><img src="/s/imgdwn/1524622/img_upload.gif?crop=BOTH&amp;quality=70" alt="." border="0"/></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr><td><img src="http://w88.m.espn.go.com/b/ss/wdgwespcric,wdgwesec/5.1/1268455643896?D=..&amp;gn=Scores&amp;r=http%253A%252F%252Fm.cricinfo.com%252F&amp;h1=cri-mobi&amp;c1=Cricinfo&amp;c37=..User-Agent" width="5" height="5"/></td></tr> <tr> <td width="100%" style="width: 100%;"><br/></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><font color="#000000">Mobile Site</font> | <a href="http://www.cricinfo.com?CMP=mobile_site"><font color="#035bac">Full Site</font></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="/s/lineImage?device=Generic%20Device&amp;height=1&amp;lineHeight=2&amp;lineColor=%23C0C0C0&amp;bgColor=%23FFFFFF" alt=" " border="0"/></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><a href="http://m.espn.go.com/soccer/index"><font color="#035bac">ESPNSoccernet</font></a><font color="#035bac"> </font>| <a href="http://m.espn.go.com/"><font color="#035bac">ESPN</font></a> | <a style="COLOR: rgb(12,106,188)" href="http://m.espnf1.com">ESPNF1</a> | <a href="http://m.scrum.com/"><font color="#3174c5">ESPNScrum<br/> </font></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="/s/lineImage?device=Generic%20Device&amp;height=1&amp;lineHeight=2&amp;lineColor=%23C0C0C0&amp;bgColor=%23FFFFFF" alt=" " border="0"/></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; padding-left: 4px; width: 100%; padding-bottom: 2px;"><a href="/s/showPage.do?siteId=52781&amp;pageId=About%20Us"><font color="#035bac">About Us</font></a> | <a href="/s/showPage.do?siteId=52781&amp;pageId=Contact%20Us"><font color="#035bac">Contact Us</font></a> | <a href="/s/showPage.do?siteId=52781&amp;pageId=Terms"><font color="#035bac">Terms of Use</font></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"/></tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td><img src="http://mipix.mo2do.net/common/p/?subscriber=DUMMY-BOT&amp;src=&amp;operator=EXT_MONITORING&amp;device=Generic%20Device&amp;pageref=%2FScores&amp;site=Cricinfo&amp;k=1268454329601&amp;r=ESPN&amp;p=Cricinfo" width="1" height="1"/></td> </tr> </table> </body> </html>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head><title>Scores</title><style type="text/css">body{ font-family: Arial, sans-serif; font-size:11px; } table tr td { font-family: Arial, sans-serif; font-size:11px; } .mm-table{ width: 100%; padding: 0px; margin: 0px; } table tr td p{ line-height: 12px; }</style></head><body width="100%" style="padding: 0px; margin: 0px;"> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#BFD5EA" align="center" width="100%" style="background-color: #BFD5EA; text-align: center; width: 100%;"><a href="/s/2497/Home?"><img src="/s/store/1524552/img_upload.gif" alt="ESPN Cricinfo" border="0"/></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#0E71C6" align="left" width="100%" style="background-color: #0E71C6; text-align: left; width: 100%;"><img src="/s/imgdwn/1616779/img_upload.gif?crop=RIGHT&amp;quality=70" alt="." border="0"/></td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a style="color:#035bac;" href="/s/2497/MatchCenter?matchId=423795">5th ODI: NZ v AUS</a> <font color="#ca1500"> Live</font></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">NZ</font></b> <b><font color="#000000"> 241/9 <font color="#000000"/> </font></b> <br/> <b><font color="#000000">AUS</font></b> <b><font color="#000000"> 5/0 <font color="#000000"/>(2.0 ov) </font></b></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a style="color:#035bac;" href="/s/2497/MatchCenter?matchId=426423">1st Test: BAN v ENG</a> <font color="#ca1500"> Live</font></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">ENG</font></b> <b><font color="#000000"> 474/4 <font color="#000000"/>(119.0 ov) </font></b></td></tr></table> <table> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%;"><img src="/s/lineImage?device=Generic%20Device&amp;lineColor=%23035bac&amp;bgColor=%23FFFFFF&amp;height=1" alt=" " border="0"/></td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"><tr><td style="link-align: center;" align="center" width="100%" bgcolor="#FFFFFF"><div style="padding: 5px 5px 5px 5px;"> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Scores" style="color:#035BAC; " class="nonLinkForCurve">Scores</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=News" style="color:#035BAC; " class="nonLinkForCurve">News</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Results" style="color:#035BAC; " class="nonLinkForCurve">Results</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Opinion" style="color:#035BAC; " class="nonLinkForCurve">Opinion</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Fixtures" style="color:#035BAC; " class="nonLinkForCurve">Fixtures</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Players" style="color:#035BAC; " class="nonLinkForCurve">Players</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Countries" style="color:#035BAC; " class="nonLinkForCurve">Countries</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Photos" style="color:#035BAC; " class="nonLinkForCurve">Photos</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Rankings" style="color:#035BAC; " class="nonLinkForCurve">Rankings</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Records" style="color:#035BAC; " class="nonLinkForCurve">Records</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Downloads" style="color:#035BAC; " class="nonLinkForCurve">Downloads</a></b> </div></td></tr></table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#055395" align="left" width="100%" style="background-color: #055395; text-align: left; width: 100%;"><a href="/s/2497/Home?"><img src="/s/imgdwn/1524622/img_upload.gif?crop=BOTH&amp;quality=70" alt="." border="0"/></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr><td><img src="http://w88.m.espn.go.com/b/ss/wdgwespcric,wdgwesec/5.1/1268457823811?D=..&amp;gn=Scores&amp;r=http%253A%252F%252Fm.cricinfo.com%252F&amp;h1=cri-mobi&amp;c1=Cricinfo&amp;c37=..User-Agent" width="5" height="5"/></td></tr> <tr> <td width="100%" style="width: 100%;"><br/></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><font color="#000000">Mobile Site</font> | <a href="http://www.cricinfo.com?CMP=mobile_site"><font color="#035bac">Full Site</font></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="/s/lineImage?device=Generic%20Device&amp;height=1&amp;lineHeight=2&amp;lineColor=%23C0C0C0&amp;bgColor=%23FFFFFF" alt=" " border="0"/></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><a href="http://m.espn.go.com/soccer/index"><font color="#035bac">ESPNSoccernet</font></a><font color="#035bac"> </font>| <a href="http://m.espn.go.com/"><font color="#035bac">ESPN</font></a> | <a style="COLOR: rgb(12,106,188)" href="http://m.espnf1.com">ESPNF1</a> | <a href="http://m.scrum.com/"><font color="#3174c5">ESPNScrum<br/> </font></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="/s/lineImage?device=Generic%20Device&amp;height=1&amp;lineHeight=2&amp;lineColor=%23C0C0C0&amp;bgColor=%23FFFFFF" alt=" " border="0"/></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; padding-left: 4px; width: 100%; padding-bottom: 2px;"><a href="/s/showPage.do?siteId=52781&amp;pageId=About%20Us"><font color="#035bac">About Us</font></a> | <a href="/s/showPage.do?siteId=52781&amp;pageId=Contact%20Us"><font color="#035bac">Contact Us</font></a> | <a href="/s/showPage.do?siteId=52781&amp;pageId=Terms"><font color="#035bac">Terms of Use</font></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"/></tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td><img src="http://mipix.mo2do.net/common/p/?subscriber=DUMMY-BOT&amp;src=&amp;operator=EXT_MONITORING&amp;device=Generic%20Device&amp;pageref=%2FScores&amp;site=Cricinfo&amp;k=1268454329601&amp;r=ESPN&amp;p=Cricinfo" width="1" height="1"/></td> </tr> </table> </body> </html>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head><title>Scores</title><style type="text/css">body{ font-family: Arial, sans-serif; font-size:11px; } table tr td { font-family: Arial, sans-serif; font-size:11px; } .mm-table{ width: 100%; padding: 0px; margin: 0px; } table tr td p{ line-height: 12px; }</style></head><body width="100%" style="padding: 0px; margin: 0px;"> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#BFD5EA" align="center" width="100%" style="background-color: #BFD5EA; text-align: center; width: 100%;"><a href="/s/2497/Home?"><img src="/s/store/1588392/img_upload.gif" alt="ESPN Cricinfo" border="0"/></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#0E71C6" align="left" width="100%" style="background-color: #0E71C6; text-align: left; width: 100%;"><img src="/s/imgdwn/1616783/img_upload.gif?crop=RIGHT&amp;quality=70" alt="." border="0"/></td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a style="color:#035bac;" href="/s/2497/MatchCenter?matchId=419107">2nd match: MUMB v RTHAN</a> <font color="#ca1500"> Live</font></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"/></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">Start time 09:30 GMT</font></b></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a style="color:#035bac;" href="/s/2497/MatchCenter?matchId=423795">5th ODI: NZ v AUS</a> <font color="#ca1500"> Live</font></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">NZ</font></b> <b><font color="#000000"> 241/9 <font color="#000000"/> </font></b> <br/> <b><font color="#000000">AUS</font></b> <b><font color="#000000"> 129/5 <font color="#000000"/>(33.3 ov) </font></b></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a style="color:#035bac;" href="/s/2497/MatchCenter?matchId=426423">1st Test: BAN v ENG</a> <font color="#ca1500"> Live</font></td></tr><tr><td style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">ENG</font></b> <b><font color="#000000"> 597/5 <font color="#000000"/>(138.0 ov) </font></b></td></tr></table> <table> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%;"><img src="/s/lineImage?device=Mozilla%20Firefox&amp;lineColor=%23035bac&amp;bgColor=%23FFFFFF&amp;height=1" alt=" " border="0"/></td> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"><tr><td style="link-align: center;" align="center" width="100%" bgcolor="#FFFFFF"><div style="padding: 5px 5px 5px 5px;"> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Scores" style="color:#035BAC; " class="nonLinkForCurve">Scores</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=News" style="color:#035BAC; " class="nonLinkForCurve">News</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Results" style="color:#035BAC; " class="nonLinkForCurve">Results</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Opinion" style="color:#035BAC; " class="nonLinkForCurve">Opinion</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Fixtures" style="color:#035BAC; " class="nonLinkForCurve">Fixtures</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Players" style="color:#035BAC; " class="nonLinkForCurve">Players</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Countries" style="color:#035BAC; " class="nonLinkForCurve">Countries</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Photos" style="color:#035BAC; " class="nonLinkForCurve">Photos</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Rankings" style="color:#035BAC; " class="nonLinkForCurve">Rankings</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Records" style="color:#035BAC; " class="nonLinkForCurve">Records</a></b> <b><font color="#035BAC"> | </font></b> <b><a href="/s/showPage.do?siteId=52781&amp;pageId=Downloads" style="color:#035BAC; " class="nonLinkForCurve">Downloads</a></b> </div></td></tr></table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#055395" align="left" width="100%" style="background-color: #055395; text-align: left; width: 100%;"><a href="/s/2497/Home?"><img src="/s/imgdwn/1659333/img_upload.gif?crop=BOTH&amp;quality=70" alt="." border="0"/></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr><td><img src="http://w88.m.espn.go.com/b/ss/wdgwespcric,wdgwesec/5.1/1268465284439?D=..&amp;gn=Scores&amp;r=http%253A%252F%252Fm.cricinfo.com%252F&amp;h1=cri-mobi&amp;c1=Cricinfo&amp;c37=..User-Agent" width="5" height="5"/></td></tr> <tr> <td width="100%" style="width: 100%;"><br/></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><font color="#000000">Mobile Site</font> | <a href="http://www.cricinfo.com?CMP=mobile_site"><font color="#035bac">Full Site</font></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="/s/lineImage?device=Mozilla%20Firefox&amp;height=1&amp;lineHeight=2&amp;lineColor=%23C0C0C0&amp;bgColor=%23FFFFFF" alt=" " border="0"/></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><a href="http://m.espn.go.com/soccer/index"><font color="#035bac">ESPNSoccernet</font></a><font color="#035bac"> </font>| <a href="http://m.espn.go.com/"><font color="#035bac">ESPN</font></a> | <a style="COLOR: rgb(12,106,188)" href="http://m.espnf1.com">ESPNF1</a> | <a href="http://m.scrum.com/"><font color="#3174c5">ESPNScrum<br/> </font></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="/s/lineImage?device=Mozilla%20Firefox&amp;height=1&amp;lineHeight=2&amp;lineColor=%23C0C0C0&amp;bgColor=%23FFFFFF" alt=" " border="0"/></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; padding-left: 4px; width: 100%; padding-bottom: 2px;"><a href="/s/showPage.do?siteId=52781&amp;pageId=About%20Us"><font color="#035bac">About Us</font></a> | <a href="/s/showPage.do?siteId=52781&amp;pageId=Contact%20Us"><font color="#035bac">Contact Us</font></a> | <a href="/s/showPage.do?siteId=52781&amp;pageId=Terms"><font color="#035bac">Terms of Use</font></a></td> </tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"/></tr> </table> <table width="100%" cellspacing="0" cellpadding="0" border="0" class="mm-table"> <tr> <td><img src="http://mipix.mo2do.net/common/p/?subscriber=subscriber-lzuyE5dYgSOmQyd&amp;src=&amp;operator=WEB&amp;device=Mozilla%20Firefox&amp;pageref=%2FScores&amp;site=Cricinfo&amp;k=0dcbaf11-dcf1-4785-aed8-23dde569502a&amp;r=ESPN&amp;p=Cricinfo" width="1" height="1"/></td> </tr> </table> </body> </html>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"><head><title>Scores</title><style type="text/css">body{ font-family: Arial, sans-serif; font-size:11px; } table tr td { font-family: Arial, sans-serif; font-size:11px; } .mm-table{ width: 100%; padding: 0px; margin: 0px; } table tr td p{ line-height: 12px; }</style></head><body width="100%" style="padding: 0px; margin: 0px;"><table class="mm-table" id="top" width="100%" cellpadding="0" cellspacing="0" border="0" style="width: 100%; padding: 0px; margin: 0px;"><tr><td align="center" colspan="1" rowspan="1" id="topAdHolder" style="padding-top:2px ; padding-bottom:2px" width="100%" _="_"><img alt="." src="http://miad.mo2do.net/ad/x/?publisher=r_CRICINFOESPN&amp;logkey=28d86952-3a21-4b3c-9eb9-ccafd0b79a77&amp;campaign_id=r_CRICINFOESPN/Millenial-1&amp;capped_campaign=false&amp;tz=EST" width="1" height="1"/> <a shape="rect" href="http://miad.mo2do.net/ad/r/?u=http%3A%2F%2Fbank10.clicks.mp.mydas.mobi%2FhandleClick.php5%3Fapid%3D14640%26amp%3Bacid%3D28046%26amp%3Bmtpid%3D0%26amp%3Bauid%3D121.45.89.143%26amp%3Bosid%3D10%26amp%3Burid%3D743302a3c61b613f46d0a39061430130%26amp%3Bri%3D10%26amp%3Bmmid%3D5329%26amp%3Buip%3D121.45.89.143%26amp%3Borut%3D1268546302&amp;k=28d86952-3a21-4b3c-9eb9-ccafd0b79a77&amp;p=r_CRICINFOESPN&amp;t=network&amp;cpc=0.0"><img src="http://bank10.ads.mp.mydas.mobi/getImage.php5?apid=14640&amp;mode=live&amp;acid=28046&amp;auid=121.45.89.143&amp;osid=10&amp;urid=743302a3c61b613f46d0a39061430130&amp;ri=10&amp;mmid=5329&amp;orut=1268546302&amp;mtpid=0" alt="Livin+your+mobile+life" width="320" height="53"/></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="center" colspan="1" rowspan="1" bgcolor="#BFD5EA" width="100%" style="background-color: #BFD5EA; text-align: center; width: 100%;"><a shape="rect" href="/s/2497/Home?"><img src="/s/store/1588392/img_upload.gif" alt="ESPN Cricinfo" border="0"/></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="left" colspan="1" rowspan="1" bgcolor="#0E71C6" width="100%" style="background-color: #0E71C6; text-align: left; width: 100%;"><img src="/s/imgdwn/1616783/img_upload.gif?crop=RIGHT&amp;quality=70" alt="." border="0"/></td></tr></table> <table width="100%" cellpadding="0" cellspacing="0"><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a shape="rect" style="color:#035bac;" href="/s/2497/MatchCenter?matchId=426423">1st Test: BAN v ENG</a> <font color="#ca1500"> Live</font></td></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">ENG</font></b> <b><font color="#000000"> 599/6d <font color="#000000"/> </font></b> <br clear="none"/> <b><font color="#000000">BAN</font></b> <b><font color="#000000"> 239/7 <font color="#000000"/>(69.0 ov) </font></b></td></tr></table> <table><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%;"><img src="/s/lineImage?device=Mozilla%20Firefox&amp;lineColor=%23035bac&amp;bgColor=%23FFFFFF&amp;height=1" alt=" " border="0"/></td></tr></table> <table width="100%" cellpadding="0" cellspacing="0"><tr><td align="center" colspan="1" rowspan="1" style="link-align: center;" width="100%" bgcolor="#FFFFFF"><div style="padding: 5px 5px 5px 5px;"> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&amp;pageId=Scores" style="color:#035BAC; ">Scores</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&amp;pageId=News" style="color:#035BAC; ">News</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&amp;pageId=Results" style="color:#035BAC; ">Results</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&amp;pageId=Opinion" style="color:#035BAC; ">Opinion</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&amp;pageId=Fixtures" style="color:#035BAC; ">Fixtures</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&amp;pageId=Players" style="color:#035BAC; ">Players</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&amp;pageId=Countries" style="color:#035BAC; ">Countries</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&amp;pageId=Photos" style="color:#035BAC; ">Photos</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&amp;pageId=Rankings" style="color:#035BAC; ">Rankings</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&amp;pageId=Records" style="color:#035BAC; ">Records</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&amp;pageId=Downloads" style="color:#035BAC; ">Downloads</a></b> </div></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="left" colspan="1" rowspan="1" bgcolor="#055395" width="100%" style="background-color: #055395; text-align: left; width: 100%;"><a shape="rect" href="/s/2497/Home?"><img src="/s/imgdwn/1659333/img_upload.gif?crop=BOTH&amp;quality=70" alt="." border="0"/></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1"><img src="http://w88.m.espn.go.com/b/ss/wdgwespcric,wdgwesec/5.1/1268546302170?D=..&amp;gn=Scores&amp;r=http%253A%252F%252Fm.cricinfo.com%252F&amp;h1=cri-mobi&amp;c1=Cricinfo&amp;c37=..User-Agent" width="5" height="5"/></td></tr><tr><td colspan="1" rowspan="1" width="100%" style="width: 100%;"><br clear="none"/></td></tr></table><p>Mobile Site | <a shape="rect" href="http://www.cricinfo.com?CMP=mobile_site">Full Site</a></p> <p><a shape="rect" href="http://m.espn.go.com/soccer/index">ESPNSoccernet</a> | <a shape="rect" href="http://m.espn.go.com/">ESPN</a> | <a shape="rect" style="COLOR: rgb(12,106,188)" href="http://m.espnf1.com">ESPNF1</a> | <a shape="rect" href="http://m.scrum.com/">ESPNScrum<br clear="none"/> </a></p> <p><a shape="rect" href="/s/showPage.do?siteId=52786&amp;pageId=About%20Us">About Us</a> | <a shape="rect" href="/s/showPage.do?siteId=52786&amp;pageId=Contact%20Us">Contact Us</a> | <a shape="rect" href="/s/showPage.do?siteId=52786&amp;pageId=Terms">Terms of Use</a></p> <p/> </body></html>
@@ -0,0 +1 @@
1
+ --colour
@@ -0,0 +1,10 @@
1
+ begin
2
+ require 'spec'
3
+ rescue LoadError
4
+ require 'rubygems'
5
+ gem 'rspec'
6
+ require 'spec'
7
+ end
8
+
9
+ $:.unshift(File.dirname(__FILE__) + '/../lib')
10
+ require 'cricinfo'
metadata ADDED
@@ -0,0 +1,85 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cricinfo
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Andrew S Williams
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2010-03-14 00:00:00 +10:30
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: hoe
17
+ type: :development
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.3.3
24
+ version:
25
+ description: An interface to cricinfo.com game data (current games only).
26
+ email:
27
+ - sobakasu@gmail.com
28
+ executables: []
29
+
30
+ extensions: []
31
+
32
+ extra_rdoc_files:
33
+ - ./History.txt
34
+ - ./Manifest.txt
35
+ files:
36
+ - ./History.txt
37
+ - ./Manifest.txt
38
+ - ./README.rdoc
39
+ - ./Rakefile
40
+ - ./lib/cricinfo/game.rb
41
+ - ./lib/cricinfo/innings.rb
42
+ - ./lib/cricinfo/scores.rb
43
+ - ./lib/cricinfo.rb
44
+ - ./script/console
45
+ - ./script/destroy
46
+ - ./script/generate
47
+ - ./spec/cricinfo_scores_spec.rb
48
+ - ./spec/fixtures/Scores1.html
49
+ - ./spec/fixtures/Scores2.html
50
+ - ./spec/fixtures/Scores3.html
51
+ - ./spec/fixtures/Scores4.html
52
+ - ./spec/fixtures/Scores5.html
53
+ - ./spec/spec.opts
54
+ - ./spec/spec_helper.rb
55
+ has_rdoc: true
56
+ homepage: http://github.com/sobakasu/cricinfo
57
+ licenses: []
58
+
59
+ post_install_message:
60
+ rdoc_options:
61
+ - --main
62
+ - README.rdoc
63
+ require_paths:
64
+ - lib
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: "0"
70
+ version:
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: "0"
76
+ version:
77
+ requirements: []
78
+
79
+ rubyforge_project: cricinfo
80
+ rubygems_version: 1.3.5
81
+ signing_key:
82
+ specification_version: 3
83
+ summary: An interface to cricinfo.com game data (current games only).
84
+ test_files: []
85
+