teius 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/LICENCE.txt +26 -0
- data/ext/extconf.rb +5 -0
- data/ext/teius.c +177 -0
- data/test/teius_test.rb +84 -0
- data/xml/xt.3608774-update-mid-event.xml +2 -0
- data/xml/xt.3608787-update-post-event.xml +2 -0
- metadata +50 -0
data/doc/LICENCE.txt
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
Teius Ruby wrapper to the LibXML library is under copyright by:
|
2
|
+
Copyright (c) 2006 XML Team Solutions, http://xmlteam.com
|
3
|
+
Teius was written by Josh Harvey (josh@xmlteam.com).
|
4
|
+
|
5
|
+
The LibXML library, included as a windows DLL file, is under copyright by:
|
6
|
+
Copyright (c) 1998-2003 Daniel Veillard. All Rights Reserved
|
7
|
+
|
8
|
+
Both are released under the MIT license, below:
|
9
|
+
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
11
|
+
this software and associated documentation files (the "Software"), to deal in
|
12
|
+
the Software without restriction, including without limitation the rights to
|
13
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
14
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
15
|
+
subject to the following conditions:
|
16
|
+
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
18
|
+
copies or substantial portions of the Software.
|
19
|
+
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
22
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
23
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
24
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
25
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
26
|
+
|
data/ext/extconf.rb
ADDED
data/ext/teius.c
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
#include <stdio.h>
|
2
|
+
#include "ruby.h"
|
3
|
+
#include <libxml/parser.h>
|
4
|
+
#include <libxml/tree.h>
|
5
|
+
#include <libxml/xpath.h>
|
6
|
+
|
7
|
+
static VALUE cParseError;
|
8
|
+
static VALUE cXpathError;
|
9
|
+
static VALUE cElementNotFound;
|
10
|
+
static VALUE cNode;
|
11
|
+
static VALUE cDocument;
|
12
|
+
static ID sRequired;
|
13
|
+
static ID sFirst;
|
14
|
+
static ID sAll;
|
15
|
+
|
16
|
+
static void doc_free(void *p) {
|
17
|
+
xmlFreeDoc(p);
|
18
|
+
}
|
19
|
+
|
20
|
+
static VALUE node_value(VALUE self) {
|
21
|
+
xmlNodePtr node = NULL;
|
22
|
+
Data_Get_Struct(self, xmlNode, node);
|
23
|
+
|
24
|
+
xmlChar *val = xmlNodeGetContent(node);
|
25
|
+
VALUE rVal = rb_str_new2(val);
|
26
|
+
xmlFree(val);
|
27
|
+
|
28
|
+
return rVal;
|
29
|
+
}
|
30
|
+
|
31
|
+
static VALUE node_document(VALUE self) {
|
32
|
+
xmlNodePtr node = NULL;
|
33
|
+
Data_Get_Struct(self, xmlNode, node);
|
34
|
+
|
35
|
+
xmlDocPtr doc = node->doc;
|
36
|
+
|
37
|
+
/* Don't GC this one -- it's just a reference to the original */
|
38
|
+
return Data_Wrap_Struct(cDocument, 0, 0, doc);
|
39
|
+
}
|
40
|
+
|
41
|
+
/* Returns a ruby hash of node's elements */
|
42
|
+
static VALUE node_attributes(VALUE self) {
|
43
|
+
xmlNodePtr node = NULL;
|
44
|
+
Data_Get_Struct(self, xmlNode, node);
|
45
|
+
|
46
|
+
xmlAttrPtr attrs = node->properties;
|
47
|
+
VALUE rHash = rb_hash_new();
|
48
|
+
while (attrs != NULL) {
|
49
|
+
VALUE rName = rb_str_new2(attrs->name);
|
50
|
+
xmlChar *val = xmlNodeGetContent(attrs->children);
|
51
|
+
VALUE rVal = rb_str_new2(val);
|
52
|
+
rb_hash_aset(rHash, rName, rVal);
|
53
|
+
xmlFree(val);
|
54
|
+
attrs = attrs->next;
|
55
|
+
}
|
56
|
+
|
57
|
+
return rHash;
|
58
|
+
}
|
59
|
+
|
60
|
+
static VALUE node_find(int argc, VALUE *argv, VALUE self) {
|
61
|
+
VALUE rType, rXpath, rOptions;
|
62
|
+
rb_scan_args(argc, argv, "21", &rType, &rXpath, &rOptions);
|
63
|
+
int required = 0;
|
64
|
+
if (argc == 3) {
|
65
|
+
VALUE rRequired = rb_hash_aref(rOptions, sRequired);
|
66
|
+
required = rRequired != Qnil;
|
67
|
+
}
|
68
|
+
|
69
|
+
xmlNodePtr node = NULL;
|
70
|
+
Data_Get_Struct(self, xmlNode, node);
|
71
|
+
xmlDocPtr doc = node->doc;
|
72
|
+
|
73
|
+
xmlXPathContextPtr context;
|
74
|
+
xmlXPathObjectPtr result;
|
75
|
+
|
76
|
+
context = xmlXPathNewContext(doc);
|
77
|
+
context->node = node;
|
78
|
+
|
79
|
+
char *xpath = StringValuePtr(rXpath);
|
80
|
+
result = xmlXPathEvalExpression(xpath, context);
|
81
|
+
if (result == NULL) {
|
82
|
+
xmlErrorPtr err = xmlGetLastError();
|
83
|
+
xmlXPathFreeContext(context);
|
84
|
+
rb_raise(cXpathError, "Couldn't evaluate xpath [%s]: %s",
|
85
|
+
xpath, err->message);
|
86
|
+
}
|
87
|
+
|
88
|
+
xmlNodeSetPtr node_set = result->nodesetval;
|
89
|
+
int size = node_set != NULL ? node_set->nodeNr : 0;
|
90
|
+
|
91
|
+
if (size == 0 && required) {
|
92
|
+
xmlXPathFreeObject(result);
|
93
|
+
xmlXPathFreeContext(context);
|
94
|
+
rb_raise(cElementNotFound, "No such element in %s: %s", node->name, xpath);
|
95
|
+
}
|
96
|
+
|
97
|
+
VALUE rResult;
|
98
|
+
ID type = SYM2ID(rType);
|
99
|
+
if (type == sFirst) { /* Just return first node */
|
100
|
+
if (size == 0) {
|
101
|
+
rResult = Qnil;
|
102
|
+
} else {
|
103
|
+
rResult = Data_Wrap_Struct(cNode, 0, 0, node_set->nodeTab[0]);
|
104
|
+
}
|
105
|
+
} else if (type == sAll) { /* Return ruby array of all nodes */
|
106
|
+
int i;
|
107
|
+
VALUE arr = rb_ary_new2(size);
|
108
|
+
for (i=0; i < size; i++) {
|
109
|
+
xmlNodePtr cur_node = node_set->nodeTab[i];
|
110
|
+
|
111
|
+
/* Create LibxmlElement and store it in arr */
|
112
|
+
VALUE rNode = Data_Wrap_Struct(cNode, 0, 0, cur_node);
|
113
|
+
rb_ary_store(arr, i, rNode);
|
114
|
+
}
|
115
|
+
rResult = arr;
|
116
|
+
} else {
|
117
|
+
xmlXPathFreeObject(result);
|
118
|
+
xmlXPathFreeContext(context);
|
119
|
+
rb_raise(rb_eArgError, "Unknown type: :%s (should be :first or :all)",
|
120
|
+
rb_id2name(type));
|
121
|
+
}
|
122
|
+
|
123
|
+
xmlXPathFreeObject(result);
|
124
|
+
xmlXPathFreeContext(context);
|
125
|
+
|
126
|
+
return rResult;
|
127
|
+
}
|
128
|
+
|
129
|
+
static VALUE node_name(VALUE self) {
|
130
|
+
xmlNodePtr node = NULL;
|
131
|
+
Data_Get_Struct(self, xmlNode, node);
|
132
|
+
return rb_str_new2(node->name);
|
133
|
+
}
|
134
|
+
|
135
|
+
static VALUE parse_file(VALUE self, VALUE rFilename) {
|
136
|
+
xmlDocPtr doc = xmlReadFile(StringValuePtr(rFilename), NULL, 0);
|
137
|
+
if (doc == NULL) {
|
138
|
+
xmlErrorPtr err = xmlGetLastError();
|
139
|
+
rb_raise(cParseError, "could not parse file %s: %s",
|
140
|
+
StringValuePtr(rFilename), err->message);
|
141
|
+
}
|
142
|
+
|
143
|
+
/* Load new document */
|
144
|
+
VALUE rDoc = Data_Wrap_Struct(cDocument, 0, doc_free, doc);
|
145
|
+
|
146
|
+
return rDoc;
|
147
|
+
}
|
148
|
+
|
149
|
+
void Init_teius() {
|
150
|
+
/* LIBXML_TEST_VERSION */
|
151
|
+
|
152
|
+
/* Symbols */
|
153
|
+
sRequired = rb_intern("required");
|
154
|
+
sFirst = rb_intern("first");
|
155
|
+
sAll = rb_intern("all");
|
156
|
+
|
157
|
+
/* Modules */
|
158
|
+
VALUE mTeius = rb_define_module("Teius");
|
159
|
+
|
160
|
+
/* Exceptions */
|
161
|
+
cParseError = rb_define_class_under(mTeius, "ParseError", rb_eStandardError);
|
162
|
+
cXpathError = rb_define_class_under(mTeius, "XpathError", rb_eStandardError);
|
163
|
+
cElementNotFound = rb_define_class_under(mTeius,
|
164
|
+
"ElementNotFound", rb_eStandardError);
|
165
|
+
|
166
|
+
/* LibxmlElement */
|
167
|
+
cNode = rb_define_class_under(mTeius, "Node", rb_cObject);
|
168
|
+
rb_define_method(cNode, "value", node_value, 0);
|
169
|
+
rb_define_method(cNode, "document", node_document, 0);
|
170
|
+
rb_define_method(cNode, "attributes", node_attributes, 0);
|
171
|
+
rb_define_method(cNode, "find", node_find, -1);
|
172
|
+
rb_define_method(cNode, "name", node_name, 0);
|
173
|
+
|
174
|
+
/* LibxmlDocument */
|
175
|
+
cDocument = rb_define_class_under(mTeius, "Document", cNode);
|
176
|
+
rb_define_singleton_method(cDocument, "parse_file", parse_file, 1);
|
177
|
+
}
|
data/test/teius_test.rb
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'lib')
|
2
|
+
require 'rubygems'
|
3
|
+
# need require_gem?
|
4
|
+
require 'test/unit'
|
5
|
+
require 'teius'
|
6
|
+
|
7
|
+
class TeiusTest < Test::Unit::TestCase
|
8
|
+
include Teius
|
9
|
+
|
10
|
+
def setup
|
11
|
+
@xml_dir = File.join(File.dirname(__FILE__), '..', 'xml')
|
12
|
+
@doc = Document.parse_file File.join(@xml_dir,
|
13
|
+
'xt.3608787-update-post-event.xml')
|
14
|
+
end
|
15
|
+
|
16
|
+
def test_parse
|
17
|
+
el = @doc.find :first, '/sports-content/sports-metadata/sports-title'
|
18
|
+
assert_equal 'Score Update: Chicago vs. Green Bay (Final)', el.value
|
19
|
+
# test attributes
|
20
|
+
md = @doc.find :first, '/sports-content/sports-metadata'
|
21
|
+
atts = md.attributes
|
22
|
+
assert_equal 'event-summary', atts['document-class']
|
23
|
+
assert_equal 'en-US', atts['language']
|
24
|
+
assert_equal 8, atts.length
|
25
|
+
el = @doc.find :first, '/sports-content/sports-metadata/@doc-id'
|
26
|
+
assert_not_nil el
|
27
|
+
assert_equal 'xt.3608787-update-post-event', el.value
|
28
|
+
assert_equal 'doc-id', el.name
|
29
|
+
end
|
30
|
+
|
31
|
+
def test_relative_paths
|
32
|
+
meta = @doc.find :first, '/sports-content/sports-metadata'
|
33
|
+
assert_not_nil meta
|
34
|
+
doc_id = meta.find :first, '@doc-id'
|
35
|
+
assert_not_nil doc_id
|
36
|
+
assert_equal 'xt.3608787-update-post-event', doc_id.value
|
37
|
+
assert_equal 'doc-id', doc_id.name
|
38
|
+
end
|
39
|
+
|
40
|
+
def test_document
|
41
|
+
doc = @doc.document
|
42
|
+
el = doc.find :first, '/sports-content/sports-metadata/sports-title'
|
43
|
+
assert_equal 'Score Update: Chicago vs. Green Bay (Final)', el.value
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_document2
|
47
|
+
doc2 = Document.parse_file File.join(@xml_dir,
|
48
|
+
'xt.3608774-update-mid-event.xml')
|
49
|
+
doc = doc2.document
|
50
|
+
el = doc.find :first, '/sports-content/sports-metadata/sports-title'
|
51
|
+
assert_equal 'Score Update: Chicago vs. Green Bay (Mid Event - 4)', el.value
|
52
|
+
|
53
|
+
# test attributes
|
54
|
+
md = doc.find :first, '/sports-content/sports-metadata'
|
55
|
+
atts = md.attributes
|
56
|
+
assert_equal 'event-summary', atts['document-class']
|
57
|
+
assert_equal 'en-US', atts['language']
|
58
|
+
assert_equal 8, atts.length
|
59
|
+
|
60
|
+
# make sure attributes are still there
|
61
|
+
atts = md.attributes
|
62
|
+
assert_equal 8, atts.length
|
63
|
+
end
|
64
|
+
|
65
|
+
def test_both_docs
|
66
|
+
doc = @doc.document
|
67
|
+
el = doc.find :first, '/sports-content/sports-metadata/sports-title'
|
68
|
+
assert_equal 'Score Update: Chicago vs. Green Bay (Final)', el.value
|
69
|
+
|
70
|
+
doc2 = Document.parse_file File.join(@xml_dir,
|
71
|
+
'xt.3608774-update-mid-event.xml')
|
72
|
+
doc2 = doc2.document
|
73
|
+
el = doc2.find :first, '/sports-content/sports-metadata/sports-title'
|
74
|
+
assert_equal 'Score Update: Chicago vs. Green Bay (Mid Event - 4)', el.value
|
75
|
+
|
76
|
+
# test attributes
|
77
|
+
md = doc2.find :first, '/sports-content/sports-metadata'
|
78
|
+
atts = md.attributes
|
79
|
+
assert_equal 'event-summary', atts['document-class']
|
80
|
+
assert_equal 'en-US', atts['language']
|
81
|
+
assert_equal 8, atts.length
|
82
|
+
end
|
83
|
+
|
84
|
+
end
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<sports-content xmlns:str="java.lang.String" xmlns:xts="http://www.xmlteam.com" path-id="american-football/l.nfl.com/event-summary/xt.3608774-update-mid-event" xts:systemid="scoresxml" xts:tsnid="3608774"><sports-metadata xmlns:fs="java.io.File" date-time="20051204T161300-0500" doc-id="xt.3608774-update-mid-event" xts:tsnslug="BC-ABP+069:063* 7 19 4R 0:08" language="en-US" revision-id="l.nfl.com-2005-e.1558-event-score-sportsnetwork.com" fixture-key="event-score" document-class="event-summary" fixture-name="Event Score"><sports-title>Score Update: Chicago vs. Green Bay (Mid Event - 4)</sports-title><sports-content-codes><sports-content-code code-name="The Sports Network" code-key="sportsnetwork.com" code-type="publisher"/><sports-content-code code-name="XML Team Solutions, Inc." code-key="xmlteam.com" code-type="distributor"/><sports-content-code code-type="sport" code-key="15003000" code-name="American Football"/><sports-content-code code-type="league" code-key="l.nfl.com" code-name="National Football League"/><sports-content-code code-type="season-type" code-key="regular"/><sports-content-code code-type="season" code-key="2005"/><sports-content-code code-type="priority" code-key="normal"/><sports-content-code code-type="conference" code-key="c.nfc" code-name="National"/><sports-content-code code-type="team" code-key="l.nfl.com-t.22" code-name="Chicago Bears"/><sports-content-code code-type="team" code-key="l.nfl.com-t.24" code-name="Green Bay Packers"/></sports-content-codes></sports-metadata><sports-event xmlns:fs="java.io.File" xmlns:mutex="ca.cbc.sportwire.util.XslLock"><event-metadata date-coverage-type="event" event-key="l.nfl.com-2005-e.1558" date-coverage-value="l.nfl.com-2005-e.1558" event-status="mid-event" start-date-time="20051204T130000-0500"><event-metadata-american-football period-value="4" period-time-remaining="0:08"/></event-metadata><team><team-metadata team-key="l.nfl.com-t.24" alignment="away"><name first="Green Bay" last="Packers"/></team-metadata><team-stats event-outcome="undecided" score="7"><sub-score period-value="1" score="0" xts:total-score="0"/><sub-score period-value="2" score="7" xts:total-score="7"/><sub-score period-value="3" score="0" xts:total-score="7"/><sub-score period-value="4" score="0" xts:total-score="7"/></team-stats></team><team><team-metadata team-key="l.nfl.com-t.22" alignment="home"><name first="Chicago" last="Bears"/></team-metadata><team-stats event-outcome="undecided" score="19"><sub-score period-value="1" score="0" xts:total-score="0"/><sub-score period-value="2" score="9" xts:total-score="9"/><sub-score period-value="3" score="0" xts:total-score="9"/><sub-score period-value="4" score="10" xts:total-score="19"/></team-stats></team><event-actions><event-actions-american-football><action-american-football-play period-value="1" comment="Game just under way."/><action-american-football-play period-value="1" comment="14:55 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="14:50 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="14:43 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="14:26 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="14:00 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="13:19 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="Note: Green Bay tight end Bubba Franks has left the game with a back injury."/><action-american-football-play period-value="1" comment="13:09 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="13:05 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="12:57 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="12:52 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="Note: Green Bay tight end Bubba Franks has a arm stinger and is questionable to return."/><action-american-football-play period-value="1" comment="12:32 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="11:52 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="11:24 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="11:15 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="11:00 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="10:12 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="9:38 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="9:38 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="9:15 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="8:30 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="8:00 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="7:22 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="7:00 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="Note: Chicago free safety Chris Harris has left the game with an undisclosed injury."/><action-american-football-play period-value="1" comment="6:15 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="5:29 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="5:02 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="4:30 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="3:58 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="3:44 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="3:28 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="3:05 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="2:52 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="2:20 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="2:10 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="1:48 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="1:15 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="0:43 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="0:32 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="0:22 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="End of 1st quarter."/><action-american-football-play period-value="2" comment="2nd quarter under way."/><action-american-football-play period-value="2" comment="14:52 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="14:28 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="14:17 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="13:38 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="13:34 REMAINING IN THE 2ND QUARTER Chicago Field Goal - Robbie Gould 21 yarder."/><action-american-football-play period-value="2" comment="13:29 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="13:23 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="Note: Chicago safety Chris Harris (knee) will not return."/><action-american-football-play period-value="2" comment="13:20 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="13:17 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="13:10 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="Note: Green Bay tight end Bubba Franks (arm stringer) will not return."/><action-american-football-play period-value="2" comment="12:55 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="12:15 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="11:30 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="11:02 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="10:55 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="10:25 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="9:43 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="9:35 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="9:35 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="9:03 REMAINING IN THE 2ND QUARTER Brett Favre pass to B.J. Sander to the Chicago 11 for 5 yards. Green Bay has the ball, 2nd and 5 on the Chicago 11."/><action-american-football-play period-value="2" comment="8:24 REMAINING IN THE 2ND QUARTER Samkon Gado rushed right to the Chicago 9 for 2 yards. Green Bay has the ball, 3rd and 3 on the Chicago 9."/><action-american-football-play period-value="2" comment="8:00 REMAINING IN THE 2ND QUARTER Brett Favre pass to Donald Driver to the Chicago 2 for 7 yards. Green Bay has the ball, 1st and goal on the Chicago 2."/><action-american-football-play period-value="2" comment="7:08 REMAINING IN THE 2ND QUARTER Brett Favre pass incomplete to Donald Lee. Green Bay has the ball, 2nd and goal on the Chicago 2."/><action-american-football-play period-value="2" comment="7:03 REMAINING IN THE 2ND QUARTER Green Bay Touchdown - Samkon Gado rushed right for 2 yards."/><action-american-football-play period-value="2" comment="7:03 REMAINING IN THE 2ND QUARTER Ryan Longwell extra point is good."/><action-american-football-play period-value="2" comment="6:56 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="6:35 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="6:20 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="5:45 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="5:12 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="4:42 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="4:38 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="4:33 REMAINING IN THE 2ND QUARTER Chicago Field Goal - Robbie Gould 40 yarder."/><action-american-football-play period-value="2" comment="4:28 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="4:17 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="3:43 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="3:05 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="2:35 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="2:00 REMAINING IN THE 2ND QUARTER Antonio Chatman rushed wide left to the Chicago 48 for 11 yards. Green Bay has the ball, 1st and 10 on the Chicago 48."/><action-american-football-play period-value="2" comment="Note: Chicago linebacker Hunter Hillenmeyer has left the game with a thumb injury."/><action-american-football-play period-value="2" comment="1:45 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="1:13 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="1:00 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="0:39 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="0:35 REMAINING IN THE 2ND QUARTER Brett Favre pass to Robert Ferguson to the Chicago 19 for 5 yards. Green Bay has the ball, 1st and 10 on the Chicago 19."/><action-american-football-play period-value="2" comment="0:29 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="0:23 REMAINING IN THE 2ND QUARTER Brett Favre pass to David Martin to the Chicago 7 for 7 yards. Green Bay has the ball, 1st and goal on the Chicago 7."/><action-american-football-play period-value="2" comment="0:06 REMAINING IN THE 2ND QUARTER Brett Favre pass intercepted by Charles Tillman in the end zone and returned to the Green Bay 7 for 93 yards. Chicago has the ball, 1st and goal on the Green Bay 7."/><action-american-football-play period-value="2" comment="0:02 REMAINING IN THE 2ND QUARTER Chicago Field Goal - Robbie Gould 25 yarder."/><action-american-football-play period-value="2" comment="0:00 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="3" comment="Second half under way."/><action-american-football-play period-value="3" comment="14:55 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="14:43 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="14:12 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="14:00 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="13:10 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="12:41 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="12:30 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="12:25 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="Note: Chicago linebacker Hunter Hillenmeyer has returned."/><action-american-football-play period-value="3" comment="11:43 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="11:14 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="11:05 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="11:00 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="10:30 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="9:39 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="9:31 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="9:31 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="9:27 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="9:15 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="8:15 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="7:40 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="7:11 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="7:00 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="6:37 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="6:21 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="5:55 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="5:16 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="5:10 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="4:35 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="4:20 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="3:50 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="2:58 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="2:30 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="1:40 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="1:16 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="0:50 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="0:20 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="End of 3rd quarter."/><action-american-football-play period-value="4" comment="4th quarter under way."/><action-american-football-play period-value="4" comment="14:57 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="14:48 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="14:35 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="14:05 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="13:33 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="13:15 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="13:00 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="12:05 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="11:20 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="10:50 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="10:25 REMAINING IN THE 4TH QUARTER Adrian Peterson up the middle to the Green Bay 16 for 9 yards. Chicago has the ball, 2nd and 1 on the Green Bay 16."/><action-american-football-play period-value="4" comment="9:40 REMAINING IN THE 4TH QUARTER Adrian Peterson up the middle for no gain. Chicago has the ball, 3rd and 1 on the Green Bay 16."/><action-american-football-play period-value="4" comment="8:55 REMAINING IN THE 4TH QUARTER Adrian Peterson rushed wide right for no gain. Chicago has the ball, 4th and 1 on the Green Bay 16."/><action-american-football-play period-value="4" comment="8:22 REMAINING IN THE 4TH QUARTER Chicago Field Goal - Robbie Gould 35 yarder."/><action-american-football-play period-value="4" comment="8:15 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="8:00 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="7:31 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="7:15 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="6:50 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="6:30 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="5:54 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="5:43 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="5:08 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="5:03 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="4:56 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="4:45 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="4:35 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="4:09 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="4:04 REMAINING IN THE 4TH QUARTER Robbie Gould 43 yard field goal missed short."/><action-american-football-play period-value="4" comment="3:51 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="3:21 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="3:06 REMAINING IN THE 4TH QUARTER Chicago Touchdown - Brett Favre pass intercepted by Nathan Vasher at the Green Bay 45 for 45 yards."/><action-american-football-play period-value="4" comment="3:06 REMAINING IN THE 4TH QUARTER Robbie Gould extra point is good."/><action-american-football-play period-value="4" comment="3:00 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="2:45 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="2:18 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="2:13 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="2:00 REMAINING IN THE 4TH QUARTER Brett Favre pass to Donald Driver to the Green Bay 38 for 2 yards. Green Bay has the ball, 1st and 10 on the Green Bay 38."/><action-american-football-play period-value="4" comment="1:43 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="1:38 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="1:34 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="1:20 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="1:10 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="0:55 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="0:45 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="0:35 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="0:27 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="0:24 REMAINING IN THE 4TH QUARTER Brett Favre pass incomplete to Donald Driver. Green Bay has the ball, 2nd and 10 on the Chicago 14."/><action-american-football-play period-value="4" comment="0:19 REMAINING IN THE 4TH QUARTER Brett Favre pass incomplete to Tony Fisher. Green Bay has the ball, 3rd and 10 on the Chicago 14."/><action-american-football-play period-value="4" comment="0:08 REMAINING IN THE 4TH QUARTER Brett Favre pass incomplete to Antonio Chatman. Green Bay has the ball, 4th and 10 on the Chicago 14."/></event-actions-american-football></event-actions></sports-event></sports-content>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<sports-content xmlns:str="java.lang.String" xmlns:xts="http://www.xmlteam.com" path-id="american-football/l.nfl.com/event-summary/xt.3608787-update-post-event" xts:systemid="scoresxml" xts:tsnid="3608787"><sports-metadata xmlns:fs="java.io.File" date-time="20051204T161400-0500" doc-id="xt.3608787-update-post-event" xts:tsnslug="BC-ABR+069:063* 7 1999" language="en-US" revision-id="l.nfl.com-2005-e.1558-event-score-sportsnetwork.com" fixture-key="event-score" document-class="event-summary" fixture-name="Event Score"><sports-title>Score Update: Chicago vs. Green Bay (Final)</sports-title><sports-content-codes><sports-content-code code-name="The Sports Network" code-key="sportsnetwork.com" code-type="publisher"/><sports-content-code code-name="XML Team Solutions, Inc." code-key="xmlteam.com" code-type="distributor"/><sports-content-code code-type="sport" code-key="15003000" code-name="American Football"/><sports-content-code code-type="league" code-key="l.nfl.com" code-name="National Football League"/><sports-content-code code-type="season-type" code-key="regular"/><sports-content-code code-type="season" code-key="2005"/><sports-content-code code-type="priority" code-key="normal"/><sports-content-code code-type="conference" code-key="c.nfc" code-name="National"/><sports-content-code code-type="team" code-key="l.nfl.com-t.22" code-name="Chicago Bears"/><sports-content-code code-type="team" code-key="l.nfl.com-t.24" code-name="Green Bay Packers"/></sports-content-codes></sports-metadata><sports-event xmlns:fs="java.io.File" xmlns:mutex="ca.cbc.sportwire.util.XslLock"><event-metadata date-coverage-type="event" event-key="l.nfl.com-2005-e.1558" date-coverage-value="l.nfl.com-2005-e.1558" event-status="post-event" start-date-time="20051204T130000-0500"><event-metadata-american-football period-value="4" period-time-remaining="0:00"/></event-metadata><team><team-metadata team-key="l.nfl.com-t.24" alignment="away"><name first="Green Bay" last="Packers"/></team-metadata><team-stats event-outcome="loss" score="7"><sub-score period-value="1" score="0" xts:total-score="0"/><sub-score period-value="2" score="7" xts:total-score="7"/><sub-score period-value="3" score="0" xts:total-score="7"/><sub-score period-value="4" score="0" xts:total-score="7"/></team-stats></team><team><team-metadata team-key="l.nfl.com-t.22" alignment="home"><name first="Chicago" last="Bears"/></team-metadata><team-stats event-outcome="win" score="19"><sub-score period-value="1" score="0" xts:total-score="0"/><sub-score period-value="2" score="9" xts:total-score="9"/><sub-score period-value="3" score="0" xts:total-score="9"/><sub-score period-value="4" score="10" xts:total-score="19"/></team-stats></team><event-actions><event-actions-american-football><action-american-football-play period-value="1" comment="Game just under way."/><action-american-football-play period-value="1" comment="14:55 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="14:50 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="14:43 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="14:26 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="14:00 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="13:19 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="Note: Green Bay tight end Bubba Franks has left the game with a back injury."/><action-american-football-play period-value="1" comment="13:09 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="13:05 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="12:57 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="12:52 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="Note: Green Bay tight end Bubba Franks has a arm stinger and is questionable to return."/><action-american-football-play period-value="1" comment="12:32 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="11:52 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="11:24 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="11:15 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="11:00 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="10:12 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="9:38 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="9:38 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="9:15 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="8:30 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="8:00 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="7:22 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="7:00 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="Note: Chicago free safety Chris Harris has left the game with an undisclosed injury."/><action-american-football-play period-value="1" comment="6:15 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="5:29 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="5:02 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="4:30 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="3:58 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="3:44 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="3:28 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="3:05 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="2:52 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="2:20 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="2:10 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="1:48 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="1:15 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="0:43 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="0:32 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="0:22 REMAINING IN THE 1ST QUARTER"/><action-american-football-play period-value="1" comment="End of 1st quarter."/><action-american-football-play period-value="2" comment="2nd quarter under way."/><action-american-football-play period-value="2" comment="14:52 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="14:28 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="14:17 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="13:38 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="13:34 REMAINING IN THE 2ND QUARTER Chicago Field Goal - Robbie Gould 21 yarder."/><action-american-football-play period-value="2" comment="13:29 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="13:23 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="Note: Chicago safety Chris Harris (knee) will not return."/><action-american-football-play period-value="2" comment="13:20 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="13:17 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="13:10 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="Note: Green Bay tight end Bubba Franks (arm stringer) will not return."/><action-american-football-play period-value="2" comment="12:55 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="12:15 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="11:30 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="11:02 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="10:55 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="10:25 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="9:43 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="9:35 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="9:35 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="9:03 REMAINING IN THE 2ND QUARTER Brett Favre pass to B.J. Sander to the Chicago 11 for 5 yards. Green Bay has the ball, 2nd and 5 on the Chicago 11."/><action-american-football-play period-value="2" comment="8:24 REMAINING IN THE 2ND QUARTER Samkon Gado rushed right to the Chicago 9 for 2 yards. Green Bay has the ball, 3rd and 3 on the Chicago 9."/><action-american-football-play period-value="2" comment="8:00 REMAINING IN THE 2ND QUARTER Brett Favre pass to Donald Driver to the Chicago 2 for 7 yards. Green Bay has the ball, 1st and goal on the Chicago 2."/><action-american-football-play period-value="2" comment="7:08 REMAINING IN THE 2ND QUARTER Brett Favre pass incomplete to Donald Lee. Green Bay has the ball, 2nd and goal on the Chicago 2."/><action-american-football-play period-value="2" comment="7:03 REMAINING IN THE 2ND QUARTER Green Bay Touchdown - Samkon Gado rushed right for 2 yards."/><action-american-football-play period-value="2" comment="7:03 REMAINING IN THE 2ND QUARTER Ryan Longwell extra point is good."/><action-american-football-play period-value="2" comment="6:56 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="6:35 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="6:20 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="5:45 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="5:12 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="4:42 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="4:38 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="4:33 REMAINING IN THE 2ND QUARTER Chicago Field Goal - Robbie Gould 40 yarder."/><action-american-football-play period-value="2" comment="4:28 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="4:17 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="3:43 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="3:05 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="2:35 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="2:00 REMAINING IN THE 2ND QUARTER Antonio Chatman rushed wide left to the Chicago 48 for 11 yards. Green Bay has the ball, 1st and 10 on the Chicago 48."/><action-american-football-play period-value="2" comment="Note: Chicago linebacker Hunter Hillenmeyer has left the game with a thumb injury."/><action-american-football-play period-value="2" comment="1:45 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="1:13 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="1:00 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="0:39 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="0:35 REMAINING IN THE 2ND QUARTER Brett Favre pass to Robert Ferguson to the Chicago 19 for 5 yards. Green Bay has the ball, 1st and 10 on the Chicago 19."/><action-american-football-play period-value="2" comment="0:29 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="2" comment="0:23 REMAINING IN THE 2ND QUARTER Brett Favre pass to David Martin to the Chicago 7 for 7 yards. Green Bay has the ball, 1st and goal on the Chicago 7."/><action-american-football-play period-value="2" comment="0:06 REMAINING IN THE 2ND QUARTER Brett Favre pass intercepted by Charles Tillman in the end zone and returned to the Green Bay 7 for 93 yards. Chicago has the ball, 1st and goal on the Green Bay 7."/><action-american-football-play period-value="2" comment="0:02 REMAINING IN THE 2ND QUARTER Chicago Field Goal - Robbie Gould 25 yarder."/><action-american-football-play period-value="2" comment="0:00 REMAINING IN THE 2ND QUARTER"/><action-american-football-play period-value="3" comment="Second half under way."/><action-american-football-play period-value="3" comment="14:55 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="14:43 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="14:12 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="14:00 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="13:10 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="12:41 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="12:30 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="12:25 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="Note: Chicago linebacker Hunter Hillenmeyer has returned."/><action-american-football-play period-value="3" comment="11:43 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="11:14 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="11:05 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="11:00 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="10:30 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="9:39 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="9:31 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="9:31 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="9:27 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="9:15 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="8:15 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="7:40 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="7:11 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="7:00 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="6:37 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="6:21 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="5:55 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="5:16 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="5:10 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="4:35 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="4:20 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="3:50 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="2:58 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="2:30 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="1:40 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="1:16 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="0:50 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="0:20 REMAINING IN THE 3RD QUARTER"/><action-american-football-play period-value="3" comment="End of 3rd quarter."/><action-american-football-play period-value="4" comment="4th quarter under way."/><action-american-football-play period-value="4" comment="14:57 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="14:48 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="14:35 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="14:05 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="13:33 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="13:15 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="13:00 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="12:05 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="11:20 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="10:50 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="10:25 REMAINING IN THE 4TH QUARTER Adrian Peterson up the middle to the Green Bay 16 for 9 yards. Chicago has the ball, 2nd and 1 on the Green Bay 16."/><action-american-football-play period-value="4" comment="9:40 REMAINING IN THE 4TH QUARTER Adrian Peterson up the middle for no gain. Chicago has the ball, 3rd and 1 on the Green Bay 16."/><action-american-football-play period-value="4" comment="8:55 REMAINING IN THE 4TH QUARTER Adrian Peterson rushed wide right for no gain. Chicago has the ball, 4th and 1 on the Green Bay 16."/><action-american-football-play period-value="4" comment="8:22 REMAINING IN THE 4TH QUARTER Chicago Field Goal - Robbie Gould 35 yarder."/><action-american-football-play period-value="4" comment="8:15 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="8:00 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="7:31 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="7:15 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="6:50 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="6:30 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="5:54 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="5:43 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="5:08 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="5:03 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="4:56 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="4:45 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="4:35 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="4:09 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="4:04 REMAINING IN THE 4TH QUARTER Robbie Gould 43 yard field goal missed short."/><action-american-football-play period-value="4" comment="3:51 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="3:21 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="3:06 REMAINING IN THE 4TH QUARTER Chicago Touchdown - Brett Favre pass intercepted by Nathan Vasher at the Green Bay 45 for 45 yards."/><action-american-football-play period-value="4" comment="3:06 REMAINING IN THE 4TH QUARTER Robbie Gould extra point is good."/><action-american-football-play period-value="4" comment="3:00 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="2:45 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="2:18 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="2:13 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="2:00 REMAINING IN THE 4TH QUARTER Brett Favre pass to Donald Driver to the Green Bay 38 for 2 yards. Green Bay has the ball, 1st and 10 on the Green Bay 38."/><action-american-football-play period-value="4" comment="1:43 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="1:38 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="1:34 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="1:20 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="1:10 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="0:55 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="0:45 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="0:35 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="0:27 REMAINING IN THE 4TH QUARTER"/><action-american-football-play period-value="4" comment="0:24 REMAINING IN THE 4TH QUARTER Brett Favre pass incomplete to Donald Driver. Green Bay has the ball, 2nd and 10 on the Chicago 14."/><action-american-football-play period-value="4" comment="0:19 REMAINING IN THE 4TH QUARTER Brett Favre pass incomplete to Tony Fisher. Green Bay has the ball, 3rd and 10 on the Chicago 14."/><action-american-football-play period-value="4" comment="0:08 REMAINING IN THE 4TH QUARTER Brett Favre pass incomplete to Antonio Chatman. Green Bay has the ball, 4th and 10 on the Chicago 14."/><action-american-football-play period-value="4" comment="0:00 REMAINING IN THE 4TH QUARTER Brett Favre pass to Tony Fisher to the Chicago 3 for 11 yards. Green Bay has the ball, 1st and goal on the Chicago 3."/><action-american-football-play period-value="4" comment="** CONFIRMED **"/></event-actions-american-football></event-actions></sports-event></sports-content>
|
metadata
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
!ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.8.11
|
3
|
+
specification_version: 1
|
4
|
+
name: teius
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.0.1
|
7
|
+
date: 2006-02-21 00:00:00 +02:00
|
8
|
+
summary: Light-weight Ruby API to LibXML.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: joshmh@gmail.com
|
12
|
+
homepage: http://teius.rubyforge.org
|
13
|
+
rubyforge_project: teius
|
14
|
+
description: Teius is a very lightweight Ruby API around the LibXML C library. The idea is to use a syntax reminiscent of Ruby On Rails' find method to quickly process information from an XML document.
|
15
|
+
autorequire: teius
|
16
|
+
default_executable:
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: false
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
24
|
+
version:
|
25
|
+
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
authors:
|
29
|
+
- Joshua Harvey
|
30
|
+
files:
|
31
|
+
- ext/extconf.rb
|
32
|
+
- ext/teius.c
|
33
|
+
- test/teius_test.rb
|
34
|
+
- xml/xt.3608774-update-mid-event.xml
|
35
|
+
- xml/xt.3608787-update-post-event.xml
|
36
|
+
- doc/LICENCE.txt
|
37
|
+
test_files:
|
38
|
+
- test/teius_test.rb
|
39
|
+
rdoc_options: []
|
40
|
+
|
41
|
+
extra_rdoc_files: []
|
42
|
+
|
43
|
+
executables: []
|
44
|
+
|
45
|
+
extensions:
|
46
|
+
- ext/extconf.rb
|
47
|
+
requirements: []
|
48
|
+
|
49
|
+
dependencies: []
|
50
|
+
|