import transformacji
This commit is contained in:
5
transform/README
Normal file
5
transform/README
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Put any file containing transformation definitions here. They will be activated automatically.
|
||||||
|
|
||||||
|
Note: Transformation definition files must have the extension '*.transform'
|
||||||
|
|
||||||
|
Demo-files can be obtained from the archive 'distribution-demo-*.zip'.
|
||||||
3
transform/de.map
Normal file
3
transform/de.map
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
CLOSED=zu
|
||||||
|
OPEN=offen
|
||||||
|
undefined=undefiniert
|
||||||
4
transform/en.map
Normal file
4
transform/en.map
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
CLOSED=closed
|
||||||
|
OPEN=open
|
||||||
|
undefined=unknown
|
||||||
|
|
||||||
2
transform/espeasy_lwt.map
Normal file
2
transform/espeasy_lwt.map
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Connection\ Lost=OFF
|
||||||
|
Connected=ON
|
||||||
2
transform/espeasy_onoff.map
Normal file
2
transform/espeasy_onoff.map
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
0=OFF
|
||||||
|
1=ON
|
||||||
7
transform/humidex.scale
Normal file
7
transform/humidex.scale
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
-=undefined
|
||||||
|
[-40,20]=no significant
|
||||||
|
[20,29]=comfortable
|
||||||
|
[29,38]=some discomfort
|
||||||
|
[38,45]=avoid exertion
|
||||||
|
[45,54]=dangerous
|
||||||
|
[54,100]=heat stroke imminent
|
||||||
6
transform/humidex_de.scale
Normal file
6
transform/humidex_de.scale
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[-40,20]=nicht wesentlich
|
||||||
|
[20,29]=komfortabel
|
||||||
|
[29,38]=etwas unannehmlich
|
||||||
|
[38,45]=Anstrengung vermeiden
|
||||||
|
[45,54]=gefährlich
|
||||||
|
[54,100]=Hitzschlag bevorstehend
|
||||||
7
transform/humidex_fr.scale
Normal file
7
transform/humidex_fr.scale
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
-=indéfini
|
||||||
|
[-40,20]=non significatif
|
||||||
|
[20,29]=confortable
|
||||||
|
[29,38]=quelque inconfort
|
||||||
|
[38,45]=éviter de s'exposer
|
||||||
|
[45,54]=dangereux
|
||||||
|
[54,100]=coup de soleil imminent
|
||||||
12
transform/yahoo_weather_forecast_high.xsl
Normal file
12
transform/yahoo_weather_forecast_high.xsl
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsl:stylesheet
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0" version="1.0">
|
||||||
|
|
||||||
|
<xsl:output indent="yes" method="xml" encoding="UTF-8" omit-xml-declaration="yes" />
|
||||||
|
|
||||||
|
<xsl:template match="/">
|
||||||
|
<xsl:value-of select="//yweather:forecast/@high" />
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
12
transform/yahoo_weather_forecast_low.xsl
Normal file
12
transform/yahoo_weather_forecast_low.xsl
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsl:stylesheet
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0" version="1.0">
|
||||||
|
|
||||||
|
<xsl:output indent="yes" method="xml" encoding="UTF-8" omit-xml-declaration="yes" />
|
||||||
|
|
||||||
|
<xsl:template match="/">
|
||||||
|
<xsl:value-of select="//yweather:forecast/@low" />
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
12
transform/yahoo_weather_forecast_text.xsl
Normal file
12
transform/yahoo_weather_forecast_text.xsl
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsl:stylesheet
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0" version="1.0">
|
||||||
|
|
||||||
|
<xsl:output indent="yes" method="xml" encoding="UTF-8" omit-xml-declaration="yes" />
|
||||||
|
|
||||||
|
<xsl:template match="/">
|
||||||
|
<xsl:value-of select="//yweather:forecast/@text" />
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
12
transform/yahoo_weather_humidity.xsl
Normal file
12
transform/yahoo_weather_humidity.xsl
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsl:stylesheet
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0" version="1.0">
|
||||||
|
|
||||||
|
<xsl:output indent="yes" method="xml" encoding="UTF-8" omit-xml-declaration="yes" />
|
||||||
|
|
||||||
|
<xsl:template match="/">
|
||||||
|
<xsl:value-of select="//yweather:atmosphere/@humidity" />
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
12
transform/yahoo_weather_pressure.xsl
Normal file
12
transform/yahoo_weather_pressure.xsl
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsl:stylesheet
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0" version="1.0">
|
||||||
|
|
||||||
|
<xsl:output indent="yes" method="xml" encoding="UTF-8" omit-xml-declaration="yes" />
|
||||||
|
|
||||||
|
<xsl:template match="/">
|
||||||
|
<xsl:value-of select="//yweather:atmosphere/@pressure" />
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
12
transform/yahoo_weather_temperature.xsl
Normal file
12
transform/yahoo_weather_temperature.xsl
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsl:stylesheet
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0" version="1.0">
|
||||||
|
|
||||||
|
<xsl:output indent="yes" method="xml" encoding="UTF-8" omit-xml-declaration="yes" />
|
||||||
|
|
||||||
|
<xsl:template match="/">
|
||||||
|
<xsl:value-of select="//yweather:condition/@temp" />
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
12
transform/yahoo_weather_wind_speed.xsl
Normal file
12
transform/yahoo_weather_wind_speed.xsl
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsl:stylesheet
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0" version="1.0">
|
||||||
|
|
||||||
|
<xsl:output indent="yes" method="xml" encoding="UTF-8" omit-xml-declaration="yes" />
|
||||||
|
|
||||||
|
<xsl:template match="/">
|
||||||
|
<xsl:value-of select="//yweather:wind/@speed" />
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
Reference in New Issue
Block a user