[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Time-build


> Yep - in the above example it should try to write a file named after the
> page in which the code was first called, in a subdirectory of your catalog
> roote named 'timed'.

Does it expand around multiple lines very well?  For example:

[timed-build period="1 hour"]
<FORM ACTION="[area search]" METHOD="POST">
        <INPUT TYPE="hidden" NAME="sf" VALUE="vendor">
        <SELECT NAME="se" WIDTH="20">
        [query sql="SELECT DISTINCT vendor FROM products ORDER BY vendor"
list=1]
          <option value="[sql-param vendor]" selected>[sql-filter
20.][sql-param vendor][/sql-filter]</option>
        [/query]&nbsp;<input type=submit value="Go!">
          </SELECT>
      </FORM>
[/timed-build]


The above code will extract a list of unique vendor names from the products
table.  Surrounding it as I have should mean that it only executes this code
once an hour and extracts it from timed\whatever the rest of the time.
Correct?

Regards, Ade.

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.