Re: xml - amazon bug and sed q:

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59943
interpreted = N
texte = Are you using Version 6.x of WebDNA? If so you can simply use the= XML tags to parse the files. Nitai -- Redakto - Content Management that simply works Content Management & eBusiness Systems ComputerOil=C2=AE AG Dammstrasse 7 5400 Baden / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.com -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Beh= alf Of Jim Lanford Sent: Monday, November 08, 2004 8:53 PM To: WebDNA Talk Subject: xml - amazon bug and sed q: Hi, I'm back to getting Amazon xml feeds to work. The URL to buy a product is hidden in a tag Here is a chopped version:
http://www.amazon.com/exec/obidos/ASIN/00004YRPE= / LRKNFE80link_code=3Dxm2 B0000444E foo bar 5
I need to get the the URL in to
http://www.amazon.com/exec/obidos/ASIN/00004YRPE= / LRKNFE80link_code=3Dxm2 This shell cmd is not quite what I need. cat input.xml | sed -e 's/Details url=3D\"/Details>/' -e=20= 's/\">$/<\/buyurl>/' > output.xml 's/\">$/<\/buyurl>/' matches too much. (such as the end . 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: xml - amazon bug and sed q: ( "Nitai @ ComputerOil" 2004)
  2. Re: xml - amazon bug and sed q: ( Jim Lanford 2004)
  3. Re: xml - amazon bug and sed q: ( Joe D'Andrea 2004)
  4. xml - amazon bug and sed q: ( Jim Lanford 2004)
Are you using Version 6.x of WebDNA? If so you can simply use the= XML tags to parse the files. Nitai -- Redakto - Content Management that simply works Content Management & eBusiness Systems ComputerOil=C2=AE AG Dammstrasse 7 5400 Baden / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.com -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Beh= alf Of Jim Lanford Sent: Monday, November 08, 2004 8:53 PM To: WebDNA Talk Subject: xml - amazon bug and sed q: Hi, I'm back to getting Amazon xml feeds to work. The URL to buy a product is hidden in a tag Here is a chopped version:
http://www.amazon.com/exec/obidos/ASIN/00004YRPE= / LRKNFE80link_code=3Dxm2 B0000444E foo bar 5
I need to get the the URL in to
http://www.amazon.com/exec/obidos/ASIN/00004YRPE= / LRKNFE80link_code=3Dxm2 This shell cmd is not quite what I need. cat input.xml | sed -e 's/Details url=3D\"/Details>/' -e=20= 's/\">$/<\/buyurl>/' > output.xml 's/\">$/<\/buyurl>/' matches too much. (such as the end . 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/ "Nitai @ ComputerOil"

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:

Strange intermittent WebDNA problems (2008) FORMS: Returning a specific page (1997) Moment of Thanks (1997) What abobut variables named max ??? (2000) Replace Statement (1997) I'm new be kind (1997) archives down (2001) Date search - yes or no (1997) maximu values for sendmail! (1997) Templates for Customer Database? (1997) Where is f2? (1997) WebDNA & Suse Linux (2004) Revisit: speed test (2002) carriage returns in data (1997) Re:multiple digests, please stop (1997) Help name our technology! (1997) Username for Admin Group (1997) Nested tags count question (1997) protect (summer holidays with wcat???) (2000) [WebDNA] Processor Maxing out (2010)