Originariamente Scritto da
phpone
Salve ragazzi,
qualcuno gentilmente ha un xml (proveniente da weatherlink.com/xml.php) da caricare per lavorarci un po' sopra?
Prima di prendere il WL ip vorrei dare un'occhiata a quello che potrei farci...
Grazie in anticipo
Ecco qua
Codice:
<?xml version="1.0" encoding="utf-8"?>
<current_observation version="1.0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.weather.gov/view/current_observation.xsd">
<credit>Davis Instruments Corp.</credit>
<credit_URL>http://www.davisnet.com</credit_URL>
<image>
<url>http://www.davisnet.com/news/photos/Corporate/img-sml/logo_DI_reflxblu.jpg</url>
<title>Davis WeatherLink</title>
<link>http://www.weatherlink.com</link>
</image>
<suggested_pickup>15 minutes after the hour</suggested_pickup>
<suggested_pickup_period>60</suggested_pickup_period>
<dewpoint_c>-0.6</dewpoint_c>
<dewpoint_f>31</dewpoint_f>
<dewpoint_string>31 F (-0.6 C)</dewpoint_string>
<heat_index_c>-0.6</heat_index_c>
<heat_index_f>31</heat_index_f>
<heat_index_string>31 F (-0.6 C)</heat_index_string>
<latitude>43.9</latitude>
<location>borgo maggiore, san marino, san marino</location>
<longitude>12.4</longitude>
<observation_time>Last Updated on Dec 6 2011, 11:01 pm CET</observation_time>
<observation_time_rfc822>Tue, 6 Dec 2011 23:01:10 +0100</observation_time_rfc822>
<pressure_in>29.991</pressure_in>
<pressure_mb>1015.6</pressure_mb>
<pressure_string>1015.6 mb</pressure_string>
<relative_humidity>100</relative_humidity>
<station_id>san marino</station_id>
<temp_c>-0.7</temp_c>
<temp_f>30.8</temp_f>
<temperature_string>30.8 F (-0.7 C)</temperature_string>
<wind_degrees>188</wind_degrees>
<wind_dir>South</wind_dir>
<wind_kt>4</wind_kt>
<wind_mph>5</wind_mph>
<windchill_c>-3.3</windchill_c>
<windchill_f>26</windchill_f>
<windchill_string>26 F (-3.3 C)</windchill_string>
<davis_current_observation version="1.0">
<dewpoint_day_high_f>35</dewpoint_day_high_f>
<dewpoint_day_high_time>12:00am</dewpoint_day_high_time>
<dewpoint_day_low_f>28</dewpoint_day_low_f>
<dewpoint_day_low_time>12:58pm</dewpoint_day_low_time>
<dewpoint_month_high_f>41</dewpoint_month_high_f>
<dewpoint_month_low_f>28</dewpoint_month_low_f>
<dewpoint_year_high_f>41</dewpoint_year_high_f>
<dewpoint_year_low_f>7</dewpoint_year_low_f>
<heat_index_day_high_f>35</heat_index_day_high_f>
<heat_index_day_high_time>12:00am</heat_index_day_high_time>
<heat_index_month_high_f>41</heat_index_month_high_f>
<heat_index_year_high_f>46</heat_index_year_high_f>
<observation_age>24</observation_age>
<pressure_day_high_in>29.998</pressure_day_high_in>
<pressure_day_high_time>10:46pm</pressure_day_high_time>
<pressure_day_low_in>29.774</pressure_day_low_in>
<pressure_day_low_time>1:15am</pressure_day_low_time>
<pressure_month_high_in>30.292</pressure_month_high_in>
<pressure_month_low_in>29.634</pressure_month_low_in>
<pressure_tendency_string>Rising Slowly</pressure_tendency_string>
<pressure_year_high_in>30.387</pressure_year_high_in>
<pressure_year_low_in>29.634</pressure_year_low_in>
<rain_day_in>0.0400</rain_day_in>
<rain_month_in>11.5000</rain_month_in>
<rain_rate_day_high_in_per_hr>0.0200</rain_rate_day_high_in_per_hr>
<rain_rate_day_high_time>5:00am</rain_rate_day_high_time>
<rain_rate_hour_high_in_per_hr>0.0000</rain_rate_hour_high_in_per_hr>
<rain_rate_in_per_hr>0.0000</rain_rate_in_per_hr>
<rain_rate_month_high_in_per_hr>4.8000</rain_rate_month_high_in_per_hr>
<rain_rate_year_high_in_per_hr>4.8000</rain_rate_year_high_in_per_hr>
<rain_storm_in>11.6700</rain_storm_in>
<rain_storm_start_date>11/14/2011</rain_storm_start_date>
<rain_year_in>11.6700</rain_year_in>
<relative_humidity_day_high>100</relative_humidity_day_high>
<relative_humidity_day_high_time>12:00am</relative_humidity_day_high_time>
<relative_humidity_day_low>86</relative_humidity_day_low>
<relative_humidity_day_low_time>1:16pm</relative_humidity_day_low_time>
<relative_humidity_in>59</relative_humidity_in>
<relative_humidity_in_day_high>60</relative_humidity_in_day_high>
<relative_humidity_in_day_high_time>12:00am</relative_humidity_in_day_high_time>
<relative_humidity_in_day_low>58</relative_humidity_in_day_low>
<relative_humidity_in_day_low_time>2:53pm</relative_humidity_in_day_low_time>
<relative_humidity_in_month_high>61</relative_humidity_in_month_high>
<relative_humidity_in_month_low>51</relative_humidity_in_month_low>
<relative_humidity_in_year_high>61</relative_humidity_in_year_high>
<relative_humidity_in_year_low>41</relative_humidity_in_year_low>
<station_name>Borgo Maggiore 463m S.l.m</station_name>
<sunrise>7:33am</sunrise>
<sunset>4:36pm</sunset>
<temp_day_high_f>35.2</temp_day_high_f>
<temp_day_high_time>5:11am</temp_day_high_time>
<temp_day_low_f>29.4</temp_day_low_f>
<temp_day_low_time>2:00am</temp_day_low_time>
<temp_in_day_high_f>47.9</temp_in_day_high_f>
<temp_in_day_high_time>12:58pm</temp_in_day_high_time>
<temp_in_day_low_f>38.3</temp_in_day_low_f>
<temp_in_day_low_time>8:22pm</temp_in_day_low_time>
<temp_in_f>39.3</temp_in_f>
<temp_in_month_high_f>49</temp_in_month_high_f>
<temp_in_month_low_f>38.3</temp_in_month_low_f>
<temp_in_year_high_f>58.8</temp_in_year_high_f>
<temp_in_year_low_f>38.3</temp_in_year_low_f>
<temp_month_high_f>40.9</temp_month_high_f>
<temp_month_low_f>29.4</temp_month_low_f>
<temp_year_high_f>46.7</temp_year_high_f>
<temp_year_low_f>29.4</temp_year_low_f>
<wind_day_high_mph>22</wind_day_high_mph>
<wind_day_high_time>5:00pm</wind_day_high_time>
<wind_month_high_mph>49</wind_month_high_mph>
<wind_ten_min_avg_mph>4</wind_ten_min_avg_mph>
<wind_year_high_mph>49</wind_year_high_mph>
<windchill_day_low_f>21</windchill_day_low_f>
<windchill_day_low_time>2:00am</windchill_day_low_time>
<windchill_month_low_f>21</windchill_month_low_f>
<windchill_year_low_f>21</windchill_year_low_f>
</davis_current_observation>
<disclaimer_url>http://www.davisnet.com/about/terms.asp</disclaimer_url>
<copyright_url>http://www.davisnet.com/about/terms.asp</copyright_url>
<privacy_policy_url>http://www.davisnet.com/about/privacy.asp</privacy_policy_url>
</current_observation>
Segnalibri