[ic] [loop search=] inside a [page scan=]

Mike Heins mikeh@minivend.com
Fri, 15 Dec 2000 00:21:08 -0500


Quoting Dan (db@cyclonehq.dnsalias.net):
> Thanks again Joachim.  I'm learning a lot, trust me.  I'll run through some
> questions in your e-mail pretty quick, and then I'll provide some more
> information.  This time I'll actually copy and paste the code.  :-)  I would
> be happy for anyone lurking this thread to pipe in with "Read these chapters
> from the docs over and over again: ___, ___, and ___" -- if any docs come to
> mind regarding my current "issue".
> 
> > > > [seti dummy][loop search="st=db/fi=favorites/se=[scratch
> > > user_favorite]/sf=product_sku"][loop-data favorites
> product_sku]|[/loop]nada
> >                                         What is this??? --->      ^
> >                                         A PIPE-Symbol?
> 
> Yes, it's a pipe symbol.  I use the pipe symbol for "OR" type searches
> (possible when using co=yes).  For example, the following works fine:
> 
> [page scan
> fi=products/sp=results/st=db/co=yes/sf=sku/se="771100|10325|10341|10372|5054
> 00-6|97402|770001|nada"]Products that are your favorite type![/page]
> 
> HTML output of the above:
> <a
> href="http://localhost/cgi-bin/ds25/scan/fi=products/sp=results/st=db/co=yes
> /sf=sku/se=%22771100%7c10325%7c10341%7c10372%7c505400%2d6%7c97402%7c770001%7
> cnada%22.html">Products that are your favorite type!</A>
> 
> Which is fine.
> 
> > > > Test: [scratch dummy]<BR>
> > > > and
> > > >
> > > >  [page scan INTERPOLATE=1
> >
> > Oh? Remove "INTERPOLATE=1" and try it again!
> 
> 
> It seems that whether I use interpolate=1 or not, it behaves the same.  But
> I'll try it both ways.  (See below)
> 

FAQ, I am surprised no one got this:

    http://developer.akopia.com/cgi-bin/ic/docfly.html?mv_arg=faq05%2e07

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>

Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer