You are here:  » Unable to parse AffiliateFuture data feed


Unable to parse AffiliateFuture data feed

Submitted by Huggie on Tue, 2009-01-27 21:38 in

David,

Are you able to parse the following file? I can't get it to work with the demo.

{link saved}

I think the file is at fault as I've not had problems with any other XML feeds.

As a side note, does it take a lot longer to parse CSV files than XML? I have a 3MB XML file that parses in about 4 seconds and a 1.6MB CSV file that takes about 25 seconds.

Thanks
Rich

Submitted by support on Wed, 2009-01-28 08:52

Hi Rich,

The XML returned by the link in your email is currently "empty" - it contains just:

<Products></Products>

CSV is slower than XML by virtue of the multi-line record support. I will email you an alternative version of the script that does not support multi-line records and is therefore much faster - and is not normally a problem with affiliate datafeeds (lots of Price Tapestry customers use the faster CSV version)...

Cheers,
David.

Submitted by Huggie on Wed, 2009-01-28 10:14

Thanks David,

It's wierd that you got a feed with nothing in.

I'll check the alternative script out when I get home.

Cheers
Rich

Submitted by Huggie on Wed, 2009-01-28 20:42

David,

I've tried the alternative script for the CSV file without the multi-line support and it's a lot faster.

Thanks for an excellent script, it saves so much time.

Cheers
Rich