Re: Hiding Brands
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57390
interpreted = N
texte = on 4/16/04 4:49 PM, John Peacock at jpeacock@rowman.com wrote:> 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...errrr..... Woops ;-) > >> Couple of quick questions:->> >> a) What is the pipe symbol for that surrounds [ID]?> > A delimiter.Okay... Thought so but just wanted to check why it was there...> >> 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> > JohnThankyou very much everyone, I now have another nifty snippet for mytoolbox.Maybe someone could add something to the interactive docs as a referencepoint for other users????Alan-------------------------------------------------------------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:
on 4/16/04 4:49 PM, John Peacock at jpeacock@rowman.com wrote:> 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...errrr..... Woops ;-) > >> Couple of quick questions:->> >> a) What is the pipe symbol for that surrounds [ID]?> > A delimiter.Okay... Thought so but just wanted to check why it was there...> >> 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> > JohnThankyou very much everyone, I now have another nifty snippet for mytoolbox.Maybe someone could add something to the interactive docs as a referencepoint for other users????Alan-------------------------------------------------------------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/
Alan White
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:
Re:2nd WebCatalog2 Feature Request (1996)
[WebDNA] sem_open bugfix for os x version 6.2 (2012)
Error: this shopping cart has already been submitted and (2006)
on/off values (2000)
migrating from MacOS to unix [drifting off-topic] (2000)
covertchars db to keep CR's, but not new ones (2002)
[WebDNA] Searching Possible Bug (2009)
[/application] error? (1997)
Frames and WebCat (1997)
WebCat2 several catalogs? (1997)
Re[2]: Enhancement Request for WebCatalog-NT (1996)
Applescript error (1998)
converting characters in form (1997)
[format xs] freeze (1997)
RE: Nesting [ListFiles] (1998)
WebMerchant and PCAuthorize (1998)
webcat 2.1 new cart fields - please explain more (1998)
Replace context problem ... (1997)
Navigator 4.01 (1997)
b18 problem on NT 4.0 (1997)