erland;543163 Wrote: > Here is a beta version with support for the sdtweathermapicon item > > There are two parameters that might need some explanation: > - maptype = If specified and location hasn't been specified it will > cycle through all maps of the same type (Of course only "Local" type is > available so far) > - location = if specified it will only show the map of that particular > location, the maptype parameter isn't relevant if location has been > specified > > If neither of the above has been specified it will cycle through all > available maps provided by SuperDateTime. > > I'm not completely sure these cycling functionality makes any sense ? > > The question in my previous post still remains, can location be the map > url so the applet never talks to SuperDateTime if it has been specified > or should the applet calls SuperDateTime regularly to get a fresh url > for the selected location ? > > These beta versions also contains support for scrollable sdtsporttext > item through a new "scrolling" attribute on that item type. Scrolling > is only used if "noofscores" is 1 or empty. Hi Erland-
When testing please also try using a weather identifier in the US, for example 60614. A significantly larger number of maps are available for the US and they are more localized. To answer your previous posts- I don't envision the URLs changing often. I only refresh them when SDT is initially loaded or if the user changes their weather identifier. The way I would envision it working on your end is for the user to enter or select the map "Name" they are interested in. The names available are listed for them in SDT settings based on their weather identifier but if you want you can also list them in your helper app. When your applet loads it can do a single request to SDT to determine the current URLs for all the map names they've specified via custom clock helper. Does that make sense? If you want you can include the image switching logic, but for US identifiers there are quite a few available maps (25+ in my area for the local type alone). In the future I'll add some API calls so that people can write plugins that can pass SDT additional map names/urls. This would allow someone to make a plugin to add more non-US maps. Thoughts? -Greg -- GoCubs ------------------------------------------------------------------------ GoCubs's Profile: http://forums.slimdevices.com/member.php?userid=312 View this thread: http://forums.slimdevices.com/showthread.php?t=77864 _______________________________________________ jive mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/jive
