What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] multi hyperlinks in text paragraphs

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111729
interpreted = N
texte = --Apple-Mail=_6B9441D6-A29E-4F3D-8C0D-DE307BD99BC5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Try using [convertwords] Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 8 Dec 2014, at 8:24 am, Steve Braun wrote: >=20 > I can't get convertchars it to work. It doesn't return the = desired character. > Everything that I have is in the same 'root' directory that I can ftp = into. > Which is why I am asking about the path that convertchars is looking = for. >=20 > [convertchars db=3Dlistofchars.db]testing[/convertchars] >=20 > > from to > e x >=20 > result=3Dtsting >=20 > Another odd thing is, that I can't even get [convertchars] to work = when I copy & paste the example right out of the docs into the same = template... > =46rom the docs=3D > ---[text]alphabet=3Dabcdefghijklmnopqrstuvwxyz[/text] >=20 > [table name=3Dt1&fields=3Dfrom,to] > [listchars chars=3D[alphabet]] > [char] [index] > [/listchars] > [/table],,, >=20 > [convertchars table=3Dt1]this is your text[/convertchars] >=20 > I add the text --- before and I add the text ,,, after so that I can = see the result, and my result is --- ,,, > It's like the convertchars sees the 'from' character, and deletes it, = but doesn't replace the 'to' character. >=20 > Really odd. Any ideas >=20 > Thanks again, > sfb >=20 >=20 > Stephen F Braun > sbraun1@twcny.rr.com >=20 > On Sun, Dec 7, 2014 at 1:49 PM, Terry Wilson > wrote: > Use the same logic as when you specify a db for a search context. >=20 > Terry >=20 > Sent from my iPad >=20 > On Dec 7, 2014, at 9:48 AM, Steve Braun > wrote: >=20 >> Ken, Thank you for that info, but I think that you misunderstood my = question. >>=20 >> I don't know the current path that [convertchars] uses to find the = StandardConversions.db from my template file,=20 >> So how do I find write a new path for [convertchars] to find a = different.db in my local directory? >>=20 >> Thanks again, >> sfb >>=20 >>=20 >> Stephen F Braun >> sbraun1@twcny.rr.com >>=20 >> On Sun, Dec 7, 2014 at 12:45 PM, Braun, Stephen > wrote: >> Ken, Thank you for that info, but I think that you misunderstood my = question. >>=20 >> I don't know the current path that [convertchars] uses to find the = StandardConversions.db from my template file,=20 >> So how do I find write a new path for [convertchars] to find a = different.db in my local directory? >>=20 >> Thanks again, >> sfb >>=20 >> Stephen Braun / Theatre Manager >> Robinson-Faust Theatre of the Performing Arts / Oswego High School=20 >> Two Buccaneer Blvd. / Oswego, NY 13126 >> 315.341.2265 >> sbraun@oswego.org / = http://faust.oswego.org >>=20 >> On Sun, Dec 7, 2014 at 11:46 AM, Terry Wilson > wrote: >> That path would look just like a path to a db in a search, replace, = append, include ( see my previous response). Put the file anywhere that = makes sense to you. If you don't know what the StandardConversions.db = looks like, I can email it when I get off my iPad and am at my computer. >>=20 >> Terry >>=20 >> Sent from my iPad >>=20 >> On Dec 7, 2014, at 7:43 AM, Steve Braun > wrote: >>=20 >>> Terry, this is a good idea, but I'm not hosting, therefor I do no = have access to the StandardConversions.db. No ftp access to that file = location. >>>=20 >>> For now I'm going to do as Donovan suggests, lose the convertchars = and use the grep to replace the CR as needed. >>> I don't expect any other characters to be entered into the input = form. >>>=20 >>> Thanks for all the help. >>>=20 >>> New Q: The docs say that I can build my own specified .db for = convertchars. =20 >>> What would that path look like to my local directory = instead of the path to the StandardConversions.db. ? >>>=20 >>> Thanks again >>> sfb >>>=20 >>>=20 >>>=20 >>> Stephen F Braun >>> sbraun1@twcny.rr.com >>>=20 >>> On Sun, Dec 7, 2014 at 1:12 AM, Terry Wilson > wrote: >>> This is actually painfully simple. I like to do the same thing and = fixed this back in the beginning. Just edit the StandardConversions.db = by removing the 2 records for < and > >>>=20 >>> Done and done. Keep using convertchars. Also, feel free to add more = entries to the StandardConversions.db as needed. >>>=20 >>> Terry >>>=20 >>> On Dec 6, 2014, at 9: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 >>> --------------------------------------------------------- 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 > --------------------------------------------------------- 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 --Apple-Mail=_6B9441D6-A29E-4F3D-8C0D-DE307BD99BC5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Try using [convertwords]


Regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA




On 8 Dec 2014, at 8:24 am, Steve Braun <sbraun1@twcny.rr.com> wrote:

I can't get convertchars it to work.  =     It doesn't return the desired character.
Everything that I have is in the same 'root' directory that I = can ftp into.
Which is why I am asking about the = path that convertchars is looking for.

[convertchars db=3Dlistofchars.db]testing[/convertchars]

<!--  listofchars.db  -->
from            = to
e        =     x

result=3Dtsting

Another odd thing is, that I can't even get [convertchars] to work when I copy=20= & paste the example right out of the docs into the same = template...
=46rom the docs=3D
---[text]alphabet=3Dabcdefghijklmnopqrstuvwxyz[/text]

[table name=3Dt1&fields=3Dfrom,to]
[listchars chars=3D[alphabet]]
[char]        [index]
[/listchars]
[/table],,,

[convertchars table=3Dt1]this is your text[/convertchars]

I = add the text --- before and I add the text ,,,  after so that I can = see the result, and my result is  --- ,,,
It's like the convertchars sees the 'from' character, and = deletes it, but doesn't replace the 'to' character.

Really odd.  Any ideas

Thanks again,
sfb


Stephen F Braun
sbraun1@twcny.rr.com

On Sun, Dec 7, 2014 at 1:49 = PM, Terry Wilson <terry@terryfic.com> wrote:
Use the same logic as when you specify a db = for a search context.

Terry

Sent = from my iPad

On Dec 7, 2014, at 9:48 AM, Steve Braun <sbraun1@twcny.rr.com> wrote:

Ken, Thank you = for that info,  but I think that you misunderstood my question.

I don't know the current path that = [convertchars] uses to find the StandardConversions.db from my template = file,
So how do I find write a new path for = [convertchars] to find a different.db in my local directory?

Thanks again,
sfb


Stephen F Braun
sbraun1@twcny.rr.com

On Sun, Dec 7, 2014 at 12:45 = PM, Braun, Stephen <sbraun@oswego.org> wrote:
Ken, Thank you for that = info,  but I think that you misunderstood my question.

I don't know the current path that = [convertchars] uses to find the StandardConversions.db from my template = file,
So how do I find write a new path for = [convertchars] to find a different.db in my local directory?

Thanks again,
sfb

Stephen Braun / Theatre Manager
Robinson-Faust = Theatre of the Performing Arts / Oswego High School
Two = Buccaneer Blvd. / Oswego, NY 13126
315.341.2265
sbraun@oswego.org / http://faust.oswego.org

On Sun, Dec 7, 2014 at 11:46 AM, Terry Wilson = <terry@terryfic.com> wrote:
That path would look just like a path to a db = in a search, replace, append, include ( see my previous response). Put = the file anywhere that makes sense to you. If you don't know what the = StandardConversions.db looks like, I can email it when I get off my iPad = and am at my computer.

Terry

Sent from my = iPad

On Dec 7, 2014, at 7:43 AM, Steve Braun <sbraun1@twcny.rr.com> wrote:

Terry, this is a good idea, but I'm not hosting, therefor I = do no have access to the StandardConversions.db.   No ftp = access to that file location.

For now = I'm going to do as Donovan suggests, lose the convertchars and use the = grep to replace the CR as needed.
I don't expect any = other characters to be entered into the input form.

Thanks for all the help.

New Q: The docs = say that I can build my own specified .db for = convertchars.   
          &nb= sp;  What would that path look like to my local directory instead = of the path to the StandardConversions.db. ?

Thanks again
sfb


Stephen F Braun
sbraun1@twcny.rr.com

