It is currently Wed Jun 19, 2013 3:44 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: .wtp file edit
PostPosted: Mon Oct 01, 2007 6:56 pm 
User avatar

Joined: Mon Oct 01, 2007 4:10 pm
Posts: 10
Location: Hiko, CA
What prog do you use to edit the .wtp files? (besides a text editor)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 01, 2007 8:10 pm 
Site Admin
User avatar

Joined: Wed Nov 06, 2002 9:24 am
Posts: 4197
Location: Harrisburg, PA
I normally use Windows Notepad.


Top
 Profile  
 
 Post subject: how about
PostPosted: Sat Nov 24, 2007 9:30 am 
User avatar

Joined: Mon Oct 01, 2007 4:10 pm
Posts: 10
Location: Hiko, CA
Is there a WYSIWYG editor that works?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 24, 2007 10:40 am 
Senior Member
User avatar

Joined: Sat Aug 07, 2004 12:24 pm
Posts: 2226
Location: Western NY, USA
Not for the .wtp files. While they look like plain .html files they aren't. They contain WW tags that only WW expands.

So you open the .wtp file in your favorite text editor, I like PFE and PSPad but Notepad works, and you open the .html file that it creates into your favorite browser, and you open the WW forecast window. You then make your changes to the .wtp file, save it, you click on the Update button in the WW forecast window, then the Refresh button on your browser and viola you see the results of your changes.

If your desired changes revolve strickly around the HTML code you can edit the .html files directly with a WYSIWYG editor then copy your HTML changes to the .wtp file. With this approach you need to either rename the WW .html file you are editing or disable WW's auto updates.

If anyone uses a different approach it would be nice to hear about it. :icon_smile:

A testing feature I would like to have is a way to direct WW.exe to call a version of DL.exe that would read a text file of test weather data rather than the live weather.com data. :thumbright:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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