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:

HELP! Search finding too much! (1998) what's the voodoo for Two submit buttons ? (1997) [WebDNA] Best WebDNA version for OS X Server 10.5.8 on PowerPC? (2010) PCS Frames (1997) WebMerchant and PCAuthorize (1998) [WebDNA] Append speed limits (2008) All questions are welcome on this list (1997) A question on sub-categories (1997) Search Command, multiple dbs, etc. --Getting Results Now! (2000) [searchString] (1997) Beta and new version questions? (1998) Re:trouble (1997) requiring form fields? (2000) For those of you not on the WebCatalog Beta... (1997) AW: AW: Credit card processing - UK (1997) Problem with empty form-variables in [search] (1998) ExclusiveLock question (2005) Date stamp and purging (1998) date sorting and 'template (1997)