2.2 Usage - Edit Site Window

This window opens when you create a new site in the Site List Window, or edit an existing one. Changes are not commited until you press the Ok button. When you do commit the changes, they will be reflected immediatedly by the associated cam window if it is open.


2.21 Basic options


2.22 Advanced HTTP


2.23 Autosave

  • Enable autosave allows you to save all the images with a unique name, formatted any way you like it.

    For novice users, simple click the "Enable" checkmark and set the directory to where you want the images saved. The directory doesn't have to exist, WebVision will create it for you.

  • Directory - advanced users will probably want to customize the format of the directory and the filename.

    Some examples are provided here to give you the general idea first. Imagine that a webcam is configured with name "ExampleCam", Image URL "http://www.webcam.com/path/pic.jpg", directory "RAM:" and filename format "&n-%H.%M.%S.&x" (the default).

    This will result in filenames like the following:

      RAM:ExampleCam-10.31.42.jpg
      RAM:ExampleCam-10.32.35.jpg
      RAM:ExampleCam-10.35.10.jpg
      etc.
    

    Another example, same Image URL, but directory set to "CamImages:%Y.%m.%d" and filename set to "%H.%M.%S-&F.&x". This gives you these names:

      CamImages:1998.12.13/10.31.42-pic.jpg
      CamImages:1998.12.13/10.32.35-pic.jpg
      CamImages:1998.12.13/10.35.10-pic.jpg
      etc.
    

    Here is the complete list of time and date codes supported. Note that some of these doesn't make sense for WebVision because they include characters illegal in filenames.

      %a - abbreviated weekday name
      %A - weekday name
      %b - abbreviated month name
      %B - month name
      %c - same as "%a %b %d %H:%M:%S %Y"
      %C - same as "%a %b %e %T %Z %Y"
      %d - day number with leading 0s
      %D - same as "%m/%d/%y"
      %e - day number with leading spaces
      %h - abbreviated month name
      %H - hour using 24-hour style with leading 0s
      %I - hour using 12-hour style with leading 0s
      %j - julian date
      %m - month number with leading 0s
      %M - the number of minutes with leading 0s
      %n - insert a linefeed
      %p - AM or PM strings
      %q - hour using 24-hour style
      %Q - hour using 12-hour style
      %r - same as "%I:%M:%S %p"
      %R - same as "%H:%M"
      %S - number of seconds with leadings 0s
      %t - insert a tab character
      %T - same as "%H:%M:%S"
      %U - week number, taking Sunday as first day of week
      %w - weekday number
      %W - week number, taking Monday as first day of week
      %x - same as "%m/%d/%y"
      %X - same as "%H:%M:%S"
      %y - year using two digits with leading 0s
      %Y - year using four digits with leading 0s
    

    The following formatting codes are the ones provided internally by WebVision. They all relate to the attributes of the camsite. To explain how the URL is split up, example parsing for the "http://www.webcam.com/path/pic.jpg" URL is displayed in parentheses.

      &n - name
      &c - comment
      &h - complete homepage url
      &i - complete image url
      &s - server ("www.webcam.com")
      &p - port ("80")
      &a - filename with complete path ("/path/pic.jpg")
      &f - filename only with extension ("pic.jpg")
      &F - filename only without extension ("pic")
      &x - filename extension ("jpg")
      &e - enumeration (see below)
    

    The last one is a special formatting code. It allows you to make filenames like "pic.0000", "pic.0001", etc. When saving the first picture, WebVision will scan the save directory for the highest numbered file and continue enumeration from there. It may only appear once, and only in the filename string. All other formatting codes can be used for both directory, filename and comment strings.