Mercurial > hg > egg-tcls
changeset 275:9cf0c86e72b2
Renamed example config for fetch_weather.pl
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 23 Jan 2015 11:19:29 +0200 |
parents | 02680c664ccb |
children | e04f434b7023 |
files | config.fetch_weather.example fetch_weather.config |
diffstat | 2 files changed, 33 insertions(+), 33 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config.fetch_weather.example Fri Jan 23 11:19:29 2015 +0200 @@ -0,0 +1,33 @@ +### +### Example configuration for weather.tcl data fetcher +### script fetch_weather.pl. +### + +## +## Enable/disable data scraping from Tiehallinto's WWW-pages +## +opt_tiehallinto = 1 + +## +## Enable/disable open data access from FMI +## You will need to obtain an API key, refer to +## https://ilmatieteenlaitos.fi/avoin-data +## +opt_fmi = 0 +fmi_api_key = "" + +## +## Debug mode, outputs some stuff sometimes maybe +## +debug = 1 + +## +## Path to the output file, should be same as set in weather.tcl +## If NOT set, the script will output to stdout. +## +outfile = "/home/niinuska/bot/weather.data" + +## +## HTTP user agent. If not set here, default will be used. +## +#http_user_agent = "Mozilla/5.0 (foobar)"
--- a/fetch_weather.config Fri Jan 23 11:14:19 2015 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,33 +0,0 @@ -### -### Example configuration for weather.tcl data fetcher -### script fetch_weather.pl. -### - -## -## Enable/disable data scraping from Tiehallinto's WWW-pages -## -opt_tiehallinto = 1 - -## -## Enable/disable open data access from FMI -## You will need to obtain an API key, refer to -## https://ilmatieteenlaitos.fi/avoin-data -## -opt_fmi = 0 -fmi_api_key = "" - -## -## Debug mode, outputs some stuff sometimes maybe -## -debug = 1 - -## -## Path to the output file, should be same as set in weather.tcl -## If NOT set, the script will output to stdout. -## -outfile = "/home/niinuska/bot/weather.data" - -## -## HTTP user agent. If not set here, default will be used. -## -#http_user_agent = "Mozilla/5.0 (foobar)"