Are there any current solutions to the duplicate Ids in each of the language feeds?
I have long since been modifying this contribution to deal with more than one non-english language, additional currencies, better debugging information, valid html code etc. and recommend others to do the same, the contribution as is does not meet all needs.
It is relatively easy to alter the code to make changes to the xml fields as they are easy to find: search for g:id for example.
This is what I did in google_base to generate different product ids for the different feeds. It adds a relevant suffix to the id.
Not elegant but easy to understand.
PHP Code:
$iD = $dom->createElement('g:id');
if ((int)GOOGLE_PRODUCTS_LANGUAGE == '1') {//steve for multiple country feeds
$temp_id = $id.'-uk';//steve for uk
} else {
$temp_id = $id.'-es';//steve for spain
}
$iD->appendChild($dom->createCDATASection($temp_id));
Bookmarks