Re: Hiding Brands

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57389
interpreted = N
texte = Alan White wrote: >>>Link
>> >>Other than
having an extra slash, it looks fine. ; ) > > > This is for xhtml, you have to close any tags that do not have a closing tag > in this way for it to validate xhtml. Look at your code above. You _do_ have an extra slash in the
tag, just not the one you were thinking it was... > Couple of quick questions:- > > a) What is the pipe symbol for that surrounds [ID]? A delimiter. > b) If the pipe represents an OR control statement then should the parameters > not be surrounded with inverted commas? (my experience of the if then else > in WebDNA) No, it isn't an OR. This is a really old trick. By placing delimiters on both sides of the search term (right side) and between each element of the search (left side), you require the contains '^' operator to match not only the search term, but also the two delimiters on either side. This is so you can prevent substring matches. For example: [hideif |a|ab|abc|abcd|^|[id]|] will not fire if [id] is 'bcd'. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Hiding Brands ( Terry Wilson 2004)
  2. Re: Hiding Brands ( William DeVaul 2004)
  3. Re: Hiding Brands ( Clint Davis 2004)
  4. Re: Hiding Brands ( John Peacock 2004)
  5. Re: Hiding Brands ( Donovan Brooke 2004)
  6. Re: Hiding Brands ( John Peacock 2004)
  7. Re: Hiding Brands ( Donovan Brooke 2004)
  8. Re: Hiding Brands ( John Peacock 2004)
  9. Re: Hiding Brands ( Donovan Brooke 2004)
  10. Re: Hiding Brands ( Alan White 2004)
  11. Re: Hiding Brands ( John Peacock 2004)
  12. Re: Hiding Brands ( Alan White 2004)
  13. Re: Hiding Brands ( John Peacock 2004)
  14. Re: Hiding Brands ( Donovan Brooke 2004)
  15. Re: Hiding Brands ( Rob Marquardt 2004)
  16. Hiding Brands ( Alan White 2004)
Alan White wrote: >>>Link
>> >>Other than
having an extra slash, it looks fine. ; ) > > > This is for xhtml, you have to close any tags that do not have a closing tag > in this way for it to validate xhtml. Look at your code above. You _do_ have an extra slash in the
tag, just not the one you were thinking it was... > Couple of quick questions:- > > a) What is the pipe symbol for that surrounds [ID]? A delimiter. > b) If the pipe represents an OR control statement then should the parameters > not be surrounded with inverted commas? (my experience of the if then else > in WebDNA) No, it isn't an OR. This is a really old trick. By placing delimiters on both sides of the search term (right side) and between each element of the search (left side), you require the contains '^' operator to match not only the search term, but also the two delimiters on either side. This is so you can prevent substring matches. For example: [hideif |a|ab|abc|abcd|^|[id]|] will not fire if [id] is 'bcd'. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ John Peacock

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:

Online reference (1997) server not running. (2003) A new perspective ... (2005) Make sure I understand this??? (1997) Help with Shipping Costs (1997) WebCat2b12--[searchstring] bug (1997) Hard Questions ? (1997) RAM variables (1997) Date Formats (1997) Emailer... DOA but still twitching (2007) searchable list archive (1997) (1998) Putting Foundvariables within search. (2000) Conditional searching & displaying (1997) Generating unique SKU from [cart] (1997) I found a bug ... (1997) More Applescript (1997) Web Catalog 2 demo (1997) Scoping rules in WebDNA 4.0 (2000) WebCat on Alpha? (1997)