According to Nektarios Papadakakis:
>>First of all congratulations for the great work.
>I� am a new user of Htdig. I� am using it at the University of Crete,
>Greece.
>
>I wonder if there is any way to force htsearch to make computations with
>variables. I would like to use $(PERCENT) and also 100 - $(PERCENT) to
>draw an image.

If you want it to draw an image dynamically (e.g. using a PHP or Perl
script) this computation can be included in the PHP or CGI script that
produces the graphics (what is what I did at our site).

If you need static images, you can also "precompute" the percentages
by assigning the proper names to the graphics.  To get the reverse
image values you can copy the images, symlink them or have a virtual
images directory "/reverse" which is actually a script (you can set
this up with Apache's ForceType directive) redirecting to other URLs
or be using some URL rewriting rules on your server.

You see, ht://Dig does not need to do any computation for this ;-)


cheers,
  Torsten

--
InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
Waldhofstra�e 14                            Tel: +49-4101-403605
D-25474 Ellerbek                            Fax: +49-4101-403606
E-Mail: [EMAIL PROTECTED]            Internet: http://www.inwise.de

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word unsubscribe in
the SUBJECT of the message.

Reply via email to