Re: When to use [convertchars] ?!?!?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32766
interpreted = N
texte = > > [convertchars] works excellent in one scenario...> > If I append the [paragraph] to a database:> > ¶graph=[convertchars][paragraph][/convertchars]>> no, use-> ¶graph=[url][paragraph][/url]> to get it into your dbOk, but it works with [convertchars][paragraph][/convertchars] too.> > But! When sending the form variables to a [writefile] context.> >> > [writefile news.htm]> > [convertchars][paragraph] goes here.[/convertchars]> > [/writefile]>> take off the [convertchars] here>> [convertchars] is only for displaying to the final end user -> within the HTML itself.> (so that for example a ® (I mean the reg. symbol i.e.> 'option=R') shows right even> in old browsers that need ® - or whatever the ISO code is)Either way...with or without [convertchars] in the [writefile] context...theresult is the same. Carriage returns are not being converted. I didhowever find another solution...but I'm not sure how safe it is.I append the form variables to the database as before. Then, instead ofposting variables directly to the [writefile] context, I pull them from thedatabase. So, instead of:[writefile news.htm][convertchars][paragraph] goes here.[/convertchars][/writefile]I would use the following:[append db=blah, blah, blah]paragraph=[url][paragraph][/url][/append][writefile news.htm][search db=blah, blah, blah][founditems][convertchars][paragraph] goes here.[/convertchars][/founditems][/search][/writefile]This gives me the result I want, but I'm worried about stability, due to thefact that the information is being appended to the database, then pulledback out for the [writefile] almost simultaneously. Could this causeproblems?-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
> > [convertchars] works excellent in one scenario...> > If I append the [paragraph] to a database:> > ¶graph=[convertchars][paragraph][/convertchars]>> no, use-> ¶graph=[url][paragraph][/url]> to get it into your dbOk, but it works with [convertchars][paragraph][/convertchars] too.> > But! When sending the form variables to a [writefile] context.> >> > [writefile news.htm]> > [convertchars][paragraph] goes here.[/convertchars]> > [/writefile]>> take off the [convertchars] here>> [convertchars] is only for displaying to the final end user -> within the HTML itself.> (so that for example a ® (I mean the reg. symbol i.e.> 'option=R') shows right even> in old browsers that need ® - or whatever the ISO code is)Either way...with or without [convertchars] in the [writefile] context...theresult is the same. Carriage returns are not being converted. I didhowever find another solution...but I'm not sure how safe it is.I append the form variables to the database as before. Then, instead ofposting variables directly to the [writefile] context, I pull them from thedatabase. So, instead of:[writefile news.htm][convertchars][paragraph] goes here.[/convertchars][/writefile]I would use the following:[append db=blah, blah, blah]paragraph=[url][paragraph][/url][/append][writefile news.htm][search db=blah, blah, blah][founditems][convertchars][paragraph] goes here.[/convertchars][/founditems][/search][/writefile]This gives me the result I want, but I'm worried about stability, due to thefact that the information is being appended to the database, then pulledback out for the [writefile] almost simultaneously. Could this causeproblems?-------------------------------------------------------------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://search.smithmicro.com/
Kim Ingram
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:
Shipping Costs Not Updating When Adding Items (1997)
f2 download problems (1997)
shipCost not working v2.1b4 (1997)
RE: Error: template (1997)
Pipes instead of tabs (1998)
Help formatting search results w/ table (1997)
calculating tax rates, mail order solutions and version 2 (1997)
completed orders database (1997)
Bad Words Filter (2005)
[shownext] and descending order (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
Re:no [search] with NT (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Security for malls with different webmasters (1998)
Questions To Answer (1997)
WebCat 4.51 on Fedora Core 1 (2004)
SAT test (2004)
A Couple Photos from the SmithMicro Booth at MacWorld (2000)
matching shipto and others (1998)
Nesting format tags (1997)