soda_xml_team 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -4
- data/lib/soda_xml_team.rb +1 -0
- data/lib/soda_xml_team/standings.rb +67 -0
- data/lib/soda_xml_team/version.rb +1 -1
- data/spec/fixtures/get_document_standings.xml +633 -0
- data/spec/soda_xml_team_standings_spec.rb +39 -0
- data/spec/spec_helper.rb +4 -1
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9f8fa36c2e6d37773826f697b638102b945c82b
|
4
|
+
data.tar.gz: d2d478f2cb708dd7cd3f6e55f07dea0ea5820913
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec866bb434c4cd918cfe52a49f7c712aea75f58c64a26030e450eafa8610666c7e8f121b16de62a7f2d0a7120792566142ef5d8f1ac4d9e35f18b647a88285be
|
7
|
+
data.tar.gz: 7bba0c1a7bf79ddbd031fc0c30c3e7b354c2861e7133710178e25ece607c2b9828cc4bcca1f53e7121d1ec4e512582bedd50caa9d35eca657759bce72571a1d0
|
data/README.md
CHANGED
@@ -26,7 +26,7 @@ Or install it yourself as:
|
|
26
26
|
|
27
27
|
The SODA service works by keeping revisions of various documents (schedules, news, injury reports, etc.) that you are charged pre-paid credit for downloading. It is currently does not cost any credits to obtain the list of available documents.
|
28
28
|
|
29
|
-
```
|
29
|
+
```ruby
|
30
30
|
soda = SodaXmlTeam::Client.new('your_username', 'your_password')
|
31
31
|
listing = soda.get_listing({
|
32
32
|
# Set sandbox to true if you are browsing the trial dataset
|
@@ -46,7 +46,7 @@ puts listing.inspect
|
|
46
46
|
|
47
47
|
Once you have this listing, you can obtain the individual document. As each document costs a credit _per download (even if you download the same version again)_, it is recommended that you cache / index this data somewhere in your application to avoid quickly depleting your credit balance.
|
48
48
|
|
49
|
-
```
|
49
|
+
```ruby
|
50
50
|
soda = SodaXmlTeam::Client.new('your_username', 'your_password')
|
51
51
|
document = soda.get_document({
|
52
52
|
# Set sandbox to true if you are browsing the trial dataset
|
@@ -64,7 +64,7 @@ For some of the more common data types, the gem will create a native ruby repres
|
|
64
64
|
|
65
65
|
### Schedule Parser
|
66
66
|
|
67
|
-
```
|
67
|
+
```ruby
|
68
68
|
soda = SodaXmlTeam::Client.new('your_username', 'your_password')
|
69
69
|
schedule_document = soda.get_document({
|
70
70
|
sandbox: true,
|
@@ -78,7 +78,7 @@ puts schedule.inspect
|
|
78
78
|
|
79
79
|
### News Parser
|
80
80
|
|
81
|
-
```
|
81
|
+
```ruby
|
82
82
|
soda = SodaXmlTeam::Client.new('your_username', 'your_password')
|
83
83
|
news_document = soda.get_document({
|
84
84
|
sandbox: true,
|
@@ -90,6 +90,20 @@ article = SodaXmlTeam::Schedule.parse_news(news_document)
|
|
90
90
|
puts article.inspect
|
91
91
|
```
|
92
92
|
|
93
|
+
### Standings Parser
|
94
|
+
|
95
|
+
```ruby
|
96
|
+
soda = SodaXmlTeam::Client.new('your_username', 'your_password')
|
97
|
+
standings_document = soda.get_document({
|
98
|
+
sandbox: true,
|
99
|
+
document_id: 'xt.10878197-standings'
|
100
|
+
})
|
101
|
+
standings = SodaXmlTeam::Standings.parse_standings(standings_document)
|
102
|
+
|
103
|
+
# This is now available as an array of values
|
104
|
+
puts standings.inspect
|
105
|
+
```
|
106
|
+
|
93
107
|
|
94
108
|
## Contributing
|
95
109
|
|
data/lib/soda_xml_team.rb
CHANGED
@@ -0,0 +1,67 @@
|
|
1
|
+
module SodaXmlTeam
|
2
|
+
|
3
|
+
require 'nokogiri'
|
4
|
+
|
5
|
+
class Standings
|
6
|
+
|
7
|
+
def self.parse_standings(document={})
|
8
|
+
|
9
|
+
output = []
|
10
|
+
|
11
|
+
unless document.is_a? Nokogiri::XML::Document
|
12
|
+
raise "Invalid XML standings."
|
13
|
+
end
|
14
|
+
|
15
|
+
document.css('sports-content standing').each do |division|
|
16
|
+
|
17
|
+
row = {}
|
18
|
+
row[:division] = division['content-label']
|
19
|
+
|
20
|
+
division.css('standing-metadata sports-content-codes sports-content-code[code-type="conference"]').each do |standingmetadata|
|
21
|
+
row[:conference] = standingmetadata['code-name']
|
22
|
+
end
|
23
|
+
|
24
|
+
row[:teams] = []
|
25
|
+
|
26
|
+
division.css('team').each do |team|
|
27
|
+
|
28
|
+
team_record = {}
|
29
|
+
|
30
|
+
team.css('team-metadata name').each do |teammetaname|
|
31
|
+
team_record[:name] = "#{teammetaname[:first]} #{teammetaname[:last]}"
|
32
|
+
end
|
33
|
+
|
34
|
+
team.css('team-stats').each do |teamstats|
|
35
|
+
next if teamstats['standing-points'].nil?
|
36
|
+
team_record[:standing_points] = teamstats['standing-points'].to_i
|
37
|
+
end
|
38
|
+
|
39
|
+
team.css('team-stats rank').each do |teamstatsrank|
|
40
|
+
team_record[:division_rank] = teamstatsrank[:value].to_i
|
41
|
+
team_record[:conference_rank] = teamstatsrank['xts:conference-rank'].to_i
|
42
|
+
end
|
43
|
+
|
44
|
+
team.css('team-stats outcome-totals').each do |outcometotals|
|
45
|
+
next if outcometotals['competition-scope'] != "league"
|
46
|
+
next if outcometotals['date-coverage-type'] != "season-regular"
|
47
|
+
next if !outcometotals['duration-scope'].nil?
|
48
|
+
next if !outcometotals['alignment-scope'].nil?
|
49
|
+
outcometotals.keys.each do |outcometotalskey|
|
50
|
+
team_record[outcometotalskey] = outcometotals[outcometotalskey].to_i if Float(outcometotals[outcometotalskey]) rescue team_record[outcometotalskey] = outcometotals[outcometotalskey]
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
row[:teams] << team_record
|
55
|
+
|
56
|
+
end
|
57
|
+
|
58
|
+
output << row
|
59
|
+
end
|
60
|
+
|
61
|
+
return output
|
62
|
+
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
66
|
+
|
67
|
+
end
|
@@ -0,0 +1,633 @@
|
|
1
|
+
<?xml version="1.0" encoding="windows-1252"?>
|
2
|
+
<xts:sports-content-set xmlns:xts="http://www.xmlteam.com" query-date-time="20141001T213122-0400" query-string="https://soda.xmlteam.com/api-trial/getDocuments?doc-ids=xt.10878197-standings" hostname="soda.xmlteam.com" result-count="1" error-count="0" elapsed-time="7.8ms"><sports-content xmlns:str="java.lang.String" xmlns:dt="http://xsltsl.org/date-time" xmlns:exsl="http://exslt.org/common" path-id="ice-hockey/l.nhl.com/standings/xt.10878197-standings" xts:systemid="NHL_Hockey_Standings_XML" xts:tsnid="10878197">
|
3
|
+
<sports-metadata xmlns:fs="java.io.File" date-time="20100215T091400-0500" doc-id="xt.10878197-standings" xts:tsnslug="ADL!NHL-STANDINGS" language="en-US" revision-id="xt.10878079-standings" fixture-key="standings-by-division" document-class="standings" fixture-name="Division Standings">
|
4
|
+
<sports-title>2009-2010 National Hockey League Standings</sports-title>
|
5
|
+
<sports-content-codes>
|
6
|
+
<sports-content-code code-name="The Sports Network" code-key="sportsnetwork.com" code-type="publisher"/>
|
7
|
+
<sports-content-code code-name="XML Team Solutions, Inc." code-key="xmlteam.com" code-type="distributor"/>
|
8
|
+
<sports-content-code code-type="sport" code-key="15031000" code-name="Ice Hockey"/>
|
9
|
+
<sports-content-code code-type="league" code-key="l.nhl.com" code-name="National Hockey League"/>
|
10
|
+
<sports-content-code code-type="standing-type" code-key="division" code-name="Division Standings"/>
|
11
|
+
<sports-content-code code-type="standing-affiliation" code-key="league" code-name="League"/>
|
12
|
+
<sports-content-code code-type="priority" code-key="normal"/>
|
13
|
+
</sports-content-codes>
|
14
|
+
</sports-metadata>
|
15
|
+
<standing content-label="Atlantic Division">
|
16
|
+
<standing-metadata team-coverage="multi-team" date-coverage-type="season-regular" date-coverage-value="2009" stats-coverage="expanded" competition-scope="league">
|
17
|
+
<sports-content-codes>
|
18
|
+
<sports-content-code code-type="conference" code-key="c.eastern" code-name="Eastern"/>
|
19
|
+
<sports-content-code code-type="division" code-key="d.atlantic" code-name="Atlantic"/>
|
20
|
+
</sports-content-codes>
|
21
|
+
</standing-metadata>
|
22
|
+
<team>
|
23
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.1" alignment="none">
|
24
|
+
<name first="New Jersey" last="Devils"/>
|
25
|
+
</team-metadata>
|
26
|
+
<team-stats standing-points="77" events-played="61">
|
27
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="2"/>
|
28
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
29
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="20" losses="9"/>
|
30
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
31
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="17" losses="12"/>
|
32
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
33
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="10" losses="6"/>
|
34
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
35
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="3" losses="5"/>
|
36
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="2"/>
|
37
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="37" losses="21" ties="3" losses-overtime="3" points-scored-for="162" points-scored-against="144" streak="L 1" streak-type="loss" streak-total="1"/>
|
38
|
+
<rank value="1" xts:conference-rank="2"/>
|
39
|
+
</team-stats>
|
40
|
+
</team>
|
41
|
+
<team>
|
42
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.5" alignment="none">
|
43
|
+
<name first="Pittsburgh" last="Penguins"/>
|
44
|
+
</team-metadata>
|
45
|
+
<team-stats standing-points="76" events-played="62">
|
46
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="1"/>
|
47
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
48
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="18" losses="10"/>
|
49
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
50
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="18" losses="12"/>
|
51
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
52
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="11" losses="6"/>
|
53
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
54
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="5" losses="2"/>
|
55
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="3"/>
|
56
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="36" losses="22" ties="4" losses-overtime="4" points-scored-for="195" points-scored-against="179" streak="L 2" streak-type="loss" streak-total="2"/>
|
57
|
+
<rank value="2" xts:conference-rank="4"/>
|
58
|
+
</team-stats>
|
59
|
+
</team>
|
60
|
+
<team>
|
61
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.4" alignment="none">
|
62
|
+
<name first="Philadelphia" last="Flyers"/>
|
63
|
+
</team-metadata>
|
64
|
+
<team-stats standing-points="67" events-played="60">
|
65
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="2"/>
|
66
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
67
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="18" losses="11"/>
|
68
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
69
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="14" losses="14"/>
|
70
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
71
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="11" losses="5"/>
|
72
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
73
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="6" losses="4"/>
|
74
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="0"/>
|
75
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="32" losses="25" ties="3" losses-overtime="3" points-scored-for="179" points-scored-against="160" streak="W 4" streak-type="win" streak-total="4"/>
|
76
|
+
<rank value="3" xts:conference-rank="6"/>
|
77
|
+
</team-stats>
|
78
|
+
</team>
|
79
|
+
<team>
|
80
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.3" alignment="none">
|
81
|
+
<name first="New York" last="Rangers"/>
|
82
|
+
</team-metadata>
|
83
|
+
<team-stats standing-points="63" events-played="62">
|
84
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="3"/>
|
85
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="7"/>
|
86
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="14" losses="15"/>
|
87
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
88
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="14" losses="12"/>
|
89
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
90
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="5" losses="9"/>
|
91
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
92
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="4" losses="6"/>
|
93
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="0"/>
|
94
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="28" losses="27" ties="7" losses-overtime="7" points-scored-for="161" points-scored-against="169" streak="W 2" streak-type="win" streak-total="2"/>
|
95
|
+
<rank value="4" xts:conference-rank="10"/>
|
96
|
+
</team-stats>
|
97
|
+
</team>
|
98
|
+
<team>
|
99
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.2" alignment="none">
|
100
|
+
<name first="New York" last="Islanders"/>
|
101
|
+
</team-metadata>
|
102
|
+
<team-stats standing-points="58" events-played="62">
|
103
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="5"/>
|
104
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="8"/>
|
105
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="16" losses="12"/>
|
106
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
107
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="9" losses="17"/>
|
108
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="6"/>
|
109
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="5" losses="10"/>
|
110
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
111
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="2" losses="8"/>
|
112
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="0"/>
|
113
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="25" losses="29" ties="8" losses-overtime="8" points-scored-for="159" points-scored-against="194" streak="L 1" streak-type="loss" streak-total="1"/>
|
114
|
+
<rank value="5" xts:conference-rank="13"/>
|
115
|
+
</team-stats>
|
116
|
+
</team>
|
117
|
+
</standing>
|
118
|
+
<standing content-label="Northeast Division">
|
119
|
+
<standing-metadata team-coverage="multi-team" date-coverage-type="season-regular" date-coverage-value="2009" stats-coverage="expanded" competition-scope="league">
|
120
|
+
<sports-content-codes>
|
121
|
+
<sports-content-code code-type="conference" code-key="c.eastern" code-name="Eastern"/>
|
122
|
+
<sports-content-code code-type="division" code-key="d.northeast" code-name="Northeast"/>
|
123
|
+
</sports-content-codes>
|
124
|
+
</standing-metadata>
|
125
|
+
<team>
|
126
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.14" alignment="none">
|
127
|
+
<name first="Ottawa" last="Senators"/>
|
128
|
+
</team-metadata>
|
129
|
+
<team-stats standing-points="76" events-played="63">
|
130
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="3"/>
|
131
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
132
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="23" losses="8"/>
|
133
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
134
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="13" losses="15"/>
|
135
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
136
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="12" losses="5"/>
|
137
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
138
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="8" losses="2"/>
|
139
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="0"/>
|
140
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="36" losses="23" ties="4" losses-overtime="4" points-scored-for="178" points-scored-against="179" streak="W 1" streak-type="win" streak-total="1"/>
|
141
|
+
<rank value="1" xts:conference-rank="3"/>
|
142
|
+
</team-stats>
|
143
|
+
</team>
|
144
|
+
<team>
|
145
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.12" alignment="none">
|
146
|
+
<name first="Buffalo" last="Sabres"/>
|
147
|
+
</team-metadata>
|
148
|
+
<team-stats standing-points="75" events-played="60">
|
149
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="6"/>
|
150
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="9"/>
|
151
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="19" losses="7"/>
|
152
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="6"/>
|
153
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="14" losses="11"/>
|
154
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
155
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="9" losses="4"/>
|
156
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
157
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="3" losses="5"/>
|
158
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="2"/>
|
159
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="33" losses="18" ties="9" losses-overtime="9" points-scored-for="166" points-scored-against="152" streak="W 1" streak-type="win" streak-total="1"/>
|
160
|
+
<rank value="2" xts:conference-rank="5"/>
|
161
|
+
</team-stats>
|
162
|
+
</team>
|
163
|
+
<team>
|
164
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.11" alignment="none">
|
165
|
+
<name first="Boston" last="Bruins"/>
|
166
|
+
</team-metadata>
|
167
|
+
<team-stats standing-points="65" events-played="60">
|
168
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="9"/>
|
169
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="11"/>
|
170
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="13" losses="12"/>
|
171
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="6"/>
|
172
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="14" losses="10"/>
|
173
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
174
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="10" losses="5"/>
|
175
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
176
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="4" losses="3"/>
|
177
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="3"/>
|
178
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="27" losses="22" ties="11" losses-overtime="11" points-scored-for="149" points-scored-against="154" streak="W 4" streak-type="win" streak-total="4"/>
|
179
|
+
<rank value="3" xts:conference-rank="7"/>
|
180
|
+
</team-stats>
|
181
|
+
</team>
|
182
|
+
<team>
|
183
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.13" alignment="none">
|
184
|
+
<name first="Montreal" last="Canadiens"/>
|
185
|
+
</team-metadata>
|
186
|
+
<team-stats standing-points="64" events-played="63">
|
187
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="2"/>
|
188
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="6"/>
|
189
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="15" losses="13"/>
|
190
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
191
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="14" losses="15"/>
|
192
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
193
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="8" losses="8"/>
|
194
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
195
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="4" losses="5"/>
|
196
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="1"/>
|
197
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="29" losses="28" ties="6" losses-overtime="6" points-scored-for="164" points-scored-against="176" streak="L 2" streak-type="loss" streak-total="2"/>
|
198
|
+
<rank value="4" xts:conference-rank="8"/>
|
199
|
+
</team-stats>
|
200
|
+
</team>
|
201
|
+
<team>
|
202
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.15" alignment="none">
|
203
|
+
<name first="Toronto" last="Maple Leafs"/>
|
204
|
+
</team-metadata>
|
205
|
+
<team-stats standing-points="49" events-played="61">
|
206
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="2"/>
|
207
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="11"/>
|
208
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="11" losses="13"/>
|
209
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
210
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="8" losses="18"/>
|
211
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="6"/>
|
212
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="4" losses="7"/>
|
213
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
214
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="2" losses="6"/>
|
215
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="2"/>
|
216
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="19" losses="31" ties="11" losses-overtime="11" points-scored-for="162" points-scored-against="208" streak="L 2" streak-type="loss" streak-total="2"/>
|
217
|
+
<rank value="5" xts:conference-rank="15"/>
|
218
|
+
</team-stats>
|
219
|
+
</team>
|
220
|
+
</standing>
|
221
|
+
<standing content-label="Southeast Division">
|
222
|
+
<standing-metadata team-coverage="multi-team" date-coverage-type="season-regular" date-coverage-value="2009" stats-coverage="expanded" competition-scope="league">
|
223
|
+
<sports-content-codes>
|
224
|
+
<sports-content-code code-type="conference" code-key="c.eastern" code-name="Eastern"/>
|
225
|
+
<sports-content-code code-type="division" code-key="d.southeast" code-name="Southeast"/>
|
226
|
+
</sports-content-codes>
|
227
|
+
</standing-metadata>
|
228
|
+
<team>
|
229
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.8" alignment="none">
|
230
|
+
<name first="Washington" last="Capitals"/>
|
231
|
+
</team-metadata>
|
232
|
+
<team-stats standing-points="90" events-played="62">
|
233
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="3"/>
|
234
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="8"/>
|
235
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="23" losses="3"/>
|
236
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
237
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="18" losses="10"/>
|
238
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
239
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="13" losses="2"/>
|
240
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="0"/>
|
241
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="7" losses="1"/>
|
242
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="2"/>
|
243
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="41" losses="13" ties="8" losses-overtime="8" points-scored-for="247" points-scored-against="177" streak="L 3" streak-type="loss" streak-total="3"/>
|
244
|
+
<rank value="1" xts:conference-rank="1"/>
|
245
|
+
</team-stats>
|
246
|
+
</team>
|
247
|
+
<team>
|
248
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.7" alignment="none">
|
249
|
+
<name first="Tampa Bay" last="Lightning"/>
|
250
|
+
</team-metadata>
|
251
|
+
<team-stats standing-points="63" events-played="61">
|
252
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="7"/>
|
253
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="11"/>
|
254
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="17" losses="7"/>
|
255
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="6"/>
|
256
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="9" losses="17"/>
|
257
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
258
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="8" losses="6"/>
|
259
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
260
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="5" losses="4"/>
|
261
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="1"/>
|
262
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="26" losses="24" ties="11" losses-overtime="11" points-scored-for="160" points-scored-against="182" streak="L 3" streak-type="loss" streak-total="3"/>
|
263
|
+
<rank value="2" xts:conference-rank="9"/>
|
264
|
+
</team-stats>
|
265
|
+
</team>
|
266
|
+
<team>
|
267
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.9" alignment="none">
|
268
|
+
<name first="Atlanta" last="Thrashers"/>
|
269
|
+
</team-metadata>
|
270
|
+
<team-stats standing-points="62" events-played="60">
|
271
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="5"/>
|
272
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="10"/>
|
273
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="13" losses="10"/>
|
274
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
275
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="13" losses="14"/>
|
276
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="6"/>
|
277
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="6" losses="9"/>
|
278
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
279
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="4" losses="3"/>
|
280
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="3"/>
|
281
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="26" losses="24" ties="10" losses-overtime="10" points-scored-for="182" points-scored-against="194" streak="L 1" streak-type="loss" streak-total="1"/>
|
282
|
+
<rank value="3" xts:conference-rank="11"/>
|
283
|
+
</team-stats>
|
284
|
+
</team>
|
285
|
+
<team>
|
286
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.10" alignment="none">
|
287
|
+
<name first="Florida" last="Panthers"/>
|
288
|
+
</team-metadata>
|
289
|
+
<team-stats standing-points="58" events-played="61">
|
290
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="8"/>
|
291
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="10"/>
|
292
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="12" losses="11"/>
|
293
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="7"/>
|
294
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="12" losses="16"/>
|
295
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
296
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="6" losses="10"/>
|
297
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
298
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="3" losses="6"/>
|
299
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="1"/>
|
300
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="24" losses="27" ties="10" losses-overtime="10" points-scored-for="155" points-scored-against="177" streak="L 6" streak-type="loss" streak-total="6"/>
|
301
|
+
<rank value="4" xts:conference-rank="12"/>
|
302
|
+
</team-stats>
|
303
|
+
</team>
|
304
|
+
<team>
|
305
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.6" alignment="none">
|
306
|
+
<name first="Carolina" last="Hurricanes"/>
|
307
|
+
</team-metadata>
|
308
|
+
<team-stats standing-points="55" events-played="61">
|
309
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="4"/>
|
310
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="7"/>
|
311
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="16" losses="12"/>
|
312
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
313
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="8" losses="18"/>
|
314
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
315
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="7" losses="7"/>
|
316
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
317
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="8" losses="2"/>
|
318
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="0"/>
|
319
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="24" losses="30" ties="7" losses-overtime="7" points-scored-for="168" points-scored-against="194" streak="W 5" streak-type="win" streak-total="5"/>
|
320
|
+
<rank value="5" xts:conference-rank="14"/>
|
321
|
+
</team-stats>
|
322
|
+
</team>
|
323
|
+
</standing>
|
324
|
+
<standing content-label="Central Division">
|
325
|
+
<standing-metadata team-coverage="multi-team" date-coverage-type="season-regular" date-coverage-value="2009" stats-coverage="expanded" competition-scope="league">
|
326
|
+
<sports-content-codes>
|
327
|
+
<sports-content-code code-type="conference" code-key="c.western" code-name="Western"/>
|
328
|
+
<sports-content-code code-type="division" code-key="d.central" code-name="Central"/>
|
329
|
+
</sports-content-codes>
|
330
|
+
</standing-metadata>
|
331
|
+
<team>
|
332
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.16" alignment="none">
|
333
|
+
<name first="Chicago" last="Blackhawks"/>
|
334
|
+
</team-metadata>
|
335
|
+
<team-stats standing-points="87" events-played="61">
|
336
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="5"/>
|
337
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
338
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="23" losses="6"/>
|
339
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
340
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="18" losses="9"/>
|
341
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
342
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="14" losses="4"/>
|
343
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="0"/>
|
344
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="6" losses="3"/>
|
345
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="1"/>
|
346
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="41" losses="15" ties="5" losses-overtime="5" points-scored-for="199" points-scored-against="146" streak="W 4" streak-type="win" streak-total="4"/>
|
347
|
+
<rank value="1" xts:conference-rank="2"/>
|
348
|
+
</team-stats>
|
349
|
+
</team>
|
350
|
+
<team>
|
351
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.19" alignment="none">
|
352
|
+
<name first="Nashville" last="Predators"/>
|
353
|
+
</team-metadata>
|
354
|
+
<team-stats standing-points="71" events-played="61">
|
355
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="3"/>
|
356
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
357
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="16" losses="11"/>
|
358
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
359
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="17" losses="12"/>
|
360
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
361
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="9" losses="7"/>
|
362
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
363
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="4" losses="4"/>
|
364
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="2"/>
|
365
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="33" losses="23" ties="5" losses-overtime="5" points-scored-for="170" points-scored-against="173" streak="W 1" streak-type="win" streak-total="1"/>
|
366
|
+
<rank value="2" xts:conference-rank="7"/>
|
367
|
+
</team-stats>
|
368
|
+
</team>
|
369
|
+
<team>
|
370
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.17" alignment="none">
|
371
|
+
<name first="Detroit" last="Red Wings"/>
|
372
|
+
</team-metadata>
|
373
|
+
<team-stats standing-points="68" events-played="61">
|
374
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="8"/>
|
375
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="12"/>
|
376
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="16" losses="8"/>
|
377
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
378
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="12" losses="13"/>
|
379
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="7"/>
|
380
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="6" losses="6"/>
|
381
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
382
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="3" losses="3"/>
|
383
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="4"/>
|
384
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="28" losses="21" ties="12" losses-overtime="12" points-scored-for="159" points-scored-against="164" streak="W 1" streak-type="win" streak-total="1"/>
|
385
|
+
<rank value="3" xts:conference-rank="10"/>
|
386
|
+
</team-stats>
|
387
|
+
</team>
|
388
|
+
<team>
|
389
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.18" alignment="none">
|
390
|
+
<name first="St. Louis" last="Blues"/>
|
391
|
+
</team-metadata>
|
392
|
+
<team-stats standing-points="65" events-played="62">
|
393
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="4"/>
|
394
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="9"/>
|
395
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="12" losses="16"/>
|
396
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
397
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="16" losses="9"/>
|
398
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
399
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="7" losses="7"/>
|
400
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
401
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="5" losses="4"/>
|
402
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="1"/>
|
403
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="28" losses="25" ties="9" losses-overtime="9" points-scored-for="163" points-scored-against="172" streak="W 3" streak-type="win" streak-total="3"/>
|
404
|
+
<rank value="4" xts:conference-rank="12"/>
|
405
|
+
</team-stats>
|
406
|
+
</team>
|
407
|
+
<team>
|
408
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.20" alignment="none">
|
409
|
+
<name first="Columbus" last="Blue Jackets"/>
|
410
|
+
</team-metadata>
|
411
|
+
<team-stats standing-points="60" events-played="63">
|
412
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="9"/>
|
413
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="10"/>
|
414
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="15" losses="10"/>
|
415
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="6"/>
|
416
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="10" losses="18"/>
|
417
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
418
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="5" losses="6"/>
|
419
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
420
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="5" losses="4"/>
|
421
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="1"/>
|
422
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="25" losses="28" ties="10" losses-overtime="10" points-scored-for="166" points-scored-against="203" streak="L 2" streak-type="loss" streak-total="2"/>
|
423
|
+
<rank value="5" xts:conference-rank="14"/>
|
424
|
+
</team-stats>
|
425
|
+
</team>
|
426
|
+
</standing>
|
427
|
+
<standing content-label="Northwest Division">
|
428
|
+
<standing-metadata team-coverage="multi-team" date-coverage-type="season-regular" date-coverage-value="2009" stats-coverage="expanded" competition-scope="league">
|
429
|
+
<sports-content-codes>
|
430
|
+
<sports-content-code code-type="conference" code-key="c.western" code-name="Western"/>
|
431
|
+
<sports-content-code code-type="division" code-key="d.northwest" code-name="Northwest"/>
|
432
|
+
</sports-content-codes>
|
433
|
+
</standing-metadata>
|
434
|
+
<team>
|
435
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.26" alignment="none">
|
436
|
+
<name first="Vancouver" last="Canucks"/>
|
437
|
+
</team-metadata>
|
438
|
+
<team-stats standing-points="76" events-played="61">
|
439
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="2"/>
|
440
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
441
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="23" losses="7"/>
|
442
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
443
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="14" losses="15"/>
|
444
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
445
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="11" losses="6"/>
|
446
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
447
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="6" losses="4"/>
|
448
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="0"/>
|
449
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="37" losses="22" ties="2" losses-overtime="2" points-scored-for="194" points-scored-against="152" streak="L 1" streak-type="loss" streak-total="1"/>
|
450
|
+
<rank value="1" xts:conference-rank="3"/>
|
451
|
+
</team-stats>
|
452
|
+
</team>
|
453
|
+
<team>
|
454
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.27" alignment="none">
|
455
|
+
<name first="Colorado" last="Avalanche"/>
|
456
|
+
</team-metadata>
|
457
|
+
<team-stats standing-points="76" events-played="61">
|
458
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="5"/>
|
459
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="6"/>
|
460
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="20" losses="8"/>
|
461
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
462
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="15" losses="12"/>
|
463
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
464
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="9" losses="8"/>
|
465
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
466
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="5" losses="5"/>
|
467
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="0"/>
|
468
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="35" losses="20" ties="6" losses-overtime="6" points-scored-for="178" points-scored-against="158" streak="L 1" streak-type="loss" streak-total="1"/>
|
469
|
+
<rank value="2" xts:conference-rank="6"/>
|
470
|
+
</team-stats>
|
471
|
+
</team>
|
472
|
+
<team>
|
473
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.28" alignment="none">
|
474
|
+
<name first="Calgary" last="Flames"/>
|
475
|
+
</team-metadata>
|
476
|
+
<team-stats standing-points="69" events-played="62">
|
477
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="6"/>
|
478
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="9"/>
|
479
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="15" losses="14"/>
|
480
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
481
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="15" losses="9"/>
|
482
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="6"/>
|
483
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="9" losses="5"/>
|
484
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
485
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="4" losses="3"/>
|
486
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="3"/>
|
487
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="30" losses="23" ties="9" losses-overtime="9" points-scored-for="156" points-scored-against="156" streak="W 1" streak-type="win" streak-total="1"/>
|
488
|
+
<rank value="3" xts:conference-rank="8"/>
|
489
|
+
</team-stats>
|
490
|
+
</team>
|
491
|
+
<team>
|
492
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.30" alignment="none">
|
493
|
+
<name first="Minnesota" last="Wild"/>
|
494
|
+
</team-metadata>
|
495
|
+
<team-stats standing-points="64" events-played="61">
|
496
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="4"/>
|
497
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
498
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="21" losses="8"/>
|
499
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
500
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="9" losses="19"/>
|
501
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
502
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="11" losses="5"/>
|
503
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="0"/>
|
504
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="6" losses="4"/>
|
505
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="0"/>
|
506
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="30" losses="27" ties="4" losses-overtime="4" points-scored-for="171" points-scored-against="178" streak="W 1" streak-type="win" streak-total="1"/>
|
507
|
+
<rank value="4" xts:conference-rank="13"/>
|
508
|
+
</team-stats>
|
509
|
+
</team>
|
510
|
+
<team>
|
511
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.29" alignment="none">
|
512
|
+
<name first="Edmonton" last="Oilers"/>
|
513
|
+
</team-metadata>
|
514
|
+
<team-stats standing-points="44" events-played="61">
|
515
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="4"/>
|
516
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="6"/>
|
517
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="11" losses="17"/>
|
518
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
519
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="8" losses="19"/>
|
520
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
521
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="4" losses="13"/>
|
522
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
523
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="3" losses="7"/>
|
524
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="0"/>
|
525
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="19" losses="36" ties="6" losses-overtime="6" points-scored-for="153" points-scored-against="211" streak="L 1" streak-type="loss" streak-total="1"/>
|
526
|
+
<rank value="5" xts:conference-rank="15"/>
|
527
|
+
</team-stats>
|
528
|
+
</team>
|
529
|
+
</standing>
|
530
|
+
<standing content-label="Pacific Division">
|
531
|
+
<standing-metadata team-coverage="multi-team" date-coverage-type="season-regular" date-coverage-value="2009" stats-coverage="expanded" competition-scope="league">
|
532
|
+
<sports-content-codes>
|
533
|
+
<sports-content-code code-type="conference" code-key="c.western" code-name="Western"/>
|
534
|
+
<sports-content-code code-type="division" code-key="d.pacific" code-name="Pacific"/>
|
535
|
+
</sports-content-codes>
|
536
|
+
</standing-metadata>
|
537
|
+
<team>
|
538
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.24" alignment="none">
|
539
|
+
<name first="San Jose" last="Sharks"/>
|
540
|
+
</team-metadata>
|
541
|
+
<team-stats standing-points="89" events-played="62">
|
542
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="6"/>
|
543
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="9"/>
|
544
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="19" losses="5"/>
|
545
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="7"/>
|
546
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="21" losses="8"/>
|
547
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
548
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="12" losses="3"/>
|
549
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
550
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="6" losses="3"/>
|
551
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="1"/>
|
552
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="40" losses="13" ties="9" losses-overtime="9" points-scored-for="204" points-scored-against="153" streak="L 1" streak-type="loss" streak-total="1"/>
|
553
|
+
<rank value="1" xts:conference-rank="1"/>
|
554
|
+
</team-stats>
|
555
|
+
</team>
|
556
|
+
<team>
|
557
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.25" alignment="none">
|
558
|
+
<name first="Phoenix" last="Coyotes"/>
|
559
|
+
</team-metadata>
|
560
|
+
<team-stats standing-points="79" events-played="63">
|
561
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="4"/>
|
562
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
563
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="22" losses="9"/>
|
564
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
565
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="15" losses="12"/>
|
566
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
567
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="10" losses="7"/>
|
568
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
569
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="7" losses="3"/>
|
570
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="0"/>
|
571
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="37" losses="21" ties="5" losses-overtime="5" points-scored-for="167" points-scored-against="158" streak="L 2" streak-type="loss" streak-total="2"/>
|
572
|
+
<rank value="2" xts:conference-rank="4"/>
|
573
|
+
</team-stats>
|
574
|
+
</team>
|
575
|
+
<team>
|
576
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.23" alignment="none">
|
577
|
+
<name first="Los Angeles" last="Kings"/>
|
578
|
+
</team-metadata>
|
579
|
+
<team-stats standing-points="78" events-played="61">
|
580
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="4"/>
|
581
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="4"/>
|
582
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="18" losses="9"/>
|
583
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
584
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="19" losses="11"/>
|
585
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
586
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="12" losses="5"/>
|
587
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="1"/>
|
588
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="8" losses="1"/>
|
589
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="1"/>
|
590
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="37" losses="20" ties="4" losses-overtime="4" points-scored-for="185" points-scored-against="166" streak="W 1" streak-type="win" streak-total="1"/>
|
591
|
+
<rank value="3" xts:conference-rank="5"/>
|
592
|
+
</team-stats>
|
593
|
+
</team>
|
594
|
+
<team>
|
595
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.21" alignment="none">
|
596
|
+
<name first="Dallas" last="Stars"/>
|
597
|
+
</team-metadata>
|
598
|
+
<team-stats standing-points="68" events-played="61">
|
599
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="8"/>
|
600
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="12"/>
|
601
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="18" losses="6"/>
|
602
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
603
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="10" losses="15"/>
|
604
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="7"/>
|
605
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="7" losses="5"/>
|
606
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="3"/>
|
607
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="6" losses="3"/>
|
608
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="1"/>
|
609
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="28" losses="21" ties="12" losses-overtime="12" points-scored-for="175" points-scored-against="186" streak="W 2" streak-type="win" streak-total="2"/>
|
610
|
+
<rank value="4" xts:conference-rank="9"/>
|
611
|
+
</team-stats>
|
612
|
+
</team>
|
613
|
+
<team>
|
614
|
+
<team-metadata xmlns:fs="java.io.File" team-key="l.nhl.com-t.22" alignment="none">
|
615
|
+
<name first="Anaheim" last="Ducks"/>
|
616
|
+
</team-metadata>
|
617
|
+
<team-stats standing-points="67" events-played="62">
|
618
|
+
<outcome-totals competition-scope="league" duration-scope="events-shootout" date-coverage-type="season-regular" losses="4"/>
|
619
|
+
<outcome-totals competition-scope="league" duration-scope="events-overtime" date-coverage-type="season-regular" losses="7"/>
|
620
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" date-coverage-type="season-regular" wins="19" losses="8"/>
|
621
|
+
<outcome-totals competition-scope="league" alignment-scope="events-home" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
622
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" date-coverage-type="season-regular" wins="11" losses="17"/>
|
623
|
+
<outcome-totals competition-scope="league" alignment-scope="events-away" duration-scope="events-overtime" date-coverage-type="season-regular" losses="5"/>
|
624
|
+
<outcome-totals competition-scope="division" date-coverage-type="season-regular" wins="4" losses="12"/>
|
625
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="season-regular" losses="2"/>
|
626
|
+
<outcome-totals competition-scope="league" date-coverage-type="last-ten-games" wins="6" losses="4"/>
|
627
|
+
<outcome-totals competition-scope="division" duration-scope="events-overtime" date-coverage-type="last-ten-games" losses="0"/>
|
628
|
+
<outcome-totals competition-scope="league" date-coverage-type="season-regular" wins="30" losses="25" ties="7" losses-overtime="7" points-scored-for="177" points-scored-against="189" streak="W 1" streak-type="win" streak-total="1"/>
|
629
|
+
<rank value="5" xts:conference-rank="11"/>
|
630
|
+
</team-stats>
|
631
|
+
</team>
|
632
|
+
</standing>
|
633
|
+
</sports-content></xts:sports-content-set>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe SodaXmlTeam do
|
4
|
+
|
5
|
+
subject { SodaXmlTeam::Standings }
|
6
|
+
|
7
|
+
describe '.parse_standings' do
|
8
|
+
|
9
|
+
let(:input) {
|
10
|
+
SodaXmlTeam::Client.new(ENV['SODA_USERNAME'], ENV['SODA_PASSWORD']).get_document({
|
11
|
+
sandbox: true,
|
12
|
+
document_id: 'xt.10878197-standings'
|
13
|
+
})
|
14
|
+
}
|
15
|
+
let(:output) { subject.parse_standings(input) }
|
16
|
+
|
17
|
+
it 'has a division name' do
|
18
|
+
expect(output[0][:division]).to eq 'Atlantic Division'
|
19
|
+
end
|
20
|
+
|
21
|
+
it 'has a conference name' do
|
22
|
+
expect(output[0][:conference]).to eq 'Eastern'
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'has five teams in the division' do
|
26
|
+
expect(output[0][:teams].length).to eq 5
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'has a team name' do
|
30
|
+
expect(output[0][:teams][0][:name]).to eq 'New Jersey Devils'
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'has a record of 10 wins' do
|
34
|
+
expect(output[0][:teams][0]['wins']).to eq 37
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -15,8 +15,11 @@ RSpec.configure do |config|
|
|
15
15
|
stub_request(:get, "https://#{ENV['SODA_USERNAME']}:#{ENV['SODA_PASSWORD']}@soda.xmlteam.com/api-trial/getDocuments?doc-ids=xt.10875359-nas-sked").
|
16
16
|
to_return(:status => 200, :body => File.new("spec/fixtures/get_document_schedule.xml").read, :headers => {})
|
17
17
|
|
18
|
-
stub_request(:get, "https
|
18
|
+
stub_request(:get, "https://#{ENV['SODA_USERNAME']}:#{ENV['SODA_PASSWORD']}@soda.xmlteam.com/api-trial/getDocuments?doc-ids=xt.3329967-NAS-2005-OUTLOOK").
|
19
19
|
to_return(:status => 200, :body => File.new("spec/fixtures/get_document_news.xml").read, :headers => {})
|
20
20
|
|
21
|
+
stub_request(:get, "https://#{ENV['SODA_USERNAME']}:#{ENV['SODA_PASSWORD']}@soda.xmlteam.com/api-trial/getDocuments?doc-ids=xt.10878197-standings").
|
22
|
+
to_return(:status => 200, :body => File.new("spec/fixtures/get_document_standings.xml").read, :headers => {})
|
23
|
+
|
21
24
|
end
|
22
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soda_xml_team
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Yeargin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -114,14 +114,17 @@ files:
|
|
114
114
|
- lib/soda_xml_team/client.rb
|
115
115
|
- lib/soda_xml_team/news.rb
|
116
116
|
- lib/soda_xml_team/schedule.rb
|
117
|
+
- lib/soda_xml_team/standings.rb
|
117
118
|
- lib/soda_xml_team/version.rb
|
118
119
|
- soda_xml_team.gemspec
|
119
120
|
- spec/fixtures/get_document_news.xml
|
120
121
|
- spec/fixtures/get_document_schedule.xml
|
122
|
+
- spec/fixtures/get_document_standings.xml
|
121
123
|
- spec/fixtures/get_listing_schedule.xml
|
122
124
|
- spec/soda_xml_team_news_spec.rb
|
123
125
|
- spec/soda_xml_team_schedule_spec.rb
|
124
126
|
- spec/soda_xml_team_spec.rb
|
127
|
+
- spec/soda_xml_team_standings_spec.rb
|
125
128
|
- spec/spec_helper.rb
|
126
129
|
- tasks/rspec.rake
|
127
130
|
homepage: https://github.com/seatshare/soda_xml_team
|
@@ -151,8 +154,10 @@ summary: XML Team Sports On Demand API
|
|
151
154
|
test_files:
|
152
155
|
- spec/fixtures/get_document_news.xml
|
153
156
|
- spec/fixtures/get_document_schedule.xml
|
157
|
+
- spec/fixtures/get_document_standings.xml
|
154
158
|
- spec/fixtures/get_listing_schedule.xml
|
155
159
|
- spec/soda_xml_team_news_spec.rb
|
156
160
|
- spec/soda_xml_team_schedule_spec.rb
|
157
161
|
- spec/soda_xml_team_spec.rb
|
162
|
+
- spec/soda_xml_team_standings_spec.rb
|
158
163
|
- spec/spec_helper.rb
|