Re: [WebDNA] multi hyperlinks in text paragraphs

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111711
interpreted = N
texte = Hi Stephen, One can employ any number of techniques to convert text=85 so I don=92t = want to get too long-winded here :-) The [convertchars] uses the =91StandardConversions.db=92 that can be = found in your engine directory.. you can see what it does there.=20 A basic way to look at it is, if you want to allow HTML, don=92t use = convertchars. If you only want text and "legal HTML characters" to display, use it. If you want to = allow certain HTML only, you may have to=20 creative.=20 =46rom there, the sky is the limit. I have made a =91decode=92 (Donovan = Brooke) code library for my forum whereby I don=92t allow HTML in form inputs (via URL=92ing, = then Convertcharing for display).. but then I convert certain symbols to then convert into =93Donovan=92s legal = HTML=94. It may take some playing around to get to what you want, but all the = text manipulation tools are useful in these things: [grep] [convertchars db=3D] [convertwords db=3D] [getchars] [listwords..] etc=85 (see "text Manipulation", at: http://docs.webdna.us/MajorGroups.html ) Donovan On Dec 6, 2014, at 3:09 PM, Steve Braun wrote: > Thanks Donovan, that worked, but what's the long answer? > Because now I need to teach my users to type
when they want a = CR, etc... >=20 > Thanks, > sfb >=20 >=20 > Stephen F Braun > sbraun1@twcny.rr.com >=20 > On Sat, Dec 6, 2014 at 12:14 PM, Donovan Brooke = wrote: > Hi Steven, short answer.. > Take out the convertchars=20 >=20 > D. Brooke Mobile >=20 > On Dec 6, 2014, at 11:00 AM, Steve Braun wrote: >=20 >> Hi All, >> I could use a little help. >>=20 >> I'm trying to insert multiple hyperlinks into a paragraph of text = that is read from a database. >>=20 >> The text is entered by the user into the database from a HTML form = like this: >> blah blah blah www.domain1.com = blah blah blah blah www.domain2.com blah blah blah www.domain3.com blah blah blah.=20 >>=20 >> The text is provided to the public in a template page that should = look like this: >> blah blah blah www.domain1.com blah blah blah blah www.domain2.com = blah blah blah www.domain3.com blah blah blah.=20 >>=20 >> But, No. I get the text exactly as entered: >> blah blah blah www.domain1.com = blah blah blah blah www.domain2.com blah blah blah www.domain3.com blah blah blah.=20 >>=20 >> How do I get the HTML parts of the code to function, instead of being = interpreted as text? >>=20 >> I am using [url]...[/url] in the [append] tag. >> I am using [convertchars]...[/convertchars] in the template page >>=20 >> I've been playing with the [convertwords db=3Dglossary.db] examples = shown in the docs, but I can't even get that to work. >> Any insight into how this might be done would be appreciated. >>=20 >> Thank you, >>=20 >> Stephen F Braun >> sbraun1@twcny.rr.com >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] multi hyperlinks in text paragraphs (Steve Braun 2014)
  2. Re: [WebDNA] multi hyperlinks in text paragraphs (Stuart Tremain 2014)
  3. Re: [WebDNA] multi hyperlinks in text paragraphs (Terry Wilson 2014)
  4. Re: [WebDNA] multi hyperlinks in text paragraphs (Steve Braun 2014)
  5. Re: [WebDNA] multi hyperlinks in text paragraphs (Terry Wilson 2014)
  6. Re: [WebDNA] multi hyperlinks in text paragraphs (Steve Braun 2014)
  7. Re: [WebDNA] multi hyperlinks in text paragraphs (Terry Wilson 2014)
  8. Re: [WebDNA] multi hyperlinks in text paragraphs (Terry Wilson 2014)
  9. Re: [WebDNA] multi hyperlinks in text paragraphs (Kenneth Grome 2014)
  10. Re: [WebDNA] multi hyperlinks in text paragraphs (Steve Braun 2014)
  11. Re: [WebDNA] multi hyperlinks in text paragraphs (Terry Wilson 2014)
  12. Re: [WebDNA] multi hyperlinks in text paragraphs (Donovan Brooke 2014)
  13. Re: [WebDNA] multi hyperlinks in text paragraphs (Steve Braun 2014)
  14. Re: [WebDNA] multi hyperlinks in text paragraphs (Donovan Brooke 2014)
  15. [WebDNA] multi hyperlinks in text paragraphs (Steve Braun 2014)
Hi Stephen, One can employ any number of techniques to convert text=85 so I don=92t = want to get too long-winded here :-) The [convertchars] uses the =91StandardConversions.db=92 that can be = found in your engine directory.. you can see what it does there.=20 A basic way to look at it is, if you want to allow HTML, don=92t use = convertchars. If you only want text and "legal HTML characters" to display, use it. If you want to = allow certain HTML only, you may have to=20 creative.=20 =46rom there, the sky is the limit. I have made a =91decode=92 (Donovan = Brooke) code library for my forum whereby I don=92t allow HTML in form inputs (via URL=92ing, = then Convertcharing for display).. but then I convert certain symbols to then convert into =93Donovan=92s legal = HTML=94. It may take some playing around to get to what you want, but all the = text manipulation tools are useful in these things: [grep] [convertchars db=3D] [convertwords db=3D] [getchars] [listwords..] etc=85 (see "text Manipulation", at: http://docs.webdna.us/MajorGroups.html ) Donovan On Dec 6, 2014, at 3:09 PM, Steve Braun wrote: > Thanks Donovan, that worked, but what's the long answer? > Because now I need to teach my users to type
when they want a = CR, etc... >=20 > Thanks, > sfb >=20 >=20 > Stephen F Braun > sbraun1@twcny.rr.com >=20 > On Sat, Dec 6, 2014 at 12:14 PM, Donovan Brooke = wrote: > Hi Steven, short answer.. > Take out the convertchars=20 >=20 > D. Brooke Mobile >=20 > On Dec 6, 2014, at 11:00 AM, Steve Braun wrote: >=20 >> Hi All, >> I could use a little help. >>=20 >> I'm trying to insert multiple hyperlinks into a paragraph of text = that is read from a database. >>=20 >> The text is entered by the user into the database from a HTML form = like this: >> blah blah blah www.domain1.com = blah blah blah blah www.domain2.com blah blah blah www.domain3.com blah blah blah.=20 >>=20 >> The text is provided to the public in a template page that should = look like this: >> blah blah blah www.domain1.com blah blah blah blah www.domain2.com = blah blah blah www.domain3.com blah blah blah.=20 >>=20 >> But, No. I get the text exactly as entered: >> blah blah blah www.domain1.com = blah blah blah blah www.domain2.com blah blah blah www.domain3.com blah blah blah.=20 >>=20 >> How do I get the HTML parts of the code to function, instead of being = interpreted as text? >>=20 >> I am using [url]...[/url] in the [append] tag. >> I am using [convertchars]...[/convertchars] in the template page >>=20 >> I've been playing with the [convertwords db=3Dglossary.db] examples = shown in the docs, but I can't even get that to work. >> Any insight into how this might be done would be appreciated. >>=20 >> Thank you, >>=20 >> Stephen F Braun >> sbraun1@twcny.rr.com >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us Donovan Brooke

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:

Press Release hit the NewsWire!!! (1997) Greater then less then (2001) Test, please ignore (2004) Country & Ship-to address & other fields ? (1997) Emailer port change (1997) [OT] Who's got a cool link (2002) Email...Thanks (1997) Stumpted Again (1997) triggers.db (1999) Text Variabels Not Passed To Include (2002) Emailer... DOA but still twitching (2007) Hiding HTML and page breaks (1997) WCS Newbie question (1997) Search inside Include (1998) New Command prefs ... (1997) WC2f3 (1997) Multiple catalog databases and showcart (1997) Showif, Hideif reverse logic ? (1997) possible, WebCat2.0 and checkboxes-restated (1997) [WebDNA] find missing file in [listfiles] (2019)