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
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
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
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.