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:
OK, here goes... (1997)
WebCat2 - [format thousands] (1997)
Archives are missing (2003)
Need help with emailer- 2 issues (1997)
[WriteFile] problems (1997)
the comparison character \ (2000)
emailer (1997)
Difficult Alternating Problem (2001)
Help name our technology! I found it (1997)
Having trouble installing on Windows XP Pro... (2006)
[OT] XServe OS (2007)
WebCat2 several catalogs? (1997)
grep matching (2003)
Here we go again... (2006)
WebCat2 - Getting to the browser's username/password data (1997)
Running 2 two WebCatalog.acgi's (1996)
carriage returns in data (1997)
Issues with the default db files ... (2003)
GrandTotal not right (1997)
Replacing a Word (1999)