# HG changeset patch # User Matti Hamalainen # Date 1422004769 -7200 # Node ID 9cf0c86e72b24c57f4cb0cc33d18dcc2603efba9 # Parent 02680c664ccbb4f709403169c09953e9bcbd71e1 Renamed example config for fetch_weather.pl diff -r 02680c664ccb -r 9cf0c86e72b2 config.fetch_weather.example --- /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)" diff -r 02680c664ccb -r 9cf0c86e72b2 fetch_weather.config --- 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)"