RE: [WebDNA] Basic Search

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 100090
interpreted = N
texte = Isn't false by default. Mike -----Original Message----- From: Terry Wilson [mailto:terry@terryfic.com]=20 Sent: Tuesday, July 01, 2008 9:46 AM To: talk@webdna.us Subject: RE: [WebDNA] Basic Search In my haste to be the first one with the answer,=20 I forgot to add show=3Df to the math variable.=20 Otherwise, you'll see a string of numbers. So, [math show=3Df]howmany=3D0[/math] and [math = show=3Df]howmany=3Dhowmany +1[/math] Terry >Use counter code in the founditems. The hideif will hide it for the = chosen IP. > >Before everything, put [math]howmany=3D0[/math]. Then, in the = founditems, put > >[math]howmany=3Dhowmany +1[/math] > >Note that for math variables, you don't need the brackets. > >At the end, the filtered results will be neatly added up. > >Terry > > >But then the numfound number will be incorrect. Any other ideas? > >Michael A. DeLorenzo >www.oldecarriage.com > > >From: Charles Kline [mailto:ckline@rightcode.net] >Sent: Tuesday, July 01, 2008 9:21 AM >To: >Subject: Re: [WebDNA] Basic Search > >I'd just filter the results. Just use a hideif. > > >-- >Charles Kline >ckline@rightcode.net >http://www.rightcode.net > >On Jul 1, 2008, at 8:53 AM, "Michael A.=20 >DeLorenzo"=20 ><michael@oldecarriage.com>=20 >wrote: > >Hi all, > >I have not used WebDNA for a while (but damn=20 >glad to be back) and have stumbled into a=20 >roadblock. > >I have a custom log file and I am trying to=20 >summarize the number of hits to a single page=20 >but wish to exclude all the recorded hits from=20 >any ip address beginning with 192. I know I can=20 >do it with math but isn=B9t there an easier way.=20 >Something along the lines of: > >[search db=3DLog.db&eqskudatarq=3D[sku]&neipaddressbw=3D192] > [numfound] >[/search] > >Thanks for any help you may have to offer. > >Mike > > > > >-- >Terry Wilson | terry@terryfic.com | http://terryfic.com >http://WhosComing.com - a simplified, affordable online reservation = system >http://TightJacket.com -- stylish protection for your laptop >------------------------------------------------------------------------= -- >Attitude is the only difference between ordeal and adventure. --=20 Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation = system http://TightJacket.com -- stylish protection for your laptop -------------------------------------------------------------------------= - Attitude is the only difference between ordeal and adventure. Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Basic Search - Fix ("David Bastedo" 2008)
  2. RE: [WebDNA] Basic Search - Fix ("Michael A. DeLorenzo" 2008)
  3. Re: [WebDNA] Basic Search - Fix ("David Bastedo" 2008)
  4. Re: [WebDNA] Basic Search - Fix (Donovan Brooke 2008)
  5. Re: [WebDNA] Basic Search - Fix (Terry Wilson 2008)
  6. RE: [WebDNA] Basic Search (Terry Wilson 2008)
  7. RE: [WebDNA] Basic Search ("Michael A. DeLorenzo" 2008)
  8. RE: [WebDNA] Basic Search (Terry Wilson 2008)
  9. RE: [WebDNA] Basic Search ("Michael A. DeLorenzo" 2008)
  10. RE: [WebDNA] Basic Search ("Michael A. DeLorenzo" 2008)
  11. Re: [WebDNA] Basic Search (Terry Wilson 2008)
  12. RE: [WebDNA] Basic Search (Terry Wilson 2008)
  13. Re: [WebDNA] Basic Search (Alex McCombie 2008)
  14. Re: [WebDNA] Basic Search (Charles Kline 2008)
  15. Re: [WebDNA] Basic Search (Charles Kline 2008)
  16. Re: [WebDNA] Basic Search (Alex McCombie 2008)
  17. RE: [WebDNA] Basic Search (Terry Wilson 2008)
  18. RE: [WebDNA] Basic Search ("Michael A. DeLorenzo" 2008)
  19. Re: [WebDNA] Basic Search (Charles Kline 2008)
Isn't false by default. Mike -----Original Message----- From: Terry Wilson [mailto:terry@terryfic.com]=20 Sent: Tuesday, July 01, 2008 9:46 AM To: talk@webdna.us Subject: RE: [WebDNA] Basic Search In my haste to be the first one with the answer,=20 I forgot to add show=3Df to the math variable.=20 Otherwise, you'll see a string of numbers. So, [math show=3Df]howmany=3D0[/math] and [math = show=3Df]howmany=3Dhowmany +1[/math] Terry >Use counter code in the founditems. The hideif will hide it for the = chosen IP. > >Before everything, put [math]howmany=3D0[/math]. Then, in the = founditems, put > >[math]howmany=3Dhowmany +1[/math] > >Note that for math variables, you don't need the brackets. > >At the end, the filtered results will be neatly added up. > >Terry > > >But then the numfound number will be incorrect. Any other ideas? > >Michael A. DeLorenzo >www.oldecarriage.com > > >From: Charles Kline [mailto:ckline@rightcode.net] >Sent: Tuesday, July 01, 2008 9:21 AM >To: >Subject: Re: [WebDNA] Basic Search > >I'd just filter the results. Just use a hideif. > > >-- >Charles Kline >ckline@rightcode.net >http://www.rightcode.net > >On Jul 1, 2008, at 8:53 AM, "Michael A.=20 >DeLorenzo"=20 ><michael@oldecarriage.com>=20 >wrote: > >Hi all, > >I have not used WebDNA for a while (but damn=20 >glad to be back) and have stumbled into a=20 >roadblock. > >I have a custom log file and I am trying to=20 >summarize the number of hits to a single page=20 >but wish to exclude all the recorded hits from=20 >any ip address beginning with 192. I know I can=20 >do it with math but isn=B9t there an easier way.=20 >Something along the lines of: > >[search db=3DLog.db&eqskudatarq=3D[sku]&neipaddressbw=3D192] > [numfound] >[/search] > >Thanks for any help you may have to offer. > >Mike > > > > >-- >Terry Wilson | terry@terryfic.com | http://terryfic.com >http://WhosComing.com - a simplified, affordable online reservation = system >http://TightJacket.com -- stylish protection for your laptop >------------------------------------------------------------------------= -- >Attitude is the only difference between ordeal and adventure. --=20 Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation = system http://TightJacket.com -- stylish protection for your laptop -------------------------------------------------------------------------= - Attitude is the only difference between ordeal and adventure. "Michael A. DeLorenzo"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Webmerchant confirmation hooks? (1997) Multiple Pulldowns (1997) Cart Number sequence (1997) Not really WebCat - need HTML Grider (1997) Numbers from Sentence (2003) WebCat2 beta 11 - new prefs ... (1997) [replace] has protection feature like [delete]? (2000) WebCatalog for guestbook ? (1997) re:check boxes (1997) Multiple catalog databases and showcart (1997) invoice.tpl (1998) form data submission gets truncated (1997) WebDNA implementation of MD5 algorithm? (2003) Alternating colors (1997) WebCatalog NT beta 18 problem (1997) Webmerchant (2000) extending webcatalog (1997) Auto conversion of URLs? (1998) suffix mapping for NT? (1997) blank page from template (1997)