Page 1 of 1

Displaying my PWS weather data on web site

PostPosted: Sun Jan 05, 2014 6:08 pm
by Anguillarameteo
Dear friends,

I’d like to use data from my own station (davis-weatherlink). While on my PC all works perfectly with the file yowindow_metric.xml (see attached inage), on my web site I’m not able to see the same.

This is the location of file reporting my current_weather_url=http://anguillaweather.altervista.org/yowindow_metric.xml. The name of location in which my station works is Anguillara Sabazia (Rome-Italy)

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
My problem is that I have generated this html code, but I’m not able to see correctly the data of my station. No weather data or Rome data.

Code: Select all
<div style="width:640px; height:400px;">
    <object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="640" height="400">
        <param name="movie" value="http://swf.yowindow.com/yowidget3.swf"/>
        <param name="allowfullscreen" value="true"/>
        <param name="wmode" value="opaque"/>
        <param name="bgcolor" value="#FFFFFF"/>
        <param name="flashvars"
        value="location_id=3169070&amp;location_name=Anguillara%20Sabazia&amp;current_weather_url=http://anguillaweather.altervista.org/yowindow_metric.xml; time_format=24&amp;unit_system=metric&amp;lang=it&amp;background=#FFFFFF&amp;copyright_bar=false"
    />
        <a href="http://WeatherScreenSaver.com?client=widget&amp;link=copyright"
        style="width:640px;height:400px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
        >Free Weather Widget</a>
    </object>
</div>
<div style="width: 640px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
    <span style="float:left;"><a target="_top" href="http://WeatherScreenSaver.com?client=widget&amp;link=copyright" style="color: #2fa900; font-weight:bold; text-decoration:none;" title="Screen Saver">YoWindow.com</a></span>
    <span style="float:right; color:#888888;">Forecast by&nbsp;<a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>

------------------------------------------------------------------------------------------------------

if I change in the following way, I see my data but in US system (not metric),


Code: Select all
<param name="flashvars"
  value=";current_weather_url=http://anguillaweather.altervista.org/yowindow_metric.xml....
I see my


Is ttere someone having experience in this topic?

Re: using own Davis PWS for web site

PostPosted: Tue Jan 07, 2014 7:58 am
by ikarus1969
I deleted your first post as you posted (almost) the same a few minutes later...