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:

Size images (2002) snicker, snicker (1997) Queertrons? (1997) Snake Bites (1997) expired beta (1997) remotely add + sign (1997) Re:Has this happened to you? (1997) Searching multiple Databases (1997) How do I get Google to crawl a WebCat site? (2003) RE: New WebCatalog Version !!! (1997) Append (1999) [date] formatting bug inside [orderfile]? (1998) Search in 2 or more catalogs (1997) Quotation Marks in Database (1998) [authenticate] was [TIME] not working (2007) WebCat2 Append problem (B14Macacgi) (1997) HomePage Caution (1997) RE: Webcatalog and CyberSTUD (1998) [WebDNA] sem_open bugfix for os x version 6.2 (2012) [WebDNA] [session] (2015)