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 =wantto get too long-winded here :-)The [convertchars] uses the =91StandardConversions.db=92 that can be =found in yourengine directory.. you can see what it does there.=20A basic way to look at it is, if you want to allow HTML, don=92t use =convertchars. If you only wanttext and "legal HTML characters" to display, use it. If you want to =allow certain HTML only, you may have to=20creative.=20=46rom there, the sky is the limit. I have made a =91decode=92 (Donovan =Brooke) code library formy forum whereby I don=92t allow HTML in form inputs (via URL=92ing, =then Convertcharing for display).. butthen 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 usefulin these things:[grep][convertchars db=3D][convertwords db=3D][getchars][listwords..] etc=85(see "text Manipulation", at:http://docs.webdna.us/MajorGroups.html)DonovanOn 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:
Hi Stephen,One can employ any number of techniques to convert text=85 so I don=92t =wantto get too long-winded here :-)The [convertchars] uses the =91StandardConversions.db=92 that can be =found in yourengine directory.. you can see what it does there.=20A basic way to look at it is, if you want to allow HTML, don=92t use =convertchars. If you only wanttext and "legal HTML characters" to display, use it. If you want to =allow certain HTML only, you may have to=20creative.=20=46rom there, the sky is the limit. I have made a =91decode=92 (Donovan =Brooke) code library formy forum whereby I don=92t allow HTML in form inputs (via URL=92ing, =then Convertcharing for display).. butthen 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 usefulin these things:[grep][convertchars db=3D][convertwords db=3D][getchars][listwords..] etc=85(see "text Manipulation", at:http://docs.webdna.us/MajorGroups.html)DonovanOn 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)