Re: how to allow only *some* html in a db field

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45692
interpreted = N
texte = Can you do something like this?[showif messagecreator=Dale][text]thedb=db=dalesconversions.db[/text][/showif] [convertchars [thedb]][ConvertWords db=/dbs/icons.db][content][/ConvertWords] [/ConvertChars]and don't screw with the < and > in your custom conversions... ?- brianAt 4:01 PM 11/24/2002, dale's stuff wrote: >webcat 4.0.2 >RH linux 7.2 > >Hi all, > >I have a site where users can post messages that are publically >viewable. Using the default [convertchars] any html they may happen >to enter is simply displayed as text (which is the way I prefer it). > >e.g. [ConvertChars][ConvertWords db=/dbs/icons.db][content][/ConvertWords] >[/ConvertChars] > >However, I want to do something with [ConvertWords] on those same >fields which should allow the html to be interpreted. So how do I >let my cases of html be allowed, yet user entered html be disallowed? > >For my html, it will basically be some http:// links and images. > >Thanks for any suggestions. > >Dale-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com =>------------------------------------------------------------- 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: how to allow only *some* html in a db field (dale's stuff 2002)
  2. Re: how to allow only *some* html in a db field (Brian Fries 2002)
  3. how to allow only *some* html in a db field (dale's stuff 2002)
Can you do something like this?[showif messagecreator=Dale][text]thedb=db=dalesconversions.db[/text][/showif] [convertchars [thedb]][ConvertWords db=/dbs/icons.db][content][/ConvertWords] [/ConvertChars]and don't screw with the < and > in your custom conversions... ?- brianAt 4:01 PM 11/24/2002, dale's stuff wrote: >webcat 4.0.2 >RH linux 7.2 > >Hi all, > >I have a site where users can post messages that are publically >viewable. Using the default [convertchars] any html they may happen >to enter is simply displayed as text (which is the way I prefer it). > >e.g. [convertchars][ConvertWords db=/dbs/icons.db][content][/ConvertWords] >[/ConvertChars] > >However, I want to do something with [convertwords] on those same >fields which should allow the html to be interpreted. So how do I >let my cases of html be allowed, yet user entered html be disallowed? > >For my html, it will basically be some http:// links and images. > >Thanks for any suggestions. > >Dale-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com =>------------------------------------------------------------- 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/ Brian Fries

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:

Search in 2 or more catalogs (1997) read and write you own cookies with webcat (1997) Field names beginning with Reg.. (2002) Bug Report, maybe (1997) Shopping Cart Page (1997) WebCat is different user (1999) [WebDNA] windows ssh client? (2009) Open source store builder (Merchant Maker?) (2003) splitting numbers in webDNA? (1997) WebCat2b12plugin - [search] is broken ... not! (1997) WebCat editing, SiteGuard & SiteEdit (1997) RE: Multiple Stores and WebCatalog Prefs (1997) ShowNext and random sort (1998) View Source from cache (1997) hmmm (2006) Add a field to the error log? (1997) Help name our technology! (1997) Bug or syntax error on my part? (1997) Emailer (1997) WebCatalog 4.0.1b1 is now available (2000)