synopsis:
Parse XML files from The Sports Network feed.
description:
- Parse XML files from The Sports Network feed.
+ The Sports Network <http://www.sportsnetwork.com/> offers an XML feed
+ containing various sports news and statistics. The goal of /htsn/
+ is to watch the XML feed and parse the individual XML documents into
+ files.
+ .
+ Once started, we will choose an XML feed host to connect to. The
+ choice is made from a list in a round-robin fashion, and by default,
+ the list contains all known TSN feed hosts. Once we have a connection,
+ your username and password are sent. If they are accepted, we begin to
+ parse the feed saving all XML files to the configured output directory.
+ .
+ If we encounter an error (say, the connection is dropped), then we
+ will attempt to connect to the next host in the list after waiting
+ five seconds. This process continues indefinitely.
+ .
+ The program can run either interactively (that is, outputting to the
+ console), or as a daemon.
+ .
+ /Full documentation can be found in the included man page./
executable htsn
build-depends:
configurator == 0.2.*,
directory == 1.2.*,
filepath == 1.3.*,
+ hdaemonize == 0.4.*,
+ hslogger == 1.2.*,
hxt == 9.3.*,
+ MissingH == 1.2.*,
network == 2.4.*,
+ tasty == 0.5.*,
+ tasty-hunit == 0.4.*,
transformers == 0.3.*,
unix == 2.6.*
-auto-all
-caf-all
+
+
+test-suite testsuite
+ type: exitcode-stdio-1.0
+ hs-source-dirs: src test
+ main-is: TestSuite.hs
+ build-depends:
+ ansi-terminal == 0.6.*,
+ base == 4.*,
+ cmdargs >= 0.10.6,
+ configurator == 0.2.*,
+ directory == 1.2.*,
+ filepath == 1.3.*,
+ hdaemonize == 0.4.*,
+ hslogger == 1.2.*,
+ hxt == 9.3.*,
+ MissingH == 1.2.*,
+ network == 2.4.*,
+ tasty == 0.5.*,
+ tasty-hunit == 0.4.*,
+ transformers == 0.3.*,
+ unix == 2.6.*
+
+ -- It's not entirely clear to me why I have to reproduce all of this.
+ ghc-options:
+ -Wall
+ -fwarn-hi-shadowing
+ -fwarn-missing-signatures
+ -fwarn-name-shadowing
+ -fwarn-orphans
+ -fwarn-type-defaults
+ -fwarn-tabs
+ -fwarn-incomplete-record-updates
+ -fwarn-monomorphism-restriction
+ -fwarn-unused-do-bind
+ -rtsopts
+ -threaded
+ -optc-O3
+ -optc-march=native
+ -O2
+
+
+source-repository head
+ type: git
+ location: http://michael.orlitzky.com/git/htsn.git
+ branch: master