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'.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 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:
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'.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 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)