It is currently Sun May 19, 2013 6:25 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Tue Apr 25, 2006 6:57 pm 
Site Admin
User avatar

Joined: Wed Nov 06, 2002 9:24 am
Posts: 4177
Location: Harrisburg, PA
Please post the suggested code (tag) and give an example of how it would be used.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 25, 2006 7:35 pm 
Senior Member
User avatar

Joined: Sat Aug 07, 2004 12:24 pm
Posts: 2223
Location: Western NY, USA
[SKIN INTERFACE] - name of the interface being used.
[INSTALL LOCATION 2] - the WW install folder with 2 "\"s.
[INSTALL LOCATION X] - the WW install folder with "/" in place of "\".
[ALERT ID] - the alertId weather.com uses to display info on an alert.

[ALERTS SOUND] - the complete path and filename of the New Severe Weather Alert .wav file.

Examples:

if '[SKIN INTERFACE]' = 'Splendid' document.write('Click on the Maps button above');

if '[SKIN INTERFACE]' = 'Splendid' document.write('Click on the <IMG SRC="[INSTALL LOCATION 2]\\skins\\interface\\ButtonMaps.bmp"> above');

if '[SKIN INTERFACE]' = 'Splendid' document.write('Click on the <IMG SRC="[INSTALL LOCATION X]/skins/interface/ButtonMaps.bmp"> above');


if '[SKIN INTERFACE]' != 'Stone Soup' document.write("You're not using my interface!!!"); :iconbiggrin:

if '[ALERTS AVAILABLE]' = 'true' document.write('<A HREF="http://www.weather.com/weather/alerts/?alertId=[ALERT ID]"><IMG SRC="Images/ButtonAlerts.gif"></A>');


Ed


Last edited by Ed_P on Tue Jun 06, 2006 11:00 am, edited 3 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 26, 2006 12:26 am 
User avatar

Joined: Sun Dec 18, 2005 12:11 pm
Posts: 115
Location: Denmark
Sounds like good ideas to me (though i think the slashed version is a little too much, it can easily be made from one of the others), but I'd say it should be both more descriptive [to keep the style from the other tags] and the variations should reflect in all tags containing paths, ie.:

Code:
[INSTALL LOCATION ESC] - the WW install folder with escaped backslashes ["\\"]
[INSTALL LOCATION SLASH] - the WW install folder with slashes instead of backslashes

and that goes for the alert sounds aswell, you should have:

Code:
[ALERTS SOUND], [ALERTS SOUND ESC] and [ALERTS SOUND SLASH]

for the completeness...

Well, it's just my view...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 06, 2006 11:02 am 
Senior Member
User avatar

Joined: Sat Aug 07, 2004 12:24 pm
Posts: 2223
Location: Western NY, USA
Any progress on these [Install Location] changes planned?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 06, 2006 9:42 pm 
Site Admin
User avatar

Joined: Wed Nov 06, 2002 9:24 am
Posts: 4177
Location: Harrisburg, PA
EdP wrote:
Any progress on these [Install Location] changes planned?

Here are the new codes:

Code:
[ALERT ID]
[ALERTS SOUND]
[ALERTS SOUND ESC]
[ALERTS SOUND SLASH]
[INSTALL LOCATION]
[INSTALL LOCATION ESC]
[INSTALL LOCATION SLASH]


Here is the new ww.exe:
http://www.singerscreations.com/files/newcodes/ww.exe


Note: Download the above file to "C:/Program Files/Weather Watcher". Before doing so, you might want to rename your existing "ww.exe" file to "ww.old".


Last edited by Mike Singer on Wed Jun 07, 2006 12:20 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 06, 2006 10:06 pm 
Senior Member
User avatar

Joined: Sat Aug 07, 2004 12:24 pm
Posts: 2223
Location: Western NY, USA
Thank you Mike.

Will these be included in the next release? Can't develop skins using them if no one else has them. ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 06, 2006 10:40 pm 
Site Admin
User avatar

Joined: Wed Nov 06, 2002 9:24 am
Posts: 4177
Location: Harrisburg, PA
EdP wrote:
Will these be included in the next release? Can't develop skins using them if no one else has them. ;-)

Yes. I just put that ww.exe together so you can get head start :icon_smile:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 06, 2006 10:59 pm 
Senior Member
User avatar

Joined: Sat Aug 07, 2004 12:24 pm
Posts: 2223
Location: Western NY, USA
You're the best Mike. :thumbright: :icon_smile:


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 09, 2006 8:07 am 
Senior Member
User avatar

Joined: Sat Aug 07, 2004 12:24 pm
Posts: 2223
Location: Western NY, USA
Could you create tags for [MOONRISE AMPM] and [MOONSET AMPM] please?

And one for [ZIPCODE] for US locations?

Thanks :icon_smile:


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 09, 2006 9:33 pm 
Site Admin
User avatar

Joined: Wed Nov 06, 2002 9:24 am
Posts: 4177
Location: Harrisburg, PA
There is no guarantee that [ZIPCODE] will send back the desired result. If people are searching by US city name, then their city will be saved as the weather.com city code, rather than the US zip code.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 09, 2006 9:45 pm 
Senior Member
User avatar

Joined: Sat Aug 07, 2004 12:24 pm
Posts: 2223
Location: Western NY, USA
So you don't have access to a location's ZIP code?

A ZIP code can make a map image more specific to the end user than just a city name.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 09, 2006 11:14 pm 
Site Admin
User avatar

Joined: Wed Nov 06, 2002 9:24 am
Posts: 4177
Location: Harrisburg, PA
EdP wrote:
So you don't have access to a location's ZIP code?

Not unless the city is added by searching for the zip code, rather than the city's name.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 10, 2006 12:03 am 
Senior Member
User avatar

Joined: Sat Aug 07, 2004 12:24 pm
Posts: 2223
Location: Western NY, USA
Well if you have it then the tag will have a length greater than 0. But I understand what you're saying.

Are you aware of any reverse lookup of WW code to ZIP code?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 10, 2006 12:08 am 
Site Admin
User avatar

Joined: Wed Nov 06, 2002 9:24 am
Posts: 4177
Location: Harrisburg, PA
EdP wrote:
Are you aware of any reverse lookup of Weather Watcher code to ZIP code?

Nope. I don't even know if the weather.com city code has any meaning.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 10, 2006 12:10 am 
Site Admin
User avatar

Joined: Wed Nov 06, 2002 9:24 am
Posts: 4177
Location: Harrisburg, PA
EdP wrote:
Could you create tags for [MOONRISE AMPM] and [MOONSET AMPM] please?

I totally missed this before... I glanced over it quickly and thought I read something else. Where would this information come from?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group