| 
			
				|  | wviewweather.com wview and Weather Topics
 
 |  
 
	
		| View previous topic :: View next topic |  
		| Author | Message |  
		| kusznir 
 
 
 Joined: 19 Sep 2005
 Posts: 11
 
 
 | 
			
				|  Posted: Sun Jan 01, 2006 6:39 pm    Post subject: Davis forecasts? |   |  
				| 
 |  
				| Hi: 
 I see from the manual, config files, and the changelog that davis forcasts from the console are supported.  Yet, I can't seem to figure out how to get them on the web pages...the templates I've checked don't have any forecast on them, and the parameterlist doesn't indicate anything sounding like forecasts.
 
 How does one use the forecast?
 
 Thanks again!
 --Jim
 |  |  
		| Back to top |  |  
		|  |  
		| mteel 
 
  
 Joined: 30 Jun 2005
 Posts: 435
 Location: Collinsville, TX
 
 | 
			
				|  Posted: Sun Jan 01, 2006 9:43 pm    Post subject: |   |  
				| 
 |  
				| Run wviewconfig, when it asks if you want to enable forecast icons, enter "1" to enable it. 
 From the User Manual Section 6.3:
 
  	  | Quote: |  	  | There is support for two new html tags - forecast rule and forecast icon. The new tags are !--forecastRule-- and !--forecastIcon-- (brackets omitted)
 respectively.
 The configuration file forecast.conf allows the user to define the icon
 files and text associated with the forecast rules. See the example
 forecast.conf file for details. The icon tag will be replaced by an image
 html construct pointing at the appropriate icon image file. The rule tag will
 be replaced by the corresponding text string defined in forecast.conf.
 Because these capabilities require 35 KB or more of memory (and I think the
 VP forecasts are hokey), they are disabled by default.
 | 
 
 From section 10:
 
  	  | Quote: |  	  | 10) forecast.conf       - defines the icon files and forecast text strings to be associated with the VP forecast icon and forecast
 rule values. Icon image file examples are found in
 wview-x.y.z/bin/img and can be copied to your weather
 web site. If you change the defaults in forecast.conf,
 you will need to copy your new icon files to your
 weather web site.
 See wview-x.y.z/examples/html/parameterlist.txt to
 find all available html tags including the forecast
 icon and rule tags. If absent (or renamed), no
 forecast icon or rule text will be stored or
 substituted for the corresponding html tags. This is
 the default and the way to disable the forecast
 storage and processing.
 Requires manual editing by user.
 | 
 
 You will have to add the forecast HTML tags to your HTML template(s) manually - they are not included in the distro versions because, as the User Manual states, it is all disabled by default.
 |  |  
		| Back to top |  |  
		|  |  
		|  |  
  
	| 
 
 | 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
 You cannot vote in polls in this forum
 
 |  
 Powered by phpBB © 2001, 2005 phpBB Group
 
 |