Loading ...
Sorry, an error occurred while loading the content.

Re: HTML Output

Expand Messages
  • wuhu_software
    Larry, Actually the data was already calculated, I just needed to add it to the output file, piece of cake. ... see ... must ... total ... variables. ...
    Message 1 of 36 , Aug 1 8:54 AM
    • 0 Attachment
      Larry,

      Actually the data was already calculated, I just needed to add it to
      the output file, piece of cake.


      --- In wuhu_software_group@yahoogroups.com, "larrymyers312000"
      <hometownnerd@...> wrote:
      >
      > Thats incredible!!!! thanks again.....will try it out tonight and
      see
      > what happens. I cannot believe you implemented it that fast!!!
      >
      >
      > Larry
      >
      > --- In wuhu_software_group@yahoogroups.com, "wuhu_software"
      > <wuhu_software@> wrote:
      > >
      > >
      > > Larry,
      > >
      > > Yes, the variable name is to the left, when using templates, you
      must
      > > also specify the section in the INI file, it is in the format of:
      > >
      > > %[section]variable%
      > >
      > > for the extended currdat.lst file.
      > >
      > > The readme is way out of date. I am hoping that someone will put
      > > together an html readme to replace the current one. It needs a
      total
      > > revamping.
      > >
      > > I have went ahead and added rates of change for the following
      variables.
      > > You will need to get the latest copy of WUHU to have these
      included.
      > >
      > > Since the changes are new, you might keep an eye on the values to
      make
      > > sure I did not miscalculate something.
      > >
      > > [hourly_rates_of_change]
      > > outdoor_temperature_rate_deg_C = "1.9280"
      > > outdoor_temperature_rate_deg_F = "3.4705"
      > > outdoor_humidity_rate = "-9.7409"
      > > outdoor_dewpoint_rate_deg_C = "-2.3014"
      > > outdoor_dewpoint_rate_deg_F = "-4.1425"
      > > outdoor_apparent_temperature_rate_deg_C = "1.8405"
      > > outdoor_apparent_temperature_rate_deg_F = "3.3129"
      > > outdoor_wind_speed_rate_kmh = "-12.1663"
      > > outdoor_wind_speed_rate_mph = "-7.5600"
      > > outdoor_wind_gust_rate_kmh = "-12.1663"
      > > outdoor_wind_gust_rate_mph = "-7.5600"
      > > outdoor_average_wind_speed_rate_kmh = "0.0000"
      > > outdoor_average_wind_speed_rate_mph = "0.0000"
      > > outdoor_relative_pressure_rate_hpa = "-0.0947"
      > > outdoor_relative_pressure_rate_inHg = "-0.0028"
      > > outdoor_absolute_pressure_rate_hpa = "0.0070"
      > > outdoor_absolute_pressure_rate_inHg = "0.0002"
      > > outdoor_rain1hr_rate_mm = "0.0000"
      > > outdoor_rain1hr_rate_inch = "0.0000"
      > > outdoor_rain24hr_rate_mm = "0.0000"
      > > outdoor_rain24hr_rate_inch = "0.0000"
      > > outdoor_rain24hr_rate_mm = "0.0000"
      > > outdoor_rain24hr_rate_inch = "0.0000"
      > > outdoor_rain_daily_total_rate_mm = "0.0000"
      > > outdoor_rain_daily_total_rate_inch = "0.0000"
      > > outdoor_rain_total_rate_mm = "0.0000"
      > > outdoor_rain_total_rate_inch = "0.0000"
      > > indoor_temperature_rate_deg_C = "-0.3546"
      > > indoor_temperature_rate_deg_F = "-0.6384"
      > > indoor_humidity_rate = "-1.4093"
      > >
      > >
      > > --- In wuhu_software_group@yahoogroups.com, "larrymyers312000"
      > > <hometownnerd@> wrote:
      > > >
      > > > Ok kewl, thought I was missing it somewhere, thanks. Although
      since I
      > > > am using IIS with asp I could actually have the template
      include some
      > > > asp script to calculate that and change the name of the output
      file to
      > > > .asp and that may be good enough, now just to iron out some
      logic.
      > > > Thats right, that was written in one of these messages, the
      variable
      > > > name in question would be the text to the left of the "=" sign,
      > > > correct? Thanks again. Funny, looking at the release notes I see
      > > > templates is something seen as something most people would not
      use and
      > > > I see it as one of the things I am most interested in
      implementing.
      > > >
      > > > Thanks again for the great software
      > > >
      > > > --- In wuhu_software_group@yahoogroups.com, "wuhu_software"
      > > > wuhu_software@ wrote:
      > > > >
      > > > > Larry,
      > > > >
      > > > > I have not yet implemented tags for rates of change... That
      would
      > > > > probably be good for the hourly section. Will keep it in mind.
      > > > >
      > > > > The easiest way to see the list of available tags is to get
      the
      > > > > latest version of WUHU, enabled the output of the currdat.lst
      file,
      > > > > enable the extended output. After you start WUHU and get an
      update,
      > > > > view the currdat.lst file with notepad.
      > > > >
      > > > > There are probably about 400-450 tags available already with
      the
      > > > > daily and hourly extremes, timestamps, etc.
      > > > >
      > > > >
      > > > > --- In wuhu_software_group@yahoogroups.com, "larrymyers312000"
      > > > > <hometownnerd@> wrote:
      > > > > >
      > > > > > This thread has been great for me, as I am just now
      starting to
      > > use
      > > > > > WUHU and am loving the templates!! I know I am missing it
      > > somewhere,
      > > > > > where can I find a list of all variables available in the
      > > > > templates, I
      > > > > > would like to see temperature rate in particular. And also
      if
      > > > > someone
      > > > > > has a template that has a large amount of the data possible
      that
      > > > > would
      > > > > > be nice too, would make editing my own easier. Thanks to the
      > > author
      > > > > > for having a great product!!
      > > > > >
      > > > > > Larry
      > > > > >
      > > > > > --- In wuhu_software_group@yahoogroups.com, "wuhu_software"
      > > > > > <wuhu_software@> wrote:
      > > > > > >
      > > > > > > Don,
      > > > > > >
      > > > > > > Actually, there was a bit of a performance hit outputting
      that
      > > > > file
      > > > > > > due to the API I was using.
      > > > > > >
      > > > > > > I have updated the code so that it is more efficient.
      > > > > > >
      > > > > > > Try the latest refresh and let me know if you still see a
      CPU
      > > hit.
      > > > > > >
      > > > > > >
      > > > > > > --- In wuhu_software_group@yahoogroups.com, "Don"
      > > <kansasphotos@>
      > > > > > > wrote:
      > > > > > > >
      > > > > > > > The one minute limitation is in that separate FTP
      program. I
      > > > > guess
      > > > > > > > what gets me confused is that using my own server is
      just a
      > > > > matter
      > > > > > > of
      > > > > > > > moving files from one directory to the other, even
      though I
      > > can
      > > > > go
      > > > > > > > through the FTP process. The template: etc process has
      worked
      > > > > well
      > > > > > > > for me, but I noticed when you're using some of the
      extended
      > > > > tags it
      > > > > > > > begins to slow down (maybe its' my imagination).
      > > > > > > >
      > > > > > > >
      > > > > > > >
      > > > > > > > --- In
      wuhu_software_group@yahoogroups.com, "wuhu_software"
      > > > > > > > <wuhu_software@> wrote:
      > > > > > > > >
      > > > > > > > > Don,
      > > > > > > > >
      > > > > > > > > If you do not use the templates within the on weather
      > > > > updates,
      > > > > > > the
      > > > > > > > > template will not be processed.
      > > > > > > > >
      > > > > > > > > Maybe I am missing the question?
      > > > > > > > >
      > > > > > > > > Where is the one minute limitation?
      > > > > > > > >
      > > > > > > > > Thanks.
      > > > > > > > >
      > > > > > > > >
      > > > > > > > > --- In wuhu_software_group@yahoogroups.com, "Don"
      > > > > <kansasphotos@>
      > > > > > > > > wrote:
      > > > > > > > > >
      > > > > > > > > > Heath - I didn't realize the full advantage of
      using that
      > > > > > > Save2FTP
      > > > > > > > > > until I tried it this evening. My question is,
      since I've
      > > > > been
      > > > > > > > > using
      > > > > > > > > > the "Action/Alert" on updates with the template:
      > > > > > > D:/HeavyWeather
      > > > > > > > > etc.,
      > > > > > > > > > even though your limited to a minimum of 1 minutes
      > > updates,
      > > > > I
      > > > > > > assume
      > > > > > > > > > that I can discontinue using and unclick that
      box "On
      > > > > Weather
      > > > > > > > > Update"
      > > > > > > > > > as my template and data are being uploaded to the
      web site
      > > > > with
      > > > > > > the
      > > > > > > > > > Save2FTP.
      > > > > > > > > > don
      > > > > > > > > >
      > > > > > > > > >
      > > > > > > > > >
      > > > > > > > > >
      > > > > > > > > >
      > > > > > > > > >
      > > > > > > > > > --- In
      > > > > wuhu_software_group@yahoogroups.com, "utahweatherbear"
      > > > > > > > > > <utahweatherbear@> wrote:
      > > > > > > > > > >
      > > > > > > > > > > Thanx Don. Not as snazzy as yours, but it's a nice
      > > > > addition
      > > > > > > to my
      > > > > > > > > > > overall site.
      > > > > > > > > > >
      > > > > > > > > > > db
      > > > > > > > > > >
      > > > > > > > > > >
      > > > > > > > > > >
      > > > > > > > > > > --- In wuhu_software_group@yahoogroups.com, "Don"
      > > > > > > <kansasphotos@>
      > > > > > > > > > > wrote:
      > > > > > > > > > > >
      > > > > > > > > > > > Thanks Dan, I was missing the brackets. Nice
      page you
      > > > > have
      > > > > > > > > > > created.
      > > > > > > > > > > > I like the way WUHU responds - it's fast and
      smooth.
      > > > > > > > > > > > don
      > > > > > > > > > > >
      > > > > > > > > > > > --- In
      > > > > > > wuhu_software_group@yahoogroups.com, "utahweatherbear"
      > > > > > > > > > > > <utahweatherbear@> wrote:
      > > > > > > > > > > > >
      > > > > > > > > > > > > Thanx. Yeah, probably should. Was gonna just
      add it
      > > > > to my
      > > > > > > > > main
      > > > > > > > > > > page
      > > > > > > > > > > > > menu eventually. Got so much stuff there
      already.
      > > :-)
      > > > > > > > > > > > >
      > > > > > > > > > > > > http://weatherbear.com/
      > > > > > > > > > > > >
      > > > > > > > > > > > > db
      > > > > > > > > > > > >
      > > > > > > > > > > > >
      > > > > > > > > > > > >
      > > > > > > > > > > > > --- In wuhu_software_group@yahoogroups.com,
      George
      > > > > Gunn
      > > > > > > > > > > > > <professorgunn@> wrote:
      > > > > > > > > > > > > >
      > > > > > > > > > > > > > Nice web page Dan. Maybe you could add your
      > > > > location?
      > > > > > > > > > > > > >
      > > > > > > > > > > > > > George
      > > > > > > > > > > > > >
      > > > > > > > > > > > > > utahweatherbear <utahweatherbear@>
      > > > > > > > > > > > > wrote: Heath,
      > > > > > > > > > > > > >
      > > > > > > > > > > > > > Think I have most of the stuff figured out.
      Your
      > > > > > > template
      > > > > > > > > idea
      > > > > > > > > > > is
      > > > > > > > > > > > > > really cool, and the ftp seems to be
      working. I
      > > > > have
      > > > > > > set
      > > > > > > > > up a
      > > > > > > > > > > > > small
      > > > > > > > > > > > > > page here:
      > > > > > > > > > > > > >
      > > > > > > > > > > > > > http://weatherbear.com/weather/wxstation.htm
      > > > > > > > > > > > > >
      > > > > > > > > > > > > > I set it up to auto-refresh every 10
      seconds for
      > > > > now.
      > > > > > > Just
      > > > > > > > > a
      > > > > > > > > > > > > couple
      > > > > > > > > > > > > > questions. Is there a way to just have the
      time
      > > > > for
      > > > > > > the
      > > > > > > > > > > max/min
      > > > > > > > > > > > > stuff
      > > > > > > > > > > > > > instead of the whole date, and possibly
      > > > > a "letters"
      > > > > > > option
      > > > > > > > > for
      > > > > > > > > > > the
      > > > > > > > > > > > > > peak wind gust? I couldn't find the options
      in the
      > > > > > > > > extended
      > > > > > > > > > > > > currdat
      > > > > > > > > > > > > > data, but thought that would be a nice
      feature to
      > > > > > > shorten
      > > > > > > > > > > things
      > > > > > > > > > > > > up
      > > > > > > > > > > > > > if we wanted to.
      > > > > > > > > > > > > >
      > > > > > > > > > > > > > You totally rock!
      > > > > > > > > > > > > >
      > > > > > > > > > > > > > Dan
      > > > > > > > > > > > > >
      > > > > > > > > > > > > > --- In
      > > > > > > > > wuhu_software_group@yahoogroups.com, "wuhu_software"
      > > > > > > > > > > > > > <wuhu_software@> wrote:
      > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > Dan,
      > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > You have to shut down WUHU, add the key to
      > > > > the .ini,
      > > > > > > > > then
      > > > > > > > > > > start
      > > > > > > > > > > > > > WUHU.
      > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > 20) A new .INI key was added to enable the
      > > > > writing
      > > > > > > of
      > > > > > > > > > > extended
      > > > > > > > > > > > > > > information in the currdat.lst (daily
      lows and
      > > > > > > highs).
      > > > > > > > > This
      > > > > > > > > > > > > > > modification will have no effect if you
      are not
      > > > > > > writing
      > > > > > > > > the
      > > > > > > > > > > > > > > currdat.lst file or if the below key is
      not
      > > > > found in
      > > > > > > the
      > > > > > > > > > > WUHU
      > > > > > > > > > > > > > > configuration INI file.
      > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > To enable this feature, exit WUHU and
      edit the
      > > > > WUHU
      > > > > > > > > > > > > Configuration
      > > > > > > > > > > > > > > Data.ini file that is located in the WUHU
      > > > > program
      > > > > > > file
      > > > > > > > > > > folder.
      > > > > > > > > > > > > > > Notepad is recommended when editing this
      file.
      > > > > Add
      > > > > > > the
      > > > > > > > > > > following
      > > > > > > > > > > > > > key
      > > > > > > > > > > > > > > to the general section of WUHU
      Configuration.INI
      > > > > in
      > > > > > > the
      > > > > > > > > > > [General
      > > > > > > > > > > > > > > Settings] section.
      > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > Write Extended Currentdat=1
      > > > > > > > > > > > > > >
      > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > --- In
      > > > > > > > > > >
      wuhu_software_group@yahoogroups.com, "utahweatherbear"
      > > > > > > > > > > > > > > <utahweatherbear@> wrote:
      > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > Hmmm...not sure about the "extended",
      but I do
      > > > > > > > > generate a
      > > > > > > > > > > > > > > currdat.lst
      > > > > > > > > > > > > > > > that looks like this:
      > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > [header]
      > > > > > > > > > > > > > > > programm_name="heavy weather"
      > > > > > > > > > > > > > > > programm_version="Ver. 2.0 beta release"
      > > > > > > > > > > > > > > > file_name="currdat.lst"
      > > > > > > > > > > > > > > > file_format_version="ver. 1.0"
      > > > > > > > > > > > > > > > [time]
      > > > > > > > > > > > > > > > start=3394888486
      > > > > > > > > > > > > > > > start_date_string="Tue Jul 31 10:34:46
      2007"
      > > > > > > > > > > > > > > > last_actualisation=3394901758
      > > > > > > > > > > > > > > > last_actualisation_date_string="Tue Jul
      31
      > > > > > > 14:15:58
      > > > > > > > > 2007"
      > > > > > > > > > > > > > > > next_actualisation=3394901768
      > > > > > > > > > > > > > > > next_actualisation_date_string="Tue Jul
      31
      > > > > > > 14:16:08
      > > > > > > > > 2007"
      > > > > > > > > > > > > > > > [weather_picture]
      > > > > > > > > > > > > > > > comment_2="-1=not valid, 0=rain,
      1=cloud,
      > > > > 2=sun"
      > > > > > > > > > > > > > > > number=1
      > > > > > > > > > > > > > > > [weather_tendency]
      > > > > > > > > > > > > > > > comment_1="-1=not valid, 0=no
      > > > > change of
      > > > > > > air
      > > > > > > > > > > > > pressure"
      > > > > > > > > > > > > > > > comment_2=" 1=air pressure rising, 2=air
      > > > > pressure
      > > > > > > > > falling"
      > > > > > > > > > > > > > > > number=1
      > > > > > > > > > > > > > > > [indoor_temperature]
      > > > > > > > > > > > > > > > deg_C="30.0"
      > > > > > > > > > > > > > > > deg_F="86.0"
      > > > > > > > > > > > > > > > [outdoor_temperature]
      > > > > > > > > > > > > > > > deg_C="31.8"
      > > > > > > > > > > > > > > > deg_F="89.3"
      > > > > > > > > > > > > > > > [indoor_humidity]
      > > > > > > > > > > > > > > > percent="49.0"
      > > > > > > > > > > > > > > > [outdoor_humidity]
      > > > > > > > > > > > > > > > percent="28.0"
      > > > > > > > > > > > > > > > [dewpoint]
      > > > > > > > > > > > > > > > deg_C="11.0"
      > > > > > > > > > > > > > > > deg_F="51.8"
      > > > > > > > > > > > > > > > [windchill]
      > > > > > > > > > > > > > > > deg_C="30.7"
      > > > > > > > > > > > > > > > deg_F="87.3"
      > > > > > > > > > > > > > > > [wind_speed]
      > > > > > > > > > > > > > > > mps="1.5"
      > > > > > > > > > > > > > > > kmh="5.5"
      > > > > > > > > > > > > > > > mph="3.4"
      > > > > > > > > > > > > > > > knt="3.0"
      > > > > > > > > > > > > > > > bft=" 1"
      > > > > > > > > > > > > > > > [wind_direction]
      > > > > > > > > > > > > > > > deg="337"
      > > > > > > > > > > > > > > > name="NNW"
      > > > > > > > > > > > > > > > [rain_total]
      > > > > > > > > > > > > > > > mm="0.00"
      > > > > > > > > > > > > > > > inch="0.000"
      > > > > > > > > > > > > > > > [rain_24h]
      > > > > > > > > > > > > > > > mm="0.00"
      > > > > > > > > > > > > > > > inch="0.000"
      > > > > > > > > > > > > > > > [rain_1h]
      > > > > > > > > > > > > > > > mm="0.00"
      > > > > > > > > > > > > > > > inch="0.000"
      > > > > > > > > > > > > > > > [pressure_absolute]
      > > > > > > > > > > > > > > > hpa="851.34"
      > > > > > > > > > > > > > > > inHg="25.14"
      > > > > > > > > > > > > > > > [pressure_relative]
      > > > > > > > > > > > > > > > hpa="1015.92"
      > > > > > > > > > > > > > > > inHg="30.00"
      > > > > > > > > > > > > > > > [storm_alarm]
      > > > > > > > > > > > > > > > comment="-1=not valid, 0=storm alarm not
      > > > > activ,
      > > > > > > > > 1=storm
      > > > > > > > > > > alarm
      > > > > > > > > > > > > > activ"
      > > > > > > > > > > > > > > > number=0
      > > > > > > > > > > > > > > > [wind_gust]
      > > > > > > > > > > > > > > > mps="2.4"
      > > > > > > > > > > > > > > > kmh="8.7"
      > > > > > > > > > > > > > > > mph="5.4"
      > > > > > > > > > > > > > > > knt="4.7"
      > > > > > > > > > > > > > > > bft=" 2"
      > > > > > > > > > > > > > > > [rain_total_tweaked]
      > > > > > > > > > > > > > > > mm="0.00"
      > > > > > > > > > > > > > > > inch="0.000"
      > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > Don't see any max/min temps or max
      wind. What
      > > > > am I
      > > > > > > > > doing
      > > > > > > > > > > wrong?
      > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > Thanx, dan
      > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > --- In
      > > > > > > > > > >
      wuhu_software_group@yahoogroups.com, "wuhu_software"
      > > > > > > > > > > > > > > > <wuhu_software@> wrote:
      > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > Dan,
      > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > If you are configured for extended
      > > > > currdat.lst
      > > > > > > > > output,
      > > > > > > > > > > the
      > > > > > > > > > > > > > highs
      > > > > > > > > > > > > > > > and
      > > > > > > > > > > > > > > > > lows are available by using %[section]
      var%
      > > > > and
      > > > > > > can
      > > > > > > > > be
      > > > > > > > > > > used
      > > > > > > > > > > > > in
      > > > > > > > > > > > > > > > > templates.
      > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > My recommendation is the save2ftp
      freeware.
      > > > > You
      > > > > > > can
      > > > > > > > > send
      > > > > > > > > > > > > > multiple
      > > > > > > > > > > > > > > > > files to servers with different
      conditions.
      > > > > It
      > > > > > > seems
      > > > > > > > > to
      > > > > > > > > > > work
      > > > > > > > > > > > > > very
      > > > > > > > > > > > > > > > > well.
      > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > --- In
      > > > > > > > > > > > >
      > > > > wuhu_software_group@yahoogroups.com, "utahweatherbear"
      > > > > > > > > > > > > > > > > <utahweatherbear@> wrote:
      > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > Heath, is there a a variable in
      there for
      > > > > a
      > > > > > > peak
      > > > > > > > > wind
      > > > > > > > > > > gust
      > > > > > > > > > > > > > for
      > > > > > > > > > > > > > > > the
      > > > > > > > > > > > > > > > > > day? Also, what would you suggest
      is the
      > > > > best
      > > > > > > way
      > > > > > > > > to
      > > > > > > > > > > > > > > > automatically
      > > > > > > > > > > > > > > > > > upload the ouput file to a website
      on a
      > > > > > > realtime
      > > > > > > > > > > basis? Is
      > > > > > > > > > > > > > that
      > > > > > > > > > > > > > > > > > possible with WUHU?
      > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > Thanx, Dan
      > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > --- In
      > > > > > > > > > > > >
      wuhu_software_group@yahoogroups.com, "wuhu_software"
      > > > > > > > > > > > > > > > > > <wuhu_software@> wrote:
      > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > > Tony,
      > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > > Assuming you are running the
      latest
      > > > > version
      > > > > > > that
      > > > > > > > > > > > > supports
      > > > > > > > > > > > > > > > > > templates...
      > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > > First you need to set up an
      action for
      > > > > > > the "On
      > > > > > > > > > > weather
      > > > > > > > > > > > > > > update".
      > > > > > > > > > > > > > > > > Go
      > > > > > > > > > > > > > > > > > to
      > > > > > > > > > > > > > > > > > > where you enter the actions and
      see the
      > > > > > > examples
      > > > > > > > > at
      > > > > > > > > > > the
      > > > > > > > > > > > > > > bottom.
      > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > > As an example, if you enter the
      > > > > following
      > > > > > > action
      > > > > > > > > > > (enter
      > > > > > > > > > > > > > > > exactly):
      > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > >
      > > > > > > > > > > > > >
      > > > > > > > > > > > >
      > > > > > > > > > >
      > > > > > > > >
      > > > > > >
      > > > > template:"C:\HeavyWeather\InputTest.htm"
      > > "C:\HeavyWeather\OutputTest.h
      > > > > > > > > > > > > > > > > > > tm"
      > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > > That will use the inputtest.htm
      as the
      > > > > input
      > > > > > > > > file,
      > > > > > > > > > > > > > > > outputtest.htm
      > > > > > > > > > > > > > > > > > as
      > > > > > > > > > > > > > > > > > > the output file. You can change
      the file
      > > > > > > names
      > > > > > > > > and
      > > > > > > > > > > paths
      > > > > > > > > > > > > to
      > > > > > > > > > > > > > > > > > whatever
      > > > > > > > > > > > > > > > > > > you want.
      > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > > Within the inputtest.htm file,
      you can
      > > > > enter
      > > > > > > > > these
      > > > > > > > > > > > > strings,
      > > > > > > > > > > > > > > > they
      > > > > > > > > > > > > > > > > > will
      > > > > > > > > > > > > > > > > > > be replaced with the real weather
      data:
      > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > > %StormAlertActive%
      > > > > > > > > > > > > > > > > > > %LastActualizationTime%
      > > > > > > > > > > > > > > > > > > %PressureFallingAlertActive%
      > > > > > > > > > > > > > > > > > > %PressureRisingAlertActive%
      > > > > > > > > > > > > > > > > > > %IndoorHumidity%
      > > > > > > > > > > > > > > > > > > %IndoorTempDegC%
      > > > > > > > > > > > > > > > > > > %IndoorTempDegF%
      > > > > > > > > > > > > > > > > > > %MetarSkyConditions%
      > > > > > > > > > > > > > > > > > > %MetarWeatherConditions%
      > > > > > > > > > > > > > > > > > > %OutdoorDewpointC%
      > > > > > > > > > > > > > > > > > > %OutdoorDewpointF%
      > > > > > > > > > > > > > > > > > > %OutdoorSnowDepth%
      > > > > > > > > > > > > > > > > > > %OutdoorHumidity%
      > > > > > > > > > > > > > > > > > > %OutdoorPressureAbsoluteHPA%
      > > > > > > > > > > > > > > > > > > %OutdoorPressureAbsoluteINHG%
      > > > > > > > > > > > > > > > > > > %OutdoorPressureRelativeHPA%
      > > > > > > > > > > > > > > > > > > %OutdoorPressureRelativeINHG%
      > > > > > > > > > > > > > > > > > > %OutdoorRain1HrIN%
      > > > > > > > > > > > > > > > > > > %OutdoorRain1HrMM%
      > > > > > > > > > > > > > > > > > > %OutdoorRain24HrIN%
      > > > > > > > > > > > > > > > > > > %OutdoorRain24HrMM%
      > > > > > > > > > > > > > > > > > > %OutdoorDailyRainfallIN%
      > > > > > > > > > > > > > > > > > > %OutdoorDailyRainfallMM%
      > > > > > > > > > > > > > > > > > > %OutdoorRainTotalIN%
      > > > > > > > > > > > > > > > > > > %OutdoorRainTotalMM%
      > > > > > > > > > > > > > > > > > > %OutdoorRainTotalTweakedIN%
      > > > > > > > > > > > > > > > > > > %OutdoorRainTotalTweakedMM%
      > > > > > > > > > > > > > > > > > > %OutdoorRainTotalMonthlyIN%
      > > > > > > > > > > > > > > > > > > %OutdoorRainTotalMonthlyMM%
      > > > > > > > > > > > > > > > > > > %OutdoorRainTotalMonthlyTweakedMM%
      > > > > > > > > > > > > > > > > > > %OutdoorRainTotalMonthlyTweakedIN%
      > > > > > > > > > > > > > > > > > > %OutdoorTempDegC%
      > > > > > > > > > > > > > > > > > > %OutdoorTempDegF%
      > > > > > > > > > > > > > > > > > > %OutdoorWindAverageDirection%
      > > > > > > > > > > > > > > > > > > %OutdoorWindDirectionLetters%
      > > > > > > > > > > > > > > > > > > %OutdoorWindAverageSpeedKMH%
      > > > > > > > > > > > > > > > > > > %OutdoorWindAverageSpeedMPH%
      > > > > > > > > > > > > > > > > > > %OutdoorWindchillC%
      > > > > > > > > > > > > > > > > > > %OutdoorWindchillF%
      > > > > > > > > > > > > > > > > > > %OutdoorWindDirection%
      > > > > > > > > > > > > > > > > > > %OutdoorWindGustSpeedKMH%
      > > > > > > > > > > > > > > > > > > %OutdoorWindGustSpeedMPH%
      > > > > > > > > > > > > > > > > > > %OutdoorWindSpeedKMH%
      > > > > > > > > > > > > > > > > > > %OutdoorWindSpeedMPH%
      > > > > > > > > > > > > > > > > > > %Time%
      > > > > > > > > > > > > > > > > > > %TimeHHMM%
      > > > > > > > > > > > > > > > > > > %EuroDate%
      > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > > --- In
      > > > > > > > > wuhu_software_group@yahoogroups.com, "Tony"
      > > > > > > > > > > > > > <is0hha@>
      > > > > > > > > > > > > > > > > wrote:
      > > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > > > Hello all,
      > > > > > > > > > > > > > > > > > > > i want to create locally an
      HTML File
      > > > > with
      > > > > > > all
      > > > > > > > > > > data
      > > > > > > > > > > > > from
      > > > > > > > > > > > > > > WUHU
      > > > > > > > > > > > > > > > > > (Wind,
      > > > > > > > > > > > > > > > > > > > Temp, etc.) and then update it
      on my
      > > > > > > website
      > > > > > > > > with
      > > > > > > > > > > the
      > > > > > > > > > > > > > > > save2ftp.
      > > > > > > > > > > > > > > > > > > > This html file must be updated
      every
      > > > > > > minute or
      > > > > > > > > > > every 5
      > > > > > > > > > > > > > > > minutes.
      > > > > > > > > > > > > > > > > > > > Can you help me ?
      > > > > > > > > > > > > > > > > > > > Thanks.
      > > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > > >
      > > > > > > > > > > > > > >
      > > > > > > > > > > > > >
      > > > > > > > > > > > > >
      > > > > > > > > > > > > >
      > > > > > > > > > > > > >
      > > > > > > > > > > > > >
      > > > > > > > > > > > > >
      > > > > > > > > > > > > > ---------------------------------
      > > > > > > > > > > > > > Ready for the edge of your seat? Check out
      > > > > tonight's
      > > > > > > top
      > > > > > > > > picks
      > > > > > > > > > > on
      > > > > > > > > > > > > Yahoo! TV.
      > > > > > > > > > > > > >
      > > > > > > > > > > > >
      > > > > > > > > > > >
      > > > > > > > > > >
      > > > > > > > > >
      > > > > > > > >
      > > > > > > >
      > > > > > >
      > > > > >
      > > > >
      > > >
      > >
      >
    • wuhu_software
      John, Sorry, you cannot combine the templates with the web service right now on a single action... I did realize it would be nice to do a mix of actions, web
      Message 36 of 36 , Aug 1 10:43 AM
      • 0 Attachment
        John,

        Sorry, you cannot combine the templates with the web service right
        now on a single action... I did realize it would be nice to do a mix
        of actions, web service, and templates all on a single line. Will
        have to give that some thought. I was thinking maybe prefixing
        actions with action: and webservice with webservice: so that the line
        can be parsed.

        Maybe just specifying a file that contains a list of actions,
        templates, etc might be easier. Something like
        actionlist:c:\actionlist.txt, where each action is on a seperate line
        within the file. In that way, you could mix and match. Hm...

        For now you could play a trick, use the web service on the
        activation, use templates on the deactivation for the update (or vice
        versa). The deactivation action will always happen after the
        activation action.

        As far as the length goes, it should be able to handle at least 1024
        bytes or so. I am not sure if there is a limitation on an edit box or
        not. I would suspect there is but it is hard to say.


        --- In wuhu_software_group@yahoogroups.com, John Liss <john@...>
        wrote:
        >
        > I'm sorry if this has been asked before..
        >
        > Damn WUHU.. you have done it again. TEMPLATES! rock on.
        >
        > Q?
        >
        > In the readme it says:
        >
        > *44) Added templates. Templates will allow you to specify an input
        text
        > file and output text file. When the input file is copied to the
        output
        > file, weather data can be injected in to the output file by using
        the
        > replacement strings (%OutdoorTempDegF% for example). This would
        allow to
        > create .htm files that contain the weather data. You can specify
        > multiple templates per action.*
        >
        > *As an example, say that you specified the following as an Update
        action:*
        >
        >
        *template: "C:\HeavyWeather\InputTest.htm" "C:\HeavyWeather\OutputTest
        .htm"*
        >
        > *You can specify multiple templates like this:*
        >
        > *template:"C:\HeavyWeather\InputTest.htm"
        > "C:\HeavyWeather\OutputTest.htm"
        >
        template:"C:\HeavyWeather\InputTest2.htm" "C:\HeavyWeather\OutputTest2
        .htm"
        > *
        >
        > Question: Can you do
        >
        > http://localhost/collector.aspx?t=%OutdoorTempDegF%&h=%
        IndoorHumidity%
        > template:"C:\HeavyWeather\InputTest.htm"
        > "C:\HeavyWeather\OutputTest.htm"
        >
        template:"C:\HeavyWeather\InputTest2.htm" "C:\HeavyWeather\OutputTest2
        .htm"
        >
        > What is the max length of a line action? My collector.aspx string
        > length alone is pretty long (I'd have to count but I'd guess at
        least
        > 100 chars...)
        >
        >
        > <http://localhost/webservice/collector.aspx?t=31&h=54.2&r=0.00>*
        > * <http://localhost/webservice/collector.aspx?t=31&h=54.2&r=0.00>
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.