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.Which= is why I am asking about the path that convertchars is looking for.
Everything that I have =is in the same 'root' directory that I can ftp into.
[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 xresult=3DtstingAnoth=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=sThanks again,sfb---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.usOn 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---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.usThanks again,Ken, Thank you for that info,=C2=A0 but I think that you mis=understood my question.So how do I find write a new path for [convertchars] to find a dif=ferent.db in my local directory?
I don't know the current path that [conv=ertchars] uses to find the StandardConversions.db from my template file,
sfb =div>Stephen F Braun
sbraun1@twcny.rr.comOn Sun, Dec 7, 2014 at 12:45 PM, Braun, Step=hen <sbraun@oswego.org> wrote:Thanks again=,Ken, Thank you for that info,=C2=A0 but I t=hink that you misunderstood my question.So how do I find write a new path for [convertcha=rs] to find a different.db in my local directory?
I don't know the curren=t path that [convertchars] uses to find the StandardConversions.db from my =template file,
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.orgOn 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---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us
On Dec 7, 2014, at 7:43 AM, Steve Braun <sbraun1@twcny.rr.com<=/a>> wrote:I don't expect any other characters to be entered into the =input form.Terry, this is a good idea, but I'm not hosting, therefor I =do no have access to the StandardConversions.db.=C2=A0=C2=A0 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 neede=d.Thanks for all the help.
=div>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
sfbOn 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---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.usOn Dec 6, 2014, at 9:00 AM, =Steve Braun <s=braun1@twcny.rr.com> wrote:I am using [convert=chars]...[/convertchars] in the template pageTh=e text is entered by the user into the database from a HTML form like this:=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.
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==20href=3D"http://w=ww.domain1.com">www.domain1.com</a> blah blah=20blah blah=C2=A0 <a=20href=3D"http://w=ww.domain2.com">www.domain2.com</a> blah=C2=A0 blah=20blah=C2=A0 <a href=3D"http://www.domain3.com">www.domain3.com</a>=20blah 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'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,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us ---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us
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.Which= is why I am asking about the path that convertchars is looking for.
Everything that I have =is in the same 'root' directory that I can ftp into.
[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 xresult=3DtstingAnoth=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=sThanks again,sfb---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.usOn 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---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.usThanks again,Ken, Thank you for that info,=C2=A0 but I think that you mis=understood my question.So how do I find write a new path for [convertchars] to find a dif=ferent.db in my local directory?
I don't know the current path that [conv=ertchars] uses to find the StandardConversions.db from my template file,
sfb =div>Stephen F Braun
sbraun1@twcny.rr.comOn Sun, Dec 7, 2014 at 12:45 PM, Braun, Step=hen <sbraun@oswego.org> wrote:Thanks again=,Ken, Thank you for that info,=C2=A0 but I t=hink that you misunderstood my question.So how do I find write a new path for [convertcha=rs] to find a different.db in my local directory?
I don't know the curren=t path that [convertchars] uses to find the StandardConversions.db from my =template file,
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.orgOn 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---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us
On Dec 7, 2014, at 7:43 AM, Steve Braun <sbraun1@twcny.rr.com<=/a>> wrote:I don't expect any other characters to be entered into the =input form.Terry, this is a good idea, but I'm not hosting, therefor I =do no have access to the StandardConversions.db.=C2=A0=C2=A0 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 neede=d.Thanks for all the help.
=div>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
sfbOn 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---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.usOn Dec 6, 2014, at 9:00 AM, =Steve Braun <s=braun1@twcny.rr.com> wrote:I am using [convert=chars]...[/convertchars] in the template pageTh=e text is entered by the user into the database from a HTML form like this:=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.
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==20href=3D"http://w=ww.domain1.com">www.domain1.com</a> blah blah=20blah blah=C2=A0 <a=20href=3D"http://w=ww.domain2.com">www.domain2.com</a> blah=C2=A0 blah=20blah=C2=A0 <a href=3D"http://www.domain3.com">www.domain3.com</a>=20blah 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'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,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us ---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us
DOWNLOAD WEBDNA NOW!
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...