Page 1 of 1
Kapsules Weather - Invalid Location Code
#1
Posted 08 June 2008 - 12:38 AM
#6
Posted 13 June 2008 - 12:15 PM
open the widget code (open kapweather.kap in wordpad):
'...My documentsKapsules WidgetsKapsules Weather.widgetkapweather.kap'
search for XmlUrl = ...
and change this into
XmlUrl = "http://xoap.weather.com/weather/local/" & m_PostCode & "?cc=*&dayf=" & m_NumberOfDays & "&par=1003960698&key=8d4b00356ecc089d&unit=" & Unit
save the file
close the widget or kapsules
reload widget or restart kapsules
works for me...
'...My documentsKapsules WidgetsKapsules Weather.widgetkapweather.kap'
search for XmlUrl = ...
and change this into
XmlUrl = "http://xoap.weather.com/weather/local/" & m_PostCode & "?cc=*&dayf=" & m_NumberOfDays & "&par=1003960698&key=8d4b00356ecc089d&unit=" & Unit
save the file
close the widget or kapsules
reload widget or restart kapsules
works for me...
#7
Posted 13 June 2008 - 12:31 PM
change
If m_DisplayMode = "C" Then Unit = "m"
XmlUrl = "http://xoap.weather.com/weather/local/" & m_PostCode & "?cc=*&dayf=" & m_NumberOfDays & "&par=1003960698&key=8d4b00356ecc089d&unit=" & Unit
into
Unit = "F"
If m_DisplayMode = "C" Then Unit = "C"
XmlUrl = "http://xoap.weather.com/weather/local/" & m_PostCode & "?cc=*&dayf=" & m_NumberOfDays & "&ut=" & Unit
works even better, temps were in Celsius, this should fix the problem.
If m_DisplayMode = "C" Then Unit = "m"
XmlUrl = "http://xoap.weather.com/weather/local/" & m_PostCode & "?cc=*&dayf=" & m_NumberOfDays & "&par=1003960698&key=8d4b00356ecc089d&unit=" & Unit
into
Unit = "F"
If m_DisplayMode = "C" Then Unit = "C"
XmlUrl = "http://xoap.weather.com/weather/local/" & m_PostCode & "?cc=*&dayf=" & m_NumberOfDays & "&ut=" & Unit
works even better, temps were in Celsius, this should fix the problem.
#8
Posted 14 June 2008 - 08:09 PM
My version of kapweather.kap is time stamped 01/15/05 8:11pm, and does not have XmlUrl anywhere in the code.
Does anyone know how to contact Andrew to request assistance with this problem?
I prefer KapMeterology, but would use either KapMeterology or KapWeather if I could get one of them to work again.
Does anyone know how to contact Andrew to request assistance with this problem?
I prefer KapMeterology, but would use either KapMeterology or KapWeather if I could get one of them to work again.
#9
Posted 15 June 2008 - 02:18 PM
too bad, however, one of the benefits of Kapsules is that the widget-code is easy altered (backup first). If you can't find xmURL, search for weather.com and play a bit with the URL.
I'm not sure if Andrew can be contacted, but I hope we all hear from him very soon... I miss kapsules!
I'm not sure if Andrew can be contacted, but I hope we all hear from him very soon... I miss kapsules!
#10
Posted 10 July 2008 - 12:17 PM
Oh he's still floating around
I'll see about having a look at the old widget this weekend. Look in the config file for the widget and let me know what version you have. I havent been developing on kapsules in some time, but I still have all the old code around. So I could probably take a look at it for you.
I'll see about having a look at the old widget this weekend. Look in the config file for the widget and let me know what version you have. I havent been developing on kapsules in some time, but I still have all the old code around. So I could probably take a look at it for you.
Page 1 of 1








Sign In »
Register Now!
Help

MultiQuote