I have been trying to use Affiliate Window's new create a feed, whereby you can select specific categories only to be included in the feed. My problem is that the one I have been trying to get, the first product in the feed does not have a description, instead of including an empty field it omits the [desc] field altogether. This means that when I try to register the feed there is no description to map!
I tried removing the first fields that had no [desc] field and uploaded that to register and then import the full feed. All looked as though it was going fine until importing when it simply didn't want to import anything!
Is there a way around this?
Never thought of just adding a blank field!!!! Much simpler, so tried this. Unfortunately whilst it came up so I could register and map it correctly the file refuses to import :-(
site: {link saved} and feed is the playdotcom one
---------
Jill
Hi Jill,
I just logged in to your /admin/ area, and it has registered and imported fine! (7992 products) Registered as follows:
Product Name: TEXT/NAME
Description: TEXT/DESC
Image URL: URI/AWIMAGE
Buy URL: URI/AWTRACK
Price: PRICE/BUYNOW
Cheers,
David.
hmm, not sure what I did wrong then - Thanks again David!
---------
Jill
I have adjusted the two files for special characters, as per http://www.pricetapestry.com/node/2483 But this feed is still showing #39; in both product name and description.
You can see it here if you scroll half way down...
http://www.bandtshirt.co.uk/bands/ACDC-t-shirt/3.html
---------
Jill
Hi Jill,
It looks from the source as if the ampersand "&" character is still being blocked, as the correct entity is ' - so check the following line for this in includes/admin.php:
$record[$admin_importFeed["field_name"]] = tapestry_normalise($record[$admin_importFeed["field_name"]],"&#;");
If you're still not sure; feel free to email me your modified files (includes/admin.php and search.php) and i'll take a look for you!
Cheers,
David.
Hi Jill,
When you were removing the first records that had no DESC field; did you make sure to leave the containing element name in place, so that the opening structure is the same?
Alternatively, it might be easier to edit the file and actually add a blank
<desc></desc>
field to the first record in order that you can register it.Another option, if the feed is available as CSV, would be to use CSV, as this must allocate space for the description in every line (record) whether it is present or not...
Cheers,
David.