What is WebDNA
WebDNA and BioType
Download WebDNA
WebDNA resources
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.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]
<!-- listofchars.db -->
from =to
e = xresult=3DtstingAnother 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 ideasThanks 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.us=Bug Reporting: support@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 iPadThanks again,Ken, Thank you =for that info, but I think that you misunderstood my question.So how do I find write a new path for =[convertchars] to find a different.db in my local directory?
I don't know the current path that =[convertchars] uses to find the StandardConversions.db from my template =file,
sfbOn Sun, Dec 7, 2014 at 12:45 =PM, Braun, Stephen <sbraun@oswego.org> wrote:Thanks again,Ken, Thank you for that =info, but I think that you misunderstood my question.So how do I find write a new path for =[convertchars] to find a different.db in my local directory?
I don't know the current path that =[convertchars] uses to find the StandardConversions.db from my template =file,
sfbStephen 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.orgOn 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---------------------------------------------------------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.us=Bug Reporting: support@webdna.usI 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. 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.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
sfbOn 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.TerryOn Dec 6, 2014, at 9:00 AM, Steve Braun =<sbraun1@twcny.rr.com> wrote:---------------------------------------------------------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.us=Bug Reporting: support@webdna.usI am using [convertchars]...[/convertchars] in the =template pageThe text is entered by the =user into the database from a HTML form like this: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.
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=20href=3D"http://www.domain1.com">www.domain1.com</a> blah blah=20blah blah <a=20href=3D"http://www.domain2.com">www.domain2.com</a> blah blah=20blah <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] 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,---------------------------------------------------------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.us=Bug Reporting: support@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.us=Bug Reporting: support@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...