MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Randomly pick a product




In some cases we do it on a per page request basis but generally
use cached files instead.

So you could do:

[file name=adfadf]  # I forget, is it [file or [include?  See manual

and generate the contents of "adfadf" by another process perhaps on
cron or triggered otherwise.

On Windows you might rebuild "adfadf" at reboot.  ;^>

cfm


On Sat, Oct 23, 1999 at 08:34:27AM -0400, Handytman@aol.com wrote:
> ******    message to minivend-users from Handytman@aol.com     ******
> 
> I need to pick a product, at random, from an ever-changing  'products.asc,' 
> for display on the initial catalog page. Therefore, using the random tags 
> seems inappropriate. Counting through all the items in 'products.asc' seems 
> too time-consuming for the server. Has anybody accomplished this? Care to 
> pass on some perls of wisdom?
> 
> Much appreciated,
> Rob Maurer
> -
> To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list

-- 

Christopher F. Miller, Publisher                             cfm@maine.com
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.


Search for: Match: Format: Sort by: