View Single Post
  #3 (permalink)  
Old 07-21-2012, 03:40 PM
conflipper's Avatar
conflipper
MIA
Offline
 
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