summaryrefslogtreecommitdiffhomepage
path: root/src/Main.hs
diff options
context:
space:
mode:
authorRóman Joost <rjoost@redhat.com>2017-08-24 14:32:32 +1000
committerRóman Joost <rjoost@redhat.com>2017-08-24 17:08:13 +1000
commita7bc612666062b5c48efae74054a453334727e91 (patch)
treede92595ae2380afc80928ec72aa2d7cb5b9b7c9b /src/Main.hs
parentf0c265b3b4359e866673954dbcc5a586c7ae51dd (diff)
downloadxmobar-a7bc612666062b5c48efae74054a453334727e91.tar.gz
xmobar-a7bc612666062b5c48efae74054a453334727e91.tar.bz2
Fix UVMeter due to changed URL and BOM
The URL which exports the real time UV data has changed to an HTTPS address. Since the HTTP package does not support HTTPS URLs, use http-conduit to retrieve the XML document. Unfortunately, the XML documents XML declaration precedes a byte order mark which the previous XML parser was unable to handle. We're simply ignoring the BOM in order to get to the UV values.
Diffstat (limited to 'src/Main.hs')
0 files changed, 0 insertions, 0 deletions