On Sun, Dec 7, 2014 at 1:12 = AM, Terry Wilson <terry@terryfic.com> wrote:
This is actually painfully = simple.  I like to do the same thing and fixed this back in the = beginning. Just edit the StandardConversions.db by removing = the 2 records for < and >

Done and done. Keep using convertchars. Also, feel free to = add more entries to the StandardConversions.db as needed.

Terry

On Dec 6, 2014, at 9:00 AM, Steve Braun = <sbraun1@twcny.rr.com> wrote:

Hi All,
I could use a = little help.

I'm trying to insert = multiple hyperlinks into a paragraph of text that is read from a = database.

The text is entered by the = user into the database from a HTML form like this:
blah = blah blah  <a href=3D"http://www.domain1.com">www.domain1.com</a> blah blah blah blah  <a = href=3D"http://www.domain2.com">www.domain2.com</a> blah  blah blah  = <a href=3D"http://www.domain3.com">www.domain3.com</a> blah blah blah.

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.

But, No.   I get = the text exactly as entered:
blah blah blah  <a=20 href=3D"http://www.domain1.com">www.domain1.com</a> blah blah=20 blah blah  <a=20 href=3D"http://www.domain2.com">www.domain2.com</a> blah  blah=20 blah  <a href=3D"http://www.domain3.com">www.domain3.com</a>=20 blah blah blah.

How = do I get the HTML parts of the code to function, instead of being = interpreted as text?

I am using [url]...[/url] in the [append] tag.
I am using [convertchars]...[/convertchars] in the = template page

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.

Thank you,

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

--------------------------------------------------------- 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


--------------------------------------------------------- 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

--------------------------------------------------------- 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
= --Apple-Mail=_6B9441D6-A29E-4F3D-8C0D-DE307BD99BC5-- 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)
--Apple-Mail=_6B9441D6-A29E-4F3D-8C0D-DE307BD99BC5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Try using [convertwords] Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 8 Dec 2014, at 8:24 am, Steve Braun wrote: >=20 > I can't get convertchars it to work. It doesn't return the = desired character. > Everything that I have is in the same 'root' directory that I can ftp = into. > Which is why I am asking about the path that convertchars is looking = for. >=20 > [convertchars db=3Dlistofchars.db]testing[/convertchars] >=20 > > from to > e x >=20 > result=3Dtsting >=20 > Another odd thing is, that I can't even get [convertchars] to work = when I copy & paste the example right out of the docs into the same = template... > =46rom the docs=3D > ---[text]alphabet=3Dabcdefghijklmnopqrstuvwxyz[/text] >=20 > [table name=3Dt1&fields=3Dfrom,to] > [listchars chars=3D[alphabet]] > [char] [index] > [/listchars] > [/table],,, >=20 > [convertchars table=3Dt1]this is your text[/convertchars] >=20 > I add the text --- before and I add the text ,,, after so that I can = see the result, and my result is --- ,,, > It's like the convertchars sees the 'from' character, and deletes it, = but doesn't replace the 'to' character. >=20 > Really odd. Any ideas >=20 > Thanks again, > sfb >=20 >=20 > Stephen F Braun > sbraun1@twcny.rr.com >=20 > On Sun, Dec 7, 2014 at 1:49 PM, Terry Wilson > wrote: > Use the same logic as when you specify a db for a search context. >=20 > Terry >=20 > Sent from my iPad >=20 > On Dec 7, 2014, at 9:48 AM, Steve Braun > wrote: >=20 >> Ken, Thank you for that info, but I think that you misunderstood my = question. >>=20 >> I don't know the current path that [convertchars] uses to find the = StandardConversions.db from my template file,=20 >> So how do I find write a new path for [convertchars] to find a = different.db in my local directory? >>=20 >> Thanks again, >> sfb >>=20 >>=20 >> Stephen F Braun >> sbraun1@twcny.rr.com >>=20 >> On Sun, Dec 7, 2014 at 12:45 PM, Braun, Stephen > wrote: >> Ken, Thank you for that info, but I think that you misunderstood my = question. >>=20 >> I don't know the current path that [convertchars] uses to find the = StandardConversions.db from my template file,=20 >> So how do I find write a new path for [convertchars] to find a = different.db in my local directory? >>=20 >> Thanks again, >> sfb >>=20 >> Stephen Braun / Theatre Manager >> Robinson-Faust Theatre of the Performing Arts / Oswego High School=20 >> Two Buccaneer Blvd. / Oswego, NY 13126 >> 315.341.2265 >> sbraun@oswego.org / = http://faust.oswego.org >>=20 >> On Sun, Dec 7, 2014 at 11:46 AM, Terry Wilson > wrote: >> That path would look just like a path to a db in a search, replace, = append, include ( see my previous response). Put the file anywhere that = makes sense to you. If you don't know what the StandardConversions.db = looks like, I can email it when I get off my iPad and am at my computer. >>=20 >> Terry >>=20 >> Sent from my iPad >>=20 >> On Dec 7, 2014, at 7:43 AM, Steve Braun > wrote: >>=20 >>> Terry, this is a good idea, but I'm not hosting, therefor I do no = have access to the StandardConversions.db. No ftp access to that file = location. >>>=20 >>> For now I'm going to do as Donovan suggests, lose the convertchars = and use the grep to replace the CR as needed. >>> I don't expect any other characters to be entered into the input = form. >>>=20 >>> Thanks for all the help. >>>=20 >>> New Q: The docs say that I can build my own specified .db for = convertchars. =20 >>> What would that path look like to my local directory = instead of the path to the StandardConversions.db. ? >>>=20 >>> Thanks again >>> sfb >>>=20 >>>=20 >>>=20 >>> Stephen F Braun >>> sbraun1@twcny.rr.com >>>=20 >>> On Sun, Dec 7, 2014 at 1:12 AM, Terry Wilson > wrote: >>> This is actually painfully simple. I like to do the same thing and = fixed this back in the beginning. Just edit the StandardConversions.db = by removing the 2 records for < and > >>>=20 >>> Done and done. Keep using convertchars. Also, feel free to add more = entries to the StandardConversions.db as needed. >>>=20 >>> Terry >>>=20 >>> On Dec 6, 2014, at 9: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 >>> --------------------------------------------------------- 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 > --------------------------------------------------------- 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 --Apple-Mail=_6B9441D6-A29E-4F3D-8C0D-DE307BD99BC5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Try using [convertwords]


Regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA




On 8 Dec 2014, at 8:24 am, Steve Braun <sbraun1@twcny.rr.com> wrote:

I can't get convertchars it to work.  =     It doesn't return the desired character.
Everything that I have is in the same 'root' directory that I = can ftp into.
Which is why I am asking about the = path that convertchars is looking for.

[convertchars db=3Dlistofchars.db]testing[/convertchars]

<!--  listofchars.db  -->
from            = to
e        =     x

result=3Dtsting

Another odd thing is, that I can't even get [convertchars] to work when I copy=20= & paste the example right out of the docs into the same = template...
=46rom the docs=3D
---[text]alphabet=3Dabcdefghijklmnopqrstuvwxyz[/text]

[table name=3Dt1&fields=3Dfrom,to]
[listchars chars=3D[alphabet]]
[char]        [index]
[/listchars]
[/table],,,

[convertchars table=3Dt1]this is your text[/convertchars]

I = add the text --- before and I add the text ,,,  after so that I can = see the result, and my result is  --- ,,,
It's like the convertchars sees the 'from' character, and = deletes it, but doesn't replace the 'to' character.

Really odd.  Any ideas

Thanks again,
sfb


Stephen F Braun
sbraun1@twcny.rr.com

On Sun, Dec 7, 2014 at 1:49 = PM, Terry Wilson <terry@terryfic.com> wrote:
Use the same logic as when you specify a db = for a search context.

Terry

Sent = from my iPad

On Dec 7, 2014, at 9:48 AM, Steve Braun <sbraun1@twcny.rr.com> wrote:

Ken, Thank you = for that info,  but I think that you misunderstood my question.

I don't know the current path that = [convertchars] uses to find the StandardConversions.db from my template = file,
So how do I find write a new path for = [convertchars] to find a different.db in my local directory?

Thanks again,
sfb


Stephen F Braun
sbraun1@twcny.rr.com

On Sun, Dec 7, 2014 at 12:45 = PM, Braun, Stephen <sbraun@oswego.org> wrote:
Ken, Thank you for that = info,  but I think that you misunderstood my question.

I don't know the current path that = [convertchars] uses to find the StandardConversions.db from my template = file,
So how do I find write a new path for = [convertchars] to find a different.db in my local directory?

Thanks again,
sfb

Stephen Braun / Theatre Manager
Robinson-Faust = Theatre of the Performing Arts / Oswego High School
Two = Buccaneer Blvd. / Oswego, NY 13126
315.341.2265
sbraun@oswego.org / http://faust.oswego.org

On Sun, Dec 7, 2014 at 11:46 AM, Terry Wilson = <terry@terryfic.com> wrote:
That path would look just like a path to a db = in a search, replace, append, include ( see my previous response). Put = the file anywhere that makes sense to you. If you don't know what the = StandardConversions.db looks like, I can email it when I get off my iPad = and am at my computer.

Terry

Sent from my = iPad

On Dec 7, 2014, at 7:43 AM, Steve Braun <sbraun1@twcny.rr.com> wrote:

Terry, this is a good idea, but I'm not hosting, therefor I = do no have access to the StandardConversions.db.   No ftp = access to that file location.

For now = I'm going to do as Donovan suggests, lose the convertchars and use the = grep to replace the CR as needed.
I don't expect any = other characters to be entered into the input form.

Thanks for all the help.

New Q: The docs = say that I can build my own specified .db for = convertchars.   
          &nb= sp;  What would that path look like to my local directory instead = of the path to the StandardConversions.db. ?

Thanks again
sfb


Stephen F Braun
sbraun1@twcny.rr.com

On Sun, Dec 7, 2014 at 1:12 = AM, Terry Wilson <terry@terryfic.com> wrote:
This is actually painfully = simple.  I like to do the same thing and fixed this back in the = beginning. Just edit the StandardConversions.db by removing = the 2 records for < and >

Done and done. Keep using convertchars. Also, feel free to = add more entries to the StandardConversions.db as needed.

Terry

On Dec 6, 2014, at 9:00 AM, Steve Braun = <sbraun1@twcny.rr.com> wrote:

Hi All,
I could use a = little help.

I'm trying to insert = multiple hyperlinks into a paragraph of text that is read from a = database.

The text is entered by the = user into the database from a HTML form like this:
blah = blah blah  <a href=3D"http://www.domain1.com">www.domain1.com</a> blah blah blah blah  <a = href=3D"http://www.domain2.com">www.domain2.com</a> blah  blah blah  = <a href=3D"http://www.domain3.com">www.domain3.com</a> blah blah blah.

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.

But, No.   I get = the text exactly as entered:
blah blah blah  <a=20 href=3D"http://www.domain1.com">www.domain1.com</a> blah blah=20 blah blah  <a=20 href=3D"http://www.domain2.com">www.domain2.com</a> blah  blah=20 blah  <a href=3D"http://www.domain3.com">www.domain3.com</a>=20 blah blah blah.

How = do I get the HTML parts of the code to function, instead of being = interpreted as text?

I am using [url]...[/url] in the [append] tag.
I am using [convertchars]...[/convertchars] in the = template page

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.

Thank you,

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

--------------------------------------------------------- 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


--------------------------------------------------------- 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

--------------------------------------------------------- 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
= --Apple-Mail=_6B9441D6-A29E-4F3D-8C0D-DE307BD99BC5-- Stuart Tremain

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:

pop up menu's (1998) OT Grep Help (2008) WebCat2b12 CGI Mac - [shownext] problem (1997) Yet another db manager (2004) WebCatalog2 Feature Feedback (1996) Ports? (2002) [OT] Who's got a cool link (2002) [WebDNA] backup / mirror website & databases (2018) latest version? (1998) Re: (1997) Shopping Cart Best Practices (2006) [WebDNA] [OT] iTools FTP question (2010) dollar $ signs in database (2000) [WriteFile] problems (1997) summ=T (2003) Forumulas.db & Variables (2002) [UPPERCASE] (1997) WebDelivery downloads alias, not original ? (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) [subtotal] and others (1997)