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:
New Webcatalog for Mac (1997)
Trouble with Showif and Search (1998)
Frames and WebCat (1997)
Searchable list archive (1997)
form data submission gets truncated (1997)
banner ad redirection page (1999)
WebCatalog stalls (1998)
Multiple cart additions (1997)
Close Databases Crash? (1998)
Is this google friendly? (2003)
Grepping a csv (2003)
WebCat Bulletin Board Solution ? (1998)
financial calculation (2000)
Searching and accented chars (1998)
plugin-acgi, different results (1997)
Carts & Refering URLs (1997)
spell check site (2005)
Country & Ship-to address & other fields ? (1997)
the dreaded unitShipCost (2003)
Universal root for WC errors? (1997)