[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-1856) Weather portlet doesn't recognise other units

Thomas Heute (JIRA) jira-events at lists.jboss.org
Thu Jan 3 03:06:44 EST 2008


    [ http://jira.jboss.com/jira/browse/JBPORTAL-1856?page=comments#action_12393689 ] 
            
Thomas Heute commented on JBPORTAL-1856:
----------------------------------------

Next efforts we would do regarding that portlet would be to use weather.com info directly.

If you are interested to write such a portlet we can point you to their API. That would be a great contribution

> Weather portlet doesn't recognise other units
> ---------------------------------------------
>
>                 Key: JBPORTAL-1856
>                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1856
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.6.3 Final
>         Environment: Debian, JBoss 4.2.1.GA
>            Reporter: dpocock
>
> Change the portlet instance preferences to use the URL for Paris, with Centigrade instead of Farenheit:
> http://xml.weather.yahoo.com/forecastrss?p=FRXX0076&u=c
> The portlet displays the temperate values in centigrade, but with the symbol `F'.  E.g., if the temperature is 5 degrees C, the portlet says 5F.
> Looking at the RSS feed in the browser, it appears that it supplies the correct units:
> <yweather:location city="Paris" region=""   country="FR"/>
> <yweather:units temperature="C" distance="km" pressure="mb" speed="kph"/>
> <yweather:wind chill="-5"   direction="70"   speed="11.27" />
> <yweather:atmosphere humidity="76"  visibility="9.99"  pressure="0"  rising="0" />
> <yweather:astronomy sunrise="8:44 am"   sunset="5:04 pm"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list