Re: Adding extra coding on the fly?
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 63245
interpreted = N
texte = I currently convert %0B to
This works great for regular text only fields, and is handy for the in-putters to not have to worry about adding
every time.It also actually works pretty well with
too, apart from when I need to use in a CSS page, where it then adds an extra line between each list item.That grep looks pretty handy - I'll give it a go.Thanks.Mark.On 20 Oct 2005, at 01:40, William DeVaul wrote:> Part of the problem is that I can't tell what the characters are > that you convert to BR. You may be able to continue to leave that > to the convertchars.>> This will at least add the but assumes a line break after > each bullet marker:>> [grep search=
([^%0D%0A%0B]*)&replace=\1][theTEXT][/grep]>>> On Oct 19, 2005, at 4:26 PM, Mark Derrick wrote:>>>> I'm looking to solve a problem I've come across trying to handle >> data in an existing database system that we have inherited.>>>> The field that is causing me the problems, is an almost free form >> field which allows non-technical users to enter text to be >> displayed online.>>>> To give you an example of the data...>>>> This is a text field which will be displayed online, below this >> text 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 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 >> conversions.db which converts the CR to
, and the is >> displayed as is.>> This actually works OK (within reason), the problem I now have is >> that 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
>> otherwise I get double line-spacing>>>> As this database is still being used, and the data continues to be >> entered in a basic non-technical way, I'd ideally like to do all >> this on the fly.>> I've tried using some extra custom conversions.db, but haven't >> been 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 > digest@talk.smithmicro.com>>> 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 digest@talk.smithmicro.com>> 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:
I currently convert %0B to
This works great for regular text only fields, and is handy for the in-putters to not have to worry about adding
every time.It also actually works pretty well with too, apart from when I need to use in a CSS page, where it then adds an extra line between each list item.That grep looks pretty handy - I'll give it a go.Thanks.Mark.On 20 Oct 2005, at 01:40, William DeVaul wrote:> Part of the problem is that I can't tell what the characters are > that you convert to BR. You may be able to continue to leave that > to the convertchars.>> This will at least add the but assumes a line break after > each bullet marker:>> [grep search=([^%0D%0A%0B]*)&replace=\1][theTEXT][/grep]>>> On Oct 19, 2005, at 4:26 PM, Mark Derrick wrote:>>>> I'm looking to solve a problem I've come across trying to handle >> data in an existing database system that we have inherited.>>>> The field that is causing me the problems, is an almost free form >> field which allows non-technical users to enter text to be >> displayed online.>>>> To give you an example of the data...>>>> This is a text field which will be displayed online, below this >> text 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 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 >> conversions.db which converts the CR to
, and the is >> displayed as is.>> This actually works OK (within reason), the problem I now have is >> that 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 >> otherwise I get double line-spacing>>>> As this database is still being used, and the data continues to be >> entered in a basic non-technical way, I'd ideally like to do all >> this on the fly.>> I've tried using some extra custom conversions.db, but haven't >> been 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 > digest@talk.smithmicro.com>>> 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 digest@talk.smithmicro.com>> 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/
Mark Derrick
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:
listcookies works only sometimes (1997)
Wake up! :-) (2004)
For Grant: Webcatalog 4.0 - When will we be able to betatest it? (2000)
Migrating to NT -Reply (1997)
template includes encrypted template (1999)
Fields font size (2003)
[BULK] [WebDNA] abstraction code can be tricky... (2012)
[WebDNA] WebDNA and PHP cohabitating? (2009)
Re:E-Mailer (WebCatb15acgiMac) (1997)
WebCat2.0 [format thousands .0f] no go (1997)
OT Weird Messenger Service message (2002)
Webcat no longer supported? (2006)
Force leading zeros (1998)
Protect (1997)
WebTEN vs webSTAR (1998)
lunch20.com (2006)
OT: Prevent Caching js Files (2003)
WebCatalog for Postcards ? (1997)
Multiple catalog databases and showcart (1997)
Reversed words (1997)