It’s no problem. Taking advantage of getting on computer before kids get home!!
Here is the script
[quote<?php
//Get regional alarm/warning from http://www.meteoalarm.eu/
// Script by Ken True - saratoga-weather.org
// Version 1.00 - 13-Sep-2008 - Initial Release
// Version 1.01 - 20-Sep-2008 - removed TZ setting (not used), added $EUAtarget option for links
// Version 1.02 - 06-Oct-2008 - some XHTML 1.0-Strict changes for
//
// error_reporting(E_ALL); // uncomment for error checking
//
// this script is designed to be used by
// include(“get-meteoalarm-warning-inc.php”);
//
// Find the warning area for your location by going to www.meteoalarm.eu
// Navigate to the warning area that represents your region and view the detail page for that area.
// For standalone script use,
// Copy the URL in the browser address bar into the $EUA_URL area as shown below.
//
// For Carterlake/WD/PHP template use, add to your Settings.php:
//
// $SITE[‘EUwarningURL’] = ‘<URL-to-use-on-meteoalarm.eu>’;
//
// where the <URL-to-use-on-meteoalarm.eu> is replaced by the URL in the browser address bar found
// by the method above. No other customization is needed in the script for use in the Carterlake/WD/PHP template.
//
// -------------Settings ---------------------------------
$Lang = ‘en’; // default language to be used (lowercase, must correspond to available
// template languages of
// ‘en’,‘ct’,‘de’,‘dk’,‘el’,‘es’,‘fi’,‘fr’,‘it’,‘nl’,‘no’,‘pl’,‘pt’,‘se’
//
//$EUA_URL = “http://www.meteoalarm.eu/area.asp?lang=EN&ShowDate=&Country=BE&area=33&areaname=”;
//$EUA_URL = “http://www.meteoalarm.eu/area.asp?lang=EN&ShowDate=&Country=ES&area=125&areaname=”;
//$EUA_URL = “http://www.meteoalarm.eu/area.asp?lang=EN&ShowDate=&Country=FR&area=320&areaname=Aveyron”;
//$EUA_URL = “http://www.meteoalarm.eu/area.asp?lang=EN&ShowDate=&Country=AT&area=7&areaname=K�rnten”;
$EUA_URL = “http://www.meteoalarm.eu/area.asp?lang=EN&ShowDate=&Country=GB&area=213&areaname=London%20&%20South%20East”;
//$EUA_URL = “http://www.meteoalarm.eu/area.asp?lang=EN&ShowDate=&Country=IE&area=163&areaname=”;
//
// create a ‘meteoalarm-en.txt’ file in the same directory as the script.
// you may have to set the permissions on the file to ‘666’ so it is writable
// by the webserver. Repeat for each language supported by your site.
//
$EUAcacheName = “./meteoalarm-en.txt”; // prototype for path/filename for cache file
// note: $EUAcacheName will be changed to -$Lang.txt (like -en.txt) to allow languages to have unique cache files.
//
$EUArefetchSeconds = 3600; // refresh every hour
//
$EUAtarget = ‘’; // set to ‘target=“_blank”’ for links… note: makes output not XHTML 1.0-Strict
//$EUAtarget = ‘target=“_blank”’; // to launch links in new page … not XHTML 1.0-Strict though
// -------------End Settings -----------------------------
//
$EUAversion = ‘get-meteoalarm-warning-inc.php V1.02 - 06-Oct-2008’;
// the following note is required by agreement with the authors of the website www.meteoalarm.eu
/* -----------------------------------------------------------------------------------------
Date: Thu, 11 Sep 2008 11:39:52 +0200
From: karin buchauer [email protected]
Organization: zamg
Dear Mr True,
you are quite right:
you can use the material featured on the website, without modifying it, providing the source (link) as well as time and date of issue of the data, as stipulated in the Terms & Conditions.
With best regards,
Karin Buchauer
Ken True schrieb:
Dear Sirs,
I am an amateur weather enthusiast who also writes scripting for other weather enthusiasts to incorporate weather data into their personal, non-commercial weather websites. Many of my scripts (which I write as a hobby, and are distributed gratis) are in use on personal weather websites worldwide.
I’ve had requests to package the excellent data from www.meteoalarm.eu for weather advisories in EU countries, and before I generate a script for that purpose, I’d like to have your permission to proceed.
Your Terms and Conditions page (http://www.meteoalarm.eu/terms.asp?lang=EN ) says:
"The material featured on this site is the common property of the Meteoalarm partners, and is subject to copyright protection.
The ownership and intellectual rights on all operational and updated awareness and warning information delivered to the Meteoalarm system remain with the Meteoalarm partners who originally delivered this information. The information on this web site may be used freely by the public.
Before using information obtained from this server special attention should be given to the date & time of the data and products being displayed.
In case this information is re-used: This information shall not be modified in content and the source of the information has always to be displayed as EUMETNET - MeteoAlarm, or if a single country, the providing national Institute (for internet application in all cases in the form of a link to: www.meteoalarm.eu). The time of issue at www.meteoalarm.eu must be count.
Third parties producing copyrighted works consisting predominantly of the material of this website must provide notice with such work(s) identifying the source of material incorporated and stating that such material is not subject to copyright protection. Further information can be obtained from this following address: [email protected]"
My reading of this implies that you do permit re-use/publishing of the information with attribution and an active link to the source page for the data on your site, and a note that the data is copyrighted by the data providing organization (and not subject to copyright by the 3rd-party website including/displaying the data). Is that correct?
Is it ok with you for me to generate a script for displaying national/regional weather alerts using your data from www.meteoalarm.eu with the appropriate attribution.
Please feel free to examine other scripts I’ve written which use NOAA, Environment Canada, US Geological Services, and temis.nl as data sources (http://saratoga-weather.org/scripts.php ).
Thank you in advance for your response,
Best regards,
Ken True
[email protected]
Saratoga, California, USA
–
Karin Buchauer
Assistant to the Project Manager EMMA
Zentralanstalt f