From: Michael Orlitzky Date: Wed, 31 Dec 2014 20:51:14 +0000 (-0500) Subject: Add SportInfo support for Cbask_Team_Shooting_Pct_XML.dtd. X-Git-Tag: 0.2.1~37 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a512aa4174a75fb48821a90909d3c61b6b369493;p=dead%2Fhtsn-import.git Add SportInfo support for Cbask_Team_Shooting_Pct_XML.dtd. --- diff --git a/doc/TODO b/doc/TODO index e575ba8..b5ae217 100644 --- a/doc/TODO +++ b/doc/TODO @@ -8,7 +8,6 @@ which have therefore been left unimplmented for now: * CBASK_StealsXML.dtd - * Cbask_Team_Shooting_Pct_XML.dtd 4. The following DTD types were handled (in some form) by the old FeedGrabber. They are not yet handled by htsn-import (some may not diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 36efdf8..cd92229 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -748,6 +748,8 @@ Cbask_Team_Scoring_Rebound_Margin_XML.dtd .IP \[bu] Cbask_Team_Scoring_XML.dtd .IP \[bu] +Cbask_Team_Shooting_Pct_XML.dtd +.IP \[bu] Cbask_Team_ThreePT_Made_XML.dtd .IP \[bu] Cbask_Team_ThreePT_PCT_XML.dtd diff --git a/htsn-import.cabal b/htsn-import.cabal index bc74d28..6ec004e 100644 --- a/htsn-import.cabal +++ b/htsn-import.cabal @@ -41,6 +41,7 @@ extra-source-files: schemagen/CBASK_ScoringLeadersXML/*.xml schemagen/Cbask_Team_Scoring_Rebound_Margin_XML/*.xml schemagen/Cbask_Team_Scoring_XML/*.xml + schemagen/Cbask_Team_Shooting_Pct_XML/*.xml schemagen/Cbask_Team_ThreePT_Made_XML/*.xml schemagen/Cbask_Team_ThreePT_PCT_XML/*.xml schemagen/Cbask_Team_Win_Pct_XML/*.xml diff --git a/schema/Cbask_Team_Shooting_Pct_XML.dtd b/schema/Cbask_Team_Shooting_Pct_XML.dtd new file mode 100644 index 0000000..f3555a2 --- /dev/null +++ b/schema/Cbask_Team_Shooting_Pct_XML.dtd @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/schemagen/Cbask_Team_Shooting_Pct_XML/22413991.xml b/schemagen/Cbask_Team_Shooting_Pct_XML/22413991.xml new file mode 100644 index 0000000..1ad1def --- /dev/null +++ b/schemagen/Cbask_Team_Shooting_Pct_XML/22413991.xml @@ -0,0 +1 @@ + 22413991 AEX%NCAA-TEAM-FG-PERCENTAGE Statistics CBASK 2014-2015 NCAA Division I Men's Basketball Team FG% Stats 220 379 58.0 168 307 54.7 225 413 54.5 221 408 54.2 182 337 54.0 162 304 53.3 139 263 52.9 225 427 52.7 176 335 52.5 187 356 52.5 127 243 52.3 225 433 52.0 148 285 51.9 112 216 51.9 211 408 51.7 149 290 51.4 132 257 51.4 153 300 51.0 195 385 50.6 188 372 50.5 154 307 50.2 155 309 50.2 132 264 50.0 150 301 49.8 134 269 49.8 193 390 49.5 127 257 49.4 158 320 49.4 188 381 49.3 188 381 49.3 215 436 49.3 181 368 49.2 140 285 49.1 165 336 49.1 258 526 49.0 187 382 49.0 136 278 48.9 220 451 48.8 192 395 48.6 181 373 48.5 182 376 48.4 135 279 48.4 172 356 48.3 156 323 48.3 122 253 48.2 186 386 48.2 185 384 48.2 158 328 48.2 121 252 48.0 169 352 48.0 117 244 48.0 201 421 47.7 177 371 47.7 206 432 47.7 185 388 47.7 123 258 47.7 153 321 47.7 183 384 47.7 71 149 47.7 121 254 47.6 176 370 47.6 176 370 47.6 155 326 47.5 143 301 47.5 114 240 47.5 170 358 47.5 157 331 47.4 166 350 47.4 128 270 47.4 143 302 47.4 196 414 47.3 169 357 47.3 166 351 47.3 116 246 47.2 140 297 47.1 169 359 47.1 157 334 47.0 188 400 47.0 126 269 46.8 243 520 46.7 182 390 46.7 156 335 46.6 176 378 46.6 153 329 46.5 151 325 46.5 151 326 46.3 119 257 46.3 205 443 46.3 149 322 46.3 160 346 46.2 135 292 46.2 122 264 46.2 187 405 46.2 180 390 46.2 227 492 46.1 113 245 46.1 174 378 46.0 138 300 46.0 136 296 45.9 208 453 45.9 183 399 45.9 157 343 45.8 211 461 45.8 160 350 45.7 138 302 45.7 171 375 45.6 200 439 45.6 176 387 45.5 154 339 45.4 162 357 45.4 156 344 45.3 180 397 45.3 149 329 45.3 133 294 45.2 188 416 45.2 94 208 45.2 169 374 45.2 185 410 45.1 175 388 45.1 183 406 45.1 155 344 45.1 169 376 44.9 125 279 44.8 90 201 44.8 166 371 44.7 204 456 44.7 178 398 44.7 199 445 44.7 152 341 44.6 170 382 44.5 141 317 44.5 196 441 44.4 172 387 44.4 202 455 44.4 185 417 44.4 145 327 44.3 159 359 44.3 155 350 44.3 134 303 44.2 107 242 44.2 233 527 44.2 166 376 44.1 201 456 44.1 182 413 44.1 156 354 44.1 174 395 44.1 148 336 44.0 166 377 44.0 147 334 44.0 168 382 44.0 149 339 44.0 156 355 43.9 191 435 43.9 162 369 43.9 133 303 43.9 132 301 43.9 128 292 43.8 112 256 43.8 178 407 43.7 157 359 43.7 101 231 43.7 188 430 43.7 142 325 43.7 152 348 43.7 151 346 43.6 137 314 43.6 143 328 43.6 122 280 43.6 151 347 43.5 130 299 43.5 183 422 43.4 111 256 43.4 227 524 43.3 162 374 43.3 97 224 43.3 197 455 43.3 171 395 43.3 158 365 43.3 148 342 43.3 186 430 43.3 118 273 43.2 178 412 43.2 149 345 43.2 156 362 43.1 161 374 43.0 135 314 43.0 144 335 43.0 125 291 43.0 128 298 43.0 179 417 42.9 138 322 42.9 128 299 42.8 136 318 42.8 123 288 42.7 173 406 42.6 89 209 42.6 192 451 42.6 177 416 42.5 137 322 42.5 97 228 42.5 152 358 42.5 154 363 42.4 165 389 42.4 148 349 42.4 148 349 42.4 173 408 42.4 170 401 42.4 150 354 42.4 172 406 42.4 155 366 42.3 116 274 42.3 192 454 42.3 150 355 42.3 188 445 42.2 230 545 42.2 165 391 42.2 116 275 42.2 134 318 42.1 206 489 42.1 133 316 42.1 159 378 42.1 119 283 42.0 116 276 42.0 105 250 42.0 133 317 42.0 130 310 41.9 140 334 41.9 152 363 41.9 120 287 41.8 118 283 41.7 158 379 41.7 198 475 41.7 180 432 41.7 125 300 41.7 114 274 41.6 109 262 41.6 163 392 41.6 158 380 41.6 125 301 41.5 125 301 41.5 153 369 41.5 114 275 41.5 181 437 41.4 111 268 41.4 107 259 41.3 133 322 41.3 114 276 41.3 127 308 41.2 162 393 41.2 116 282 41.1 109 265 41.1 138 336 41.1 140 341 41.1 109 266 41.0 177 432 41.0 177 433 40.9 118 289 40.8 111 272 40.8 142 348 40.8 126 309 40.8 167 410 40.7 147 361 40.7 120 295 40.7 122 301 40.5 154 380 40.5 132 326 40.5 114 282 40.4 156 386 40.4 167 414 40.3 174 432 40.3 147 365 40.3 118 293 40.3 160 399 40.1 115 287 40.1 164 411 39.9 120 301 39.9 173 434 39.9 161 404 39.9 143 359 39.8 129 324 39.8 117 294 39.8 101 254 39.8 141 356 39.6 135 341 39.6 151 382 39.5 158 400 39.5 124 314 39.5 154 391 39.4 87 221 39.4 92 234 39.3 150 383 39.2 180 460 39.1 144 369 39.0 148 380 38.9 140 361 38.8 143 369 38.8 129 333 38.7 129 333 38.7 122 315 38.7 139 359 38.7 148 383 38.6 114 296 38.5 181 470 38.5 131 341 38.4 129 336 38.4 120 314 38.2 132 346 38.2 114 299 38.1 117 307 38.1 125 328 38.1 120 315 38.1 142 373 38.1 95 250 38.0 147 387 38.0 128 337 38.0 137 361 38.0 122 322 37.9 101 267 37.8 138 366 37.7 98 260 37.7 124 330 37.6 118 315 37.5 137 368 37.2 74 200 37.0 124 336 36.9 163 442 36.9 122 331 36.9 138 376 36.7 102 278 36.7 148 406 36.5 141 387 36.4 81 223 36.3 167 461 36.2 132 367 36.0 83 234 35.5 106 299 35.5 120 339 35.4 94 266 35.3 89 252 35.3 140 407 34.4 123 359 34.3 100 296 33.8 148 441 33.6 144 439 32.8 84 283 29.7 December 3, 2014, at 03:28 PM ET \ No newline at end of file diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index e941cd5..1fcd3ab 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -82,6 +82,7 @@ dtds = "CBASK_ScoringLeadersXML.dtd", "Cbask_Team_Scoring_Rebound_Margin_XML.dtd", "Cbask_Team_Scoring_XML.dtd", + "Cbask_Team_Shooting_Pct_XML.dtd", "Cbask_Team_ThreePT_Made_XML.dtd", "Cbask_Team_ThreePT_PCT_XML.dtd", "Cbask_Team_Win_Pct_XML.dtd", diff --git a/test/xml/sportinfo/Cbask_Team_Shooting_Pct_XML.dtd b/test/xml/sportinfo/Cbask_Team_Shooting_Pct_XML.dtd new file mode 100644 index 0000000..f3555a2 --- /dev/null +++ b/test/xml/sportinfo/Cbask_Team_Shooting_Pct_XML.dtd @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/Cbask_Team_Shooting_Pct_XML.xml b/test/xml/sportinfo/Cbask_Team_Shooting_Pct_XML.xml new file mode 100644 index 0000000..1ad1def --- /dev/null +++ b/test/xml/sportinfo/Cbask_Team_Shooting_Pct_XML.xml @@ -0,0 +1 @@ + 22413991 AEX%NCAA-TEAM-FG-PERCENTAGE Statistics CBASK 2014-2015 NCAA Division I Men's Basketball Team FG% Stats 220 379 58.0 168 307 54.7 225 413 54.5 221 408 54.2 182 337 54.0 162 304 53.3 139 263 52.9 225 427 52.7 176 335 52.5 187 356 52.5 127 243 52.3 225 433 52.0 148 285 51.9 112 216 51.9 211 408 51.7 149 290 51.4 132 257 51.4 153 300 51.0 195 385 50.6 188 372 50.5 154 307 50.2 155 309 50.2 132 264 50.0 150 301 49.8 134 269 49.8 193 390 49.5 127 257 49.4 158 320 49.4 188 381 49.3 188 381 49.3 215 436 49.3 181 368 49.2 140 285 49.1 165 336 49.1 258 526 49.0 187 382 49.0 136 278 48.9 220 451 48.8 192 395 48.6 181 373 48.5 182 376 48.4 135 279 48.4 172 356 48.3 156 323 48.3 122 253 48.2 186 386 48.2 185 384 48.2 158 328 48.2 121 252 48.0 169 352 48.0 117 244 48.0 201 421 47.7 177 371 47.7 206 432 47.7 185 388 47.7 123 258 47.7 153 321 47.7 183 384 47.7 71 149 47.7 121 254 47.6 176 370 47.6 176 370 47.6 155 326 47.5 143 301 47.5 114 240 47.5 170 358 47.5 157 331 47.4 166 350 47.4 128 270 47.4 143 302 47.4 196 414 47.3 169 357 47.3 166 351 47.3 116 246 47.2 140 297 47.1 169 359 47.1 157 334 47.0 188 400 47.0 126 269 46.8 243 520 46.7 182 390 46.7 156 335 46.6 176 378 46.6 153 329 46.5 151 325 46.5 151 326 46.3 119 257 46.3 205 443 46.3 149 322 46.3 160 346 46.2 135 292 46.2 122 264 46.2 187 405 46.2 180 390 46.2 227 492 46.1 113 245 46.1 174 378 46.0 138 300 46.0 136 296 45.9 208 453 45.9 183 399 45.9 157 343 45.8 211 461 45.8 160 350 45.7 138 302 45.7 171 375 45.6 200 439 45.6 176 387 45.5 154 339 45.4 162 357 45.4 156 344 45.3 180 397 45.3 149 329 45.3 133 294 45.2 188 416 45.2 94 208 45.2 169 374 45.2 185 410 45.1 175 388 45.1 183 406 45.1 155 344 45.1 169 376 44.9 125 279 44.8 90 201 44.8 166 371 44.7 204 456 44.7 178 398 44.7 199 445 44.7 152 341 44.6 170 382 44.5 141 317 44.5 196 441 44.4 172 387 44.4 202 455 44.4 185 417 44.4 145 327 44.3 159 359 44.3 155 350 44.3 134 303 44.2 107 242 44.2 233 527 44.2 166 376 44.1 201 456 44.1 182 413 44.1 156 354 44.1 174 395 44.1 148 336 44.0 166 377 44.0 147 334 44.0 168 382 44.0 149 339 44.0 156 355 43.9 191 435 43.9 162 369 43.9 133 303 43.9 132 301 43.9 128 292 43.8 112 256 43.8 178 407 43.7 157 359 43.7 101 231 43.7 188 430 43.7 142 325 43.7 152 348 43.7 151 346 43.6 137 314 43.6 143 328 43.6 122 280 43.6 151 347 43.5 130 299 43.5 183 422 43.4 111 256 43.4 227 524 43.3 162 374 43.3 97 224 43.3 197 455 43.3 171 395 43.3 158 365 43.3 148 342 43.3 186 430 43.3 118 273 43.2 178 412 43.2 149 345 43.2 156 362 43.1 161 374 43.0 135 314 43.0 144 335 43.0 125 291 43.0 128 298 43.0 179 417 42.9 138 322 42.9 128 299 42.8 136 318 42.8 123 288 42.7 173 406 42.6 89 209 42.6 192 451 42.6 177 416 42.5 137 322 42.5 97 228 42.5 152 358 42.5 154 363 42.4 165 389 42.4 148 349 42.4 148 349 42.4 173 408 42.4 170 401 42.4 150 354 42.4 172 406 42.4 155 366 42.3 116 274 42.3 192 454 42.3 150 355 42.3 188 445 42.2 230 545 42.2 165 391 42.2 116 275 42.2 134 318 42.1 206 489 42.1 133 316 42.1 159 378 42.1 119 283 42.0 116 276 42.0 105 250 42.0 133 317 42.0 130 310 41.9 140 334 41.9 152 363 41.9 120 287 41.8 118 283 41.7 158 379 41.7 198 475 41.7 180 432 41.7 125 300 41.7 114 274 41.6 109 262 41.6 163 392 41.6 158 380 41.6 125 301 41.5 125 301 41.5 153 369 41.5 114 275 41.5 181 437 41.4 111 268 41.4 107 259 41.3 133 322 41.3 114 276 41.3 127 308 41.2 162 393 41.2 116 282 41.1 109 265 41.1 138 336 41.1 140 341 41.1 109 266 41.0 177 432 41.0 177 433 40.9 118 289 40.8 111 272 40.8 142 348 40.8 126 309 40.8 167 410 40.7 147 361 40.7 120 295 40.7 122 301 40.5 154 380 40.5 132 326 40.5 114 282 40.4 156 386 40.4 167 414 40.3 174 432 40.3 147 365 40.3 118 293 40.3 160 399 40.1 115 287 40.1 164 411 39.9 120 301 39.9 173 434 39.9 161 404 39.9 143 359 39.8 129 324 39.8 117 294 39.8 101 254 39.8 141 356 39.6 135 341 39.6 151 382 39.5 158 400 39.5 124 314 39.5 154 391 39.4 87 221 39.4 92 234 39.3 150 383 39.2 180 460 39.1 144 369 39.0 148 380 38.9 140 361 38.8 143 369 38.8 129 333 38.7 129 333 38.7 122 315 38.7 139 359 38.7 148 383 38.6 114 296 38.5 181 470 38.5 131 341 38.4 129 336 38.4 120 314 38.2 132 346 38.2 114 299 38.1 117 307 38.1 125 328 38.1 120 315 38.1 142 373 38.1 95 250 38.0 147 387 38.0 128 337 38.0 137 361 38.0 122 322 37.9 101 267 37.8 138 366 37.7 98 260 37.7 124 330 37.6 118 315 37.5 137 368 37.2 74 200 37.0 124 336 36.9 163 442 36.9 122 331 36.9 138 376 36.7 102 278 36.7 148 406 36.5 141 387 36.4 81 223 36.3 167 461 36.2 132 367 36.0 83 234 35.5 106 299 35.5 120 339 35.4 94 266 35.3 89 252 35.3 140 407 34.4 123 359 34.3 100 296 33.8 148 441 33.6 144 439 32.8 84 283 29.7 December 3, 2014, at 03:28 PM ET \ No newline at end of file