diff options
author | tv <tv@also> | 2011-08-08 00:53:00 +0200 |
---|---|---|
committer | tv <tv@also> | 2011-08-08 00:53:00 +0200 |
commit | 6dd9ea309f4fc010b113b357a5d2f65ef0977aa3 (patch) | |
tree | 6ef5ae5b536f72ffffe25dcbc94261dcb45449b0 /kachelmann/conditions.pl | |
parent | 04fea470969698c9587e4fe04e1e42cfaf703b9a (diff) | |
parent | d28012696a16e7d0fa3cf20e3527b9cf5747dc3a (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'kachelmann/conditions.pl')
-rwxr-xr-x | kachelmann/conditions.pl | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/kachelmann/conditions.pl b/kachelmann/conditions.pl deleted file mode 100755 index 6d8b5541..00000000 --- a/kachelmann/conditions.pl +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/perl -use XML::Simple; -system("w3m -dump \"http://www.google.com/ig/api?weather=70327-stuttgart&hl=de\" > /tmp/kachelmann/weather.xml"); -my $xml = new XML::Simple; -my $data = $xml->XMLin("/tmp/kachelmann/weather.xml"); -my $sentence = "Die Wetterkondition ist: $data->{weather}->{current_conditions}->{condition}->{data}\n bei $data->{weather}->{current_conditions}->{temp_c}->{data} Grad Celsius\n"; -system("espeak \"$sentence\""); |