Re: Adding extra coding on the fly?
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 63241
interpreted = N
texte = You could try using [listwords] and using the
as your delimiter to=20=separate the lines. Then you'd have to check each [word] with=20[getchars] to see if the first four characters is . If yes, hack=20off the and tack on to the end. If not, convert the to=20=
(note the proper XHTML syntax for empty tags).The hard part will be figuring out the first and last lines so you=20=can put the tags around them all.------Daryl Mitchell, E-Business SpecialistPW Group Ltd. =B7 Saskatoon, SK CANADATel: (306) 665-3557 =B7 Fax (306) 664-0094d.mitchell@pwgroup.ca =B7 www.pwgroup.caOn Oct 19, 2005, at 2:26 PM, Mark Derrick wrote:> I'm looking to solve a problem I've come across trying to handle data=20=> in an existing database system that we have inherited.>> The field that is causing me the problems, is an almost free form=20> field which allows non-technical users to enter text to be displayed=20=> online.>> To give you an example of the data...>> This is a text field which will be displayed online, below this text=20=> we have a list.> item 1> item 2> item 3> item 4> item 5> And then we will have a footer.>> To allow the data input person to not have to worry about learning any=20=> code, they work to two very basic rules.> "If you want a bullet point, type "> "If you want a new line, just hit return">> To process this data when called, it's run through a custom=20> conversions.db which converts the CR to
, and the is=20> displayed as is.> This actually works OK (within reason), the problem I now have is that=20=> I need to use this database in CSS pages, which means that...> a) I need to add the closing to each bulleted line> b) I need to add
to each line, except those after a =20> otherwise I get double line-spacing>> As this database is still being used, and the data continues to be=20> entered in a basic non-technical way, I'd ideally like to do all this=20=> on the fly.> I've tried using some extra custom conversions.db, but haven't been=20> able to get the result needed.>> Any suggestions?>> Thanks.> Mark.>> -------------------------------------------------------------> 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=20> > Web Archive of this list is at: http://webdna.smithmicro.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:
You could try using [listwords] and using the as your delimiter to=20=separate the lines. Then you'd have to check each [word] with=20[getchars] to see if the first four characters is . If yes, hack=20off the and tack on to the end. If not, convert the to=20=
(note the proper XHTML syntax for empty tags).The hard part will be figuring out the first and last lines so you=20=can put the tags around them all.------Daryl Mitchell, E-Business SpecialistPW Group Ltd. =B7 Saskatoon, SK CANADATel: (306) 665-3557 =B7 Fax (306) 664-0094d.mitchell@pwgroup.ca =B7 www.pwgroup.caOn Oct 19, 2005, at 2:26 PM, Mark Derrick wrote:> I'm looking to solve a problem I've come across trying to handle data=20=> in an existing database system that we have inherited.>> The field that is causing me the problems, is an almost free form=20> field which allows non-technical users to enter text to be displayed=20=> online.>> To give you an example of the data...>> This is a text field which will be displayed online, below this text=20=> we have a list.> item 1> item 2> item 3> item 4> item 5> And then we will have a footer.>> To allow the data input person to not have to worry about learning any=20=> code, they work to two very basic rules.> "If you want a bullet point, type "> "If you want a new line, just hit return">> To process this data when called, it's run through a custom=20> conversions.db which converts the CR to
, and the is=20> displayed as is.> This actually works OK (within reason), the problem I now have is that=20=> I need to use this database in CSS pages, which means that...> a) I need to add the closing to each bulleted line> b) I need to add
to each line, except those after a =20> otherwise I get double line-spacing>> As this database is still being used, and the data continues to be=20> entered in a basic non-technical way, I'd ideally like to do all this=20=> on the fly.> I've tried using some extra custom conversions.db, but haven't been=20> able to get the result needed.>> Any suggestions?>> Thanks.> Mark.>> -------------------------------------------------------------> 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=20> > Web Archive of this list is at: http://webdna.smithmicro.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/
Daryl Mitchell
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:
form data submission gets truncated (1997)
tab as word delimiter (2000)
Include Files (1998)
Erotic Sites (1997)
RE: IIS4b2 and WebCatalog b19 (1997)
WCS Newbie question (1997)
Re[2]: Re[2]: New syntax feedback for 4.0 (2000)
RE: type 2 errors with ssl server (1997)
protect tag on NT IIS (1997)
The code, one more time. (2003)
showif and cart (1997)
Roundup function? (1997)
VeriSign News (2002)
iis 4.0 (1997)
WebCat2 - [format thousands] (1997)
Secure server question (1997)
[WebDNA] [BULK] which of these tags exist in 7.0 (2011)
Configuration Q (1998)
OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998)
WebTen and WebCat (1997)