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:

[ShowNext] (1997) [FoundItems] solved - thanks (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Modifying order output (1997) Problems with Price field (1997) AUTONUMBER (2003) Summary Searches (2000) More on the email templates (1997) Emailed problem (2000) I give up!! (1997) Searching using numbers (1998) HomePage Caution (1997) Trouble with carts (2000) Separate SSL Server (1997) Large databases in WebCat (1997) Inventory Adjustment (2000) multi-paragraph fields (1997) Line items in table cells (1997) no global [username] or [password] displayed ... (1997) Feature Request: Autonumber adendum (2004)