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:

browser info.txt and SSL (1997) [WebDNA] WebDNA & Google Chrome Browser (2012) OT: Variables in printed URL (2007) Whats going on with my SERIAL NUMBER??? (1998) OT: question about traveling abroad (UK) (2005) auto enter dates (1998) Emailer.Out (1998) The beginning (1997) WebCatalog/Mac 2.1b2 New Features (1997) Running 2 two WebCatalog.acgi's (1996) [WebDNA] Grep everything and replace with asterisks? (2010) why is this line in GeneralStore? (1998) Reversing [ipaddress] normalization (1998) Database Field Additions (2000) [TaxableTotal] - not working with AOL and IE (1997) Searching a field and returning the highest value (1997) Multiple Pulldowns (1997) bannerads example idiot (1997) duplicate cart numbers (2002) WebCatalog 2.1b4/Mac available (1997)