[ic] feasibility of random components

Aaron Hazelton interchange-users@interchange.redhat.com
Wed Apr 24 12:46:01 2002


> Hi, Ed Lafrance just helped me out with something similar. We 
> made a table
> called list.txt, and in that, made a table of "includes" like:
> 
> include
> file1.txt
> file2.txt
> file3.txt
> 
> Then in a page you can:
> 
> [loop
>           random=1
>           search="
>                   fi=list
>                   st=db
>                   ra=yes
>                   ml=1000
>           "
> ]
> here is the randon result:<br>
> [include file="path/to/random_file/dir/[loop-code]"]
> [/loop]
> 
> In that directory, just put file1.txt, file2.txt....... These 
> txt files
> would include the html that you want to "include". I suppose 
> that this html
> could have a component, like specials.
> 
> ...I suppose.
> 
> 
> Paul

That sounds really good, not to mention easier... THANKS!

Ill post when I have this done for anyone that might like to know...

  _____  

Sincerely,
Aaron Hazelton
>>Hazenet<<
aaron@hazenet.net