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:

Is this possible, WebCat2.0 and checkboxes (1997) ImageMagick (2005) WebCatalog for guestbook ? (1997) How can I Add several Items into the cart at once? (1997) Extracting undeliverable email addresses (2003) Safari browser and WebDNA set-cookies (2003) OS X, Communigate Pro & Line Breaks (2003) What happened to the archives? (1999) Help!!!! (1999) WebCatalog f2 Installation (1997) Setting up shop (1997) WebCat2.0 [format thousands .0f] no go (1997) Strange Date happenings (2007) Unexpected error (1997) WebCat2b15MacPlugin - showing [math] (1997) Authorize.Net and AIM (2004) Extended [ConvertChars] (1997) webcat- multiple selection in input field (1997) Need Web Cat Hosting ASAP (2000) Finding max value for a field (1997)