...
Code Block |
---|
| xml |
---|
| xml |
---|
title | Configuration for url |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<contentUpdateChecker xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/contentUpdateChecker.xsd">
<url>http://matroos.deltares.nl/direct/get_anal_times.php?database=maps&source=knmi_h11_v72&most_recent=1</url>
<user>gebruiker</user>
<password>wachtwoord</password>
<eventCode>HirlamMeteo.NewData</eventCode>
<messagePrefix> New data for hirlam meteo for T0: </messagePrefix>
<interval unit="second"/>
<timeout unit="minute"/>
</contentUpdateChecker>
|
The URL can be protected by authentication, the parser can supply username and password configured in the import together with the base URL (escape & in xml by using & ):
No Format |
---|
<url>http://matroos.deltares.nl/direct/get_anal_times.php?database=maps&source=knmi_h11_v72&most_recent=1</serverUrl>
<user>deltares</user>
<password>demo</password>
|
Code Block |
---|
| xml |
---|
| xml |
---|
title | Configuration for file |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<contentUpdateChecker xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/contentUpdateChecker.xsd">
<file>$IMPORT_FOLDER$/KNMI_UKMO_MAPS/done</file>
<eventCode>HirlamMeteo.NewData</eventCode>
<messagePrefix> New data for hirlam meteo for T0: </messagePrefix>
<interval unit="second"/>
<timeout unit="minute"/>
</contentUpdateChecker>
|
...