PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > Windows Mobile Software
Register Community Search

Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3 (permalink)  
Old 07-21-2012, 03:40 PM
conflipper's Avatar
MIA
Offline
Pocket PC: All HTC CDMA PPC
Carrier: Alltel
 
Join Date: Feb 2008
Posts: 1,888
Reputation: 12640
conflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation levelconflipper can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: New HCT Weather Server from Accuweather directly

Here is info on accessing Accuweather API. I had an account set up with them.



Examples of feed URLs:


http://hofmann.accu-weather.com/widg....asp?location=


Use that URL and it should work.


I have also included the PHP file, used to display the info and to convert everything. So anyone can upload this file to there website, change in the registry where to find the file, on your own server. And this file should do the rest on the information.



This is how I set up the registry.

<characteristic type="FileOperation" />
<characteristic type="Registry">
<characteristic type="HKCU\Software\HTC\Manila">
<parm name="LaunchCounter" value="1" datatype="integer" />
<parm name="Weather.ServerURLOverride" value="http://htcweather.conflippersweather.com/weathertranslate.php?ac=CONFLIPPER&amp;locCode=%25 ls&amp;version= 1&amp;device=innovation" datatype="string" />
</characteristic>
</characteristic>


That Weather.ServerURLOverride, was where I had it linked to where my site was. So upload the PHP file I have included into your own site. Take now of the file location. And then change the URL to something like this

http://THIS IS YOUR SITE URL.COM/weathertranslate.php?ac=CONFLIPPER&amp;locCode=%25 ls&amp;version= 1&amp;device=innovation


I have also included the latest version of the database file that I used. So everyone can have that and take a peak at it. At least look into it, and realize how large it is, and how much work went into it. Because that was a large task. I never imagined it would have been as big has it was during its heyday. Serving over 1,000,000 weather updates a month.
Attached Files
File Type: zip weathertranslate.zip (3.7 KB, 17 views) Click for barcode!
File Type: zip Database13.zip (1.11 MB, 10 views) Click for barcode!

Last edited by conflipper; 07-21-2012 at 03:55 PM.
Reply With Quote
 

  PPCGeeks > Windows Mobile > Windows Mobile Software

Tags
accuweather, htc, server, weather


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 02:01 PM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com