Re: [WebDNA] multi hyperlinks in text paragraphs

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111730
interpreted = N
texte = --001a1140f904d126f90509adddc8 Content-Type: text/plain; charset=UTF-8 Yep, it's all about the tabs. Once I took out all of the spaces, and multiple tabs, it all worked as expected. Those pesky invisibles strike again. Thanks again everyone. I'll stop bothering you now. Have a great week! sfb Stephen F Braun sbraun1@twcny.rr.com On Sun, Dec 7, 2014 at 4:34 PM, Terry Wilson wrote: > It's seeing the db, otherwise you'd get a message that the db couldn't be > found. It sounds like you have more than one tab between the field values > or field names. A copy and paste from the docs will maybe get you a bunch > of spaces instead of a tab. I'd turn on invisibles in your text editor and > check the database directly. > > On Dec 7, 2014, at 1:24 PM, Steve Braun 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=listofchars.db]testing[/convertchars] > > > from to > e x > > result=tsting > > 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... > From the docs= > ---[text]alphabet=abcdefghijklmnopqrstuvwxyz[/text] > > [table name=t1&fields=from,to] > [listchars chars=[alphabet]] > [char] [index] > [/listchars] > [/table],,, > > [convertchars table=t1]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 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 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 >> 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 >>> 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 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. >>>> 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 >>>> 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 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 www.domain1.com >>>>> blah blah blah blah www.domain2.com >>>>> blah blah blah www.domain3.com >>>>> 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 www.domain1.com >>>>> blah blah blah blah www.domain2.com >>>>> blah blah blah www.domain3.com >>>>> 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=glossary.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 > > > --------------------------------------------------------- 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 > --001a1140f904d126f90509adddc8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yep, it's all about the tabs.
Once = I took out all of the spaces, and multiple tabs, it all worked as expected.= =C2=A0=C2=A0 Those pesky invisibles strike again.

Thanks again= everyone.=C2=A0 I'll stop bothering you now.=C2=A0 Have a great week!<= br>sfb


Stephen F Braun
sbraun1@twcny.rr.com

On Sun, Dec 7, 2014 at 4:34 PM, Terry Wilson= <terry@terryfic.com> wrote:
It's seeing the db, otherwise y= ou'd get a message that the db couldn't be found. It sounds like yo= u have more than one tab between the field values or field names. A copy an= d paste from the docs will maybe get you a bunch of spaces instead of a tab= . I'd turn on invisibles in your text editor and check the database dir= ectly.

On Dec 7, 2014, at 1:24 PM,= Steve Braun <= sbraun1@twcny.rr.com> wrote:

I can't get convertchars it to work.=C2=A0 =C2=A0 =C2= =A0 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]

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

result=3Dtsting

Anoth= er 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...
=
From the docs=3D
---[text]alphabet=3Dabcdefghijklmnopqrstuvwx= yz[/text]

[table name=3Dt1&fields=3Dfrom,to]
[listchars chars= =3D[alphabet]]
[char]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [index]<= br>[/listchars]
[/table],,,

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

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

Really odd.=C2=A0 Any idea= s

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@twcn= y.rr.com> wrote:

Ken, Thank you for that info,=C2=A0 but I think that you mis= understood my question.

I don't know the current path that [conv= ertchars] uses to find the StandardConversions.db from my template file,
So how do I find write a new path for [convertchars] to find a dif= ferent.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, Step= hen <sbraun@oswego.org> wrote:
Ken, Thank you for that info,=C2=A0 but I t= hink that you misunderstood my question.

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

Thanks again= ,
sfb

<= div dir=3D"ltr">Stephen Braun / Theatre Manager
Robinson-Faust Theatre o= f 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 pa= th 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 wha= t the StandardConversions.db looks like, I can email it when I get off my i= Pad and am at my computer.

Terry

Sent from = my iPad

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


New Q: The docs say that I can build my own specified .db for convertch= ars.=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 What would that path look like to my local directo= ry instead of the path to the StandardConversions.db. ?

Thanks = again
sfb



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

Done and done. Keep usin= g convertchars. Also, feel free to add more entries to the StandardConversi= ons.db as needed.

Te= rry

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

Hi All,
I cou= ld use a little help.

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

Th= e text is entered by the user into the database from a HTML form like this:=
blah blah blah=C2=A0 <a href=3D"http://www.domain1.com">www.domain1.com</a> blah bl= ah blah blah=C2=A0 <a href=3D"http://www.domain2.com">www.domain2.com</a> blah=C2=A0 bl= ah blah=C2=A0 <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 loo= k like this:
blah blah blah=C2=A0 www.domain1.com blah blah blah blah=C2=A0 www.domain2.com = blah=C2=A0 blah blah=C2=A0 www.domain3.com blah blah blah.

But, No= . =C2=A0 I get the text exactly as entered:
blah blah blah=C2=A0 <a= =20 href=3D"http://w= ww.domain1.com">www.domain1.com</a> blah blah=20 blah blah=C2=A0 <a=20 href=3D"http://w= ww.domain2.com">www.domain2.com</a> blah=C2=A0 blah=20 blah=C2=A0 <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 [convert= chars]...[/convertchars] in the template page

I've been playing with the [convertwords db=3Dglossary.db] examp= les shown in the docs,=C2=A0 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: suppo= rt@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: suppo= rt@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: suppo= rt@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: suppo= rt@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: suppo= rt@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: suppo= rt@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: suppo= rt@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: suppo= rt@webdna.us

--001a1140f904d126f90509adddc8-- 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)
--001a1140f904d126f90509adddc8 Content-Type: text/plain; charset=UTF-8 Yep, it's all about the tabs. Once I took out all of the spaces, and multiple tabs, it all worked as expected. Those pesky invisibles strike again. Thanks again everyone. I'll stop bothering you now. Have a great week! sfb Stephen F Braun sbraun1@twcny.rr.com On Sun, Dec 7, 2014 at 4:34 PM, Terry Wilson wrote: > It's seeing the db, otherwise you'd get a message that the db couldn't be > found. It sounds like you have more than one tab between the field values > or field names. A copy and paste from the docs will maybe get you a bunch > of spaces instead of a tab. I'd turn on invisibles in your text editor and > check the database directly. > > On Dec 7, 2014, at 1:24 PM, Steve Braun 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=listofchars.db]testing[/convertchars] > > > from to > e x > > result=tsting > > 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... > From the docs= > ---[text]alphabet=abcdefghijklmnopqrstuvwxyz[/text] > > [table name=t1&fields=from,to] > [listchars chars=[alphabet]] > [char] [index] > [/listchars] > [/table],,, > > [convertchars table=t1]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 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 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 >> 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 >>> 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 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. >>>> 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 >>>> 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 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 www.domain1.com >>>>> blah blah blah blah www.domain2.com >>>>> blah blah blah www.domain3.com >>>>> 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 www.domain1.com >>>>> blah blah blah blah www.domain2.com >>>>> blah blah blah www.domain3.com >>>>> 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=glossary.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 > > > --------------------------------------------------------- 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 > --001a1140f904d126f90509adddc8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yep, it's all about the tabs.
Once = I took out all of the spaces, and multiple tabs, it all worked as expected.= =C2=A0=C2=A0 Those pesky invisibles strike again.

Thanks again= everyone.=C2=A0 I'll stop bothering you now.=C2=A0 Have a great week!<= br>sfb


Stephen F Braun
sbraun1@twcny.rr.com

On Sun, Dec 7, 2014 at 4:34 PM, Terry Wilson= <terry@terryfic.com> wrote:
It's seeing the db, otherwise y= ou'd get a message that the db couldn't be found. It sounds like yo= u have more than one tab between the field values or field names. A copy an= d paste from the docs will maybe get you a bunch of spaces instead of a tab= . I'd turn on invisibles in your text editor and check the database dir= ectly.

On Dec 7, 2014, at 1:24 PM,= Steve Braun <= sbraun1@twcny.rr.com> wrote:

I can't get convertchars it to work.=C2=A0 =C2=A0 =C2= =A0 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]

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

result=3Dtsting

Anoth= er 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...
=
From the docs=3D
---[text]alphabet=3Dabcdefghijklmnopqrstuvwx= yz[/text]

[table name=3Dt1&fields=3Dfrom,to]
[listchars chars= =3D[alphabet]]
[char]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [index]<= br>[/listchars]
[/table],,,

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

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

Really odd.=C2=A0 Any idea= s

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@twcn= y.rr.com> wrote:

Ken, Thank you for that info,=C2=A0 but I think that you mis= understood my question.

I don't know the current path that [conv= ertchars] uses to find the StandardConversions.db from my template file,
So how do I find write a new path for [convertchars] to find a dif= ferent.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, Step= hen <sbraun@oswego.org> wrote:
Ken, Thank you for that info,=C2=A0 but I t= hink that you misunderstood my question.

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

Thanks again= ,
sfb

<= div dir=3D"ltr">Stephen Braun / Theatre Manager
Robinson-Faust Theatre o= f 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 pa= th 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 wha= t the StandardConversions.db looks like, I can email it when I get off my i= Pad and am at my computer.

Terry

Sent from = my iPad

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


New Q: The docs say that I can build my own specified .db for convertch= ars.=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 What would that path look like to my local directo= ry instead of the path to the StandardConversions.db. ?

Thanks = again
sfb



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

Done and done. Keep usin= g convertchars. Also, feel free to add more entries to the StandardConversi= ons.db as needed.

Te= rry

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

Hi All,
I cou= ld use a little help.

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

Th= e text is entered by the user into the database from a HTML form like this:=
blah blah blah=C2=A0 <a href=3D"http://www.domain1.com">www.domain1.com</a> blah bl= ah blah blah=C2=A0 <a href=3D"http://www.domain2.com">www.domain2.com</a> blah=C2=A0 bl= ah blah=C2=A0 <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 loo= k like this:
blah blah blah=C2=A0 www.domain1.com blah blah blah blah=C2=A0 www.domain2.com = blah=C2=A0 blah blah=C2=A0 www.domain3.com blah blah blah.

But, No= . =C2=A0 I get the text exactly as entered:
blah blah blah=C2=A0 <a= =20 href=3D"http://w= ww.domain1.com">www.domain1.com</a> blah blah=20 blah blah=C2=A0 <a=20 href=3D"http://w= ww.domain2.com">www.domain2.com</a> blah=C2=A0 blah=20 blah=C2=A0 <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 [convert= chars]...[/convertchars] in the template page

I've been playing with the [convertwords db=3Dglossary.db] examp= les shown in the docs,=C2=A0 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: suppo= rt@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: suppo= rt@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: suppo= rt@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: suppo= rt@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: suppo= rt@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: suppo= rt@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: suppo= rt@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: suppo= rt@webdna.us

--001a1140f904d126f90509adddc8-- Steve Braun

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:

Summing fields (1997) Comparing two fields so the match (1998) logout after authenticated (2002) printing twice? and fix (1997) Rubbish in form fields (2004) Encrypting WebDNA Templates (1999) Cart questions (1997) OH MY GOD! (1998) Serial Number Question (1997) WebCatalog [FoundItems] Problem - LONG - (1997) Part Html part WebDNA (1997) catagories (1997) WCS Newbie question (1997) Announcing general availabilty of WebDNA 4.5 release (2002) taxrate - off by 1 cent (1997) Version 4? (2000) Stumpted Again (1997) Re:E-Mailer (WebCatb15acgiMac) (1997) show all problem (1997) New public beta available (1997)