From: Michael Orlitzky Date: Mon, 23 Jun 2014 18:19:14 +0000 (-0400) Subject: Add SportInfo support for Transactions_XML.dtd. X-Git-Tag: 0.0.6~89 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=6c707364dd86c330392fc2ab5e5a264aaa887508;p=dead%2Fhtsn-import.git Add SportInfo support for Transactions_XML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 339b881..d49beab 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -340,6 +340,8 @@ NFL_NBA_Draft_XML.dtd NFL_Roster_XML.dtd .IP \[bu] NFL_Team_Stats_XML.dtd +.IP \[bu] +Transactions_XML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/Transactions_XML.dtd b/schema/Transactions_XML.dtd new file mode 100644 index 0000000..f834fb8 --- /dev/null +++ b/schema/Transactions_XML.dtd @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/Transactions_XML/Transactions_XML.xml b/schemagen/Transactions_XML/Transactions_XML.xml new file mode 100644 index 0000000..49cf9e4 --- /dev/null +++ b/schemagen/Transactions_XML/Transactions_XML.xml @@ -0,0 +1,172 @@ + + + +853 +AZC;FATES-FORTUNES +Fates_N_Fortunes +NEWS + +Sports Transactions from The Sports Network + +Friday, November 25, 2011 + + ++Signed offensive tackle Austin Howard from the Baltimore +Ravens practice squad. + + + ++Claimed forward Blake Comeau off waivers from the New York +Islanders; assigned forward Paul Byron to Abbotsford (AHL). + ++Assigned forward Blair Jones to Norfolk (AHL). + + + + + + + + +11/24/2011 +085 + +Seattle + +6468 +T +Allen Barbre +
Signed
+
+ +11/24/2011 +085 + +Seattle + +9728 +OT +James Carpenter +
Placed on injured reserve
+
+ +11/24/2011 +063 + +Chicago + +10205 +DE +Jake Laptad +
Waived
+
+ +11/24/2011 +063 + +Chicago + +2460 +LS +Chris Massey +
Signed to a one-year contract
+
+ +11/24/2011 +071 + +Indianapolis + +9832 +RB +Darren Evans +
Signed to the practice squad
+
+ +11/24/2011 +077 + +New England + +10112 +DB +Josh Victorian +
Released from the practice squad
+
+ +11/24/2011 +077 + +New England + +9402 +S +Ross Ventrone +
Signed to the practice squad
+
+ +11/24/2011 +077 + +New England + +10006 +LB +Jeff Tarpinian +
Placed on injured reserve
+
+ +11/24/2011 +077 + +New England + +8349 +WR +Tiquan Underwood +
Re-signed to the active roster
+
+
+ + + + +11/25/2011 +123 + +Calgary + +2859 +C +Paul Byron +
Assigned to Abbotsford (AHL)
+
+ +11/25/2011 +123 + +Calgary + +2107 +LW +Blake Comeau +
Claimed off waivers from the New York Islanders
+
+ +11/25/2011 +144 + +Tampa Bay + +2091 +C +Blair Jones +
Assigned to Norfolk (AHL)
+
+
+
+ November 25, 2011, at 12:47 PM ET +
diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 9925542..eadbc98 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -198,7 +198,7 @@ dtds = "NFL_PuntingLeaders_XML.dtd", -- no xml "NFL_Roster_XML.dtd", "NFL_Team_Stats_XML.dtd", - "Transactions_XML.dtd", -- no dtd + "Transactions_XML.dtd", "Weekly_Sched_XML.dtd", -- no dtd "WNBA_Team_Leaders_XML.dtd", -- no dtd "WNBA3PPctXML.dtd", -- no dtd @@ -431,7 +431,8 @@ sport_info_test_files = "NFL_KickingLeaders_XML.xml", "NFL_NBA_Draft_XML.xml", "NFL_Roster_XML.xml", - "NFL_Team_Stats_XML.xml" + "NFL_Team_Stats_XML.xml", + "Transactions_XML.xml" ] diff --git a/test/xml/sportinfo/Transactions_XML.dtd b/test/xml/sportinfo/Transactions_XML.dtd new file mode 100644 index 0000000..f834fb8 --- /dev/null +++ b/test/xml/sportinfo/Transactions_XML.dtd @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/Transactions_XML.xml b/test/xml/sportinfo/Transactions_XML.xml new file mode 100644 index 0000000..49cf9e4 --- /dev/null +++ b/test/xml/sportinfo/Transactions_XML.xml @@ -0,0 +1,172 @@ + + + +853 +AZC;FATES-FORTUNES +Fates_N_Fortunes +NEWS + +Sports Transactions from The Sports Network + +Friday, November 25, 2011 + + ++Signed offensive tackle Austin Howard from the Baltimore +Ravens practice squad. + + + ++Claimed forward Blake Comeau off waivers from the New York +Islanders; assigned forward Paul Byron to Abbotsford (AHL). + ++Assigned forward Blair Jones to Norfolk (AHL). + + + + + + + + +11/24/2011 +085 + +Seattle + +6468 +T +Allen Barbre +
Signed
+
+ +11/24/2011 +085 + +Seattle + +9728 +OT +James Carpenter +
Placed on injured reserve
+
+ +11/24/2011 +063 + +Chicago + +10205 +DE +Jake Laptad +
Waived
+
+ +11/24/2011 +063 + +Chicago + +2460 +LS +Chris Massey +
Signed to a one-year contract
+
+ +11/24/2011 +071 + +Indianapolis + +9832 +RB +Darren Evans +
Signed to the practice squad
+
+ +11/24/2011 +077 + +New England + +10112 +DB +Josh Victorian +
Released from the practice squad
+
+ +11/24/2011 +077 + +New England + +9402 +S +Ross Ventrone +
Signed to the practice squad
+
+ +11/24/2011 +077 + +New England + +10006 +LB +Jeff Tarpinian +
Placed on injured reserve
+
+ +11/24/2011 +077 + +New England + +8349 +WR +Tiquan Underwood +
Re-signed to the active roster
+
+
+ + + + +11/25/2011 +123 + +Calgary + +2859 +C +Paul Byron +
Assigned to Abbotsford (AHL)
+
+ +11/25/2011 +123 + +Calgary + +2107 +LW +Blake Comeau +
Claimed off waivers from the New York Islanders
+
+ +11/25/2011 +144 + +Tampa Bay + +2091 +C +Blair Jones +
Assigned to Norfolk (AHL)
+
+
+
+ November 25, 2011, at 12:47 PM ET +