pointui home 2 nie da sie dodać miasta

  • 0 Odpowiedzi
  • 954 Wyświetleń

0 użytkowników i 1 Gość przegląda ten wątek.

*

Offline MasterXardas

  • ***
  • 475
  • Płeć: Mężczyzna
  • AVE!
  • Sprzęt: ZTE Blade G
pointui home 2 nie da sie dodać miasta
« dnia: Marzec 20, 2010, 22:10:27 »
Witam. Mam problem :D otóż dzisiaj postanowiłem sobie zmienić today na coś nowego i zainstalowałem point ui home 2. Pierwsza, żecz jaka mnie zdziwiła to.. brak polskich miast w pogodzie etc... ale na to znalazłem teoretycznie rozwiązanie:
A quick guide to add your own city on World or Today Applet:
> goto accuweather.com to find your city with its code
When you found your town on Accuweather website, the code is in your browser adress bar. You just have to check url to isolate it.
You could also use this to obtain the complete url : http://www.accuweather.com/rss-center.asp
> Copy the following file from your device to your PC:
Program Files\Home2\AppletRibbon\Today\Cities.xml (for Today applet)
Program Files\Home2\AppletRibbon\World\Cities.xml (for World applet)
> open it with a text editor (notepad, for instance)
> insert this sort of code in xml file:
<item>
<id>your accuweather code (respect syntax!)</id>
<text>your town as displayed on the applet</text>
<x>x-axys value on world map</x>
<y>y-axys value on world map</y>
<url>url for wheather RSS feed for your town</url>
<newsurl>your url for news</newsurl>
<gmtOffsetMinutes>GMT Time offset (+ or -, in minutes)</gmtOffsetMinutes>
</item>

Here is an example for Toulouse, a french town:


<item>
<id>EUR|FR|FR016|TOULOUSE</id>
<text>Toulouse</text>
<x>330</x>
<y>67</y>
<url>http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&amp;locCode=EUR|FR|FR016|TOULOUSE</url>
<newsurl>http://news.google.com.au/news?ned=fr&output=rss</newsurl>
<gmtOffsetMinutes>60</gmtOffsetMinutes>
</item>
zrobiłem wszytsko, otrzymałem taki efekt:
<item>
<id>EUR|PL|PL004|LUBLIN</id>
<text>Lublin</text>
<x>508</x>
<y>137</y>
<url>http://rss.accuweather.com/rss/liveweather_rss.asp?metric=0&locCode=EUR|PL|PL004|LUBLIN</url>
<newsurl>http://news.google.com.au/news?edchanged=1&ned=pl_pl;output=rss</newsurl>
<gmtOffsetMinutes>+1</gmtOffsetMinutes>
</item>
I... po wybraniu Miasta Lublin, automatycznie wraca do poprzednio wybranego miasta (wiem, że namiary na miasto nie są prawidłowe, ale nie chciało mi się z tym kombinować :D Ktoś mógłby mi... pomóc z tym??:D Bo na co mnie nakładka z pogodą nie wyświetlająca pogody??:D
Wróciłem po latach!!! :D