You are here:  » Affiliate Window feed - some XML files don't register


Affiliate Window feed - some XML files don't register

Submitted by redspan on Tue, 2007-11-20 13:27 in

Hello,

Some of the AW feeds don't work when I try to register them. They download and unzip to XML format, and I have checked this by opening them in a browser, but when I try to to register the auto detect process thinks they are csv files, so I have changed this by using the instructions here: http://www.pricetapestry.com/node/1454, but each combination I've tried doesn't show any products when I try to register.

This should work shouldn't it? I've tried lower case 'products/prod' too.

xml|PRODUCTS/PRODUCT/

for a file that begins:

<?xml version="1.0" encoding="UTF-8" ?>
  <!DOCTYPE products (View Source for full doctype...)>
- <products>
- <merch mId="486" mName="Shipton &amp; Heneage Limited">
- <prod awId="11348684" forSale="no" inStock="no" lang="EN" preOrder="no" webOffer="no">
  <pId>g-ENFI-BLK</pId>
  <name>ENFIELD BLACK BROGUE</name>
  <desc>Born in the Celtic wilds, perfected by English cobblers, the Brogue has become the apotheosis of international business footwear. Once the staple accessory of the retired colonel in Peebleshire or the rural dean in Rutland, it is now the fashion essential of Shanghai property developers, Beverley Hills movie producers and Parisian politicians alike.From our affirmatively priced Grade Range.Fully leather lined.Side leather - Mature hideSlow-tanned leather sole (more durable)Bench-made in UKAverage fit</desc>
- <cat>
  <awCatId>139</awCatId>
  <awCat>Shoes</awCat>
  </cat>
  <purl>http://www.shiptonandheneage.co.uk/erol.html?2090x1719</purl>
  <mImage>http://www.shiptonandheneage.co.uk/images/G-ENFI-BLK_side_150.jpg</mImage>
  <awLink>http://www.awin1.com/pclick.php?p=11348684&a=75350&m=486</awLink>
  <awThumb>http://images.productserve.com/thumb/486/11348684.jpg</awThumb>
  <awImage>http://images.productserve.com/preview/486/11348684.jpg</awImage>
- <price curr="GBP">
  <display>101.28</display>
  <search>101.28</search>
  </price>
  </prod>

Regards,
Ben
Wardrobe Workout.co.uk
Wardrobe Workout.com

Submitted by support on Tue, 2007-11-20 13:30

Hi Ben,

That's the new format Affiliate Window feed, which has the format string:

xml|PRODUCTS/PROD/

...however they should auto-detect correctly. If they're not it implies that there is some pre-amble on the XML, but have a go with the above format string first...

Cheers,
David.

Submitted by redspan on Tue, 2007-11-20 13:32

Hi David,

No, xml|PRODUCTS/PROD/ doesn't work either.

Is there another workaround or will we have to forget these onese?

Regards,
Ben

Submitted by support on Tue, 2007-11-20 13:34

Hi Ben,

I (and many other PT users) run lots of sites with the new AW feeds - they should be working fine - but I just noticed I posted the wrong format string - it should be:

xml|PRODUCTS/MERCH/PROD/

If that doesn't work, can you email me one of the .zip files you have downloaded and I'll take a look for you and see what's causing the problem...

Reply to your reg code or forum registration email is the easiest way to get me...

Cheers
David.

Submitted by redspan on Tue, 2007-11-20 13:35

Funny thing is, I've just downloaded a file from AW that does work and checked the start and it has the same two lines of preamble.

Submitted by redspan on Wed, 2007-11-21 17:27

My mistake - I was trying to register a file containing no data!

Submitted by Keeop on Wed, 2007-11-21 17:58

Just to tag on to this, if you save the downloaded feed name with a space in it, e.g. 'Mister Shoe.xml', this will also result in you not being able to register the feed.

Cheers.
Keeop