Re: url question

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45905
interpreted = N
texte = Well, my code is buried in a lot more complicated operations, so I'll need to extract it and simplify to find the problem; I think there might be another step that is breaking this....-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Inkblot Media Sent: Tuesday, December 03, 2002 1:21 PM To: WebCatalog Talk Subject: Re: url question Hello,I just took your code and data and tested it and it worked wonderfully for me.Here is what I have:Database some.db: IDFIELD1 1B & T Industries, Bob & Tom.Body of replace.tpl: [search db=some.db&geIDdata=[blank]] [founditems][append db=some2.db]ID=[ID]&FIELD1=[url][FIELD1][/url][/append][/founditems] [/search]When I run this this is what I get in some2.db: 1B & T Industries, Bob & Tom.What seems to be the problem again?----- Original Message ----- From: Ben Swihart To: WebCatalog Talk Sent: Tuesday, December 03, 2002 9:05 AM Subject: url question > Hello, I have this data in my database: > > ID FIELD1 > 1 B & T Industries, Bob & Tom. > > > I am trying to read this data and append it to another database. > > [search db=first.db&geIDdata=[blank]] > [founditems] > > [append db=second.db]ID=[ID]&FIELD1=[url][FIELD1][/url][/append] > > [/founditems] > [/search] > > > ----------------- > > The problem is that I do want to URL the field1 data because there is > & in there. However, the & is getting converted to &, so the data> that gets appended is just B not, B & T Industries, Bob & Tom. > > Help? > > - Ben > Gotricities network > > > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: url question (Kenneth Grome 2002)
  2. Re: url question (Donovan 2002)
  3. Re: url question (Claude Gelinas 2002)
  4. Re: url question (Matthew Bohne 2002)
  5. Re: url question (Ben Swihart 2002)
  6. Re: url question (Ben Swihart 2002)
  7. Re: url question (Ben Swihart 2002)
  8. Re: url question (Inkblot Media 2002)
  9. Re: url question (Glenn Busbin 2002)
  10. Re: url question (Donovan 2002)
  11. url question (Ben Swihart 2002)
  12. another url question (solved) (Nitai 2000)
  13. another url question (Nitai 2000)
Well, my code is buried in a lot more complicated operations, so I'll need to extract it and simplify to find the problem; I think there might be another step that is breaking this....-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Inkblot Media Sent: Tuesday, December 03, 2002 1:21 PM To: WebCatalog Talk Subject: Re: url question Hello,I just took your code and data and tested it and it worked wonderfully for me.Here is what I have:Database some.db: IDFIELD1 1B & T Industries, Bob & Tom.Body of replace.tpl: [search db=some.db&geIDdata=[blank]] [founditems][append db=some2.db]ID=[ID]&FIELD1=[url][FIELD1][/url][/append][/founditems] [/search]When I run this this is what I get in some2.db: 1B & T Industries, Bob & Tom.What seems to be the problem again?----- Original Message ----- From: Ben Swihart To: WebCatalog Talk Sent: Tuesday, December 03, 2002 9:05 AM Subject: url question > Hello, I have this data in my database: > > ID FIELD1 > 1 B & T Industries, Bob & Tom. > > > I am trying to read this data and append it to another database. > > [search db=first.db&geIDdata=[blank]] > [founditems] > > [append db=second.db]ID=[ID]&FIELD1=[url][FIELD1][/url][/append] > > [/founditems] > [/search] > > > ----------------- > > The problem is that I do want to URL the field1 data because there is > & in there. However, the & is getting converted to &, so the data> that gets appended is just B not, B & T Industries, Bob & Tom. > > Help? > > - Ben > Gotricities network > > > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Ben Swihart

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:

300% usage - Clint (2007) [WebDNA] CC encription (2013) (1997) make updates in a temporary database (2004) unable to run webcatalog locally (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) tax rate off by 1 cent (1997) [writefile] ugliness (2001) problems with 2 tags (1997) download database (2000) WC with Paymentnet/Signio/Verisign (2000) UTF-8 conversion (2006) Talk List Suggestions (1997) many-to-one problem (1998) Error message (1999) Simple way to create unique SKU (1997) Server Load (2000) emailer (1997) emailer (1997) Other then credit cards-how? (1997)