Yandex technical support answers by mail, that there is 30" limit to start transfer of YML and 180" to complete transfer. So, for my 4000+ items in catalog I had to use the following technology: preview .YML in brouser (~5')-> View Source -> save to file, remove first empty string

 
<?xml version="1.0" encoding="utf-8"?> 
<!DOCTYPE yml_catalog SYSTEM "shops.dtd"> 
<yml_catalog date="2011-03-17 12:25"> 
<shop>

then upload to site under a different name and give Yandex link to this file.
Yandex check result is "OK".

Comments

restyler’s picture

First empty string has nothing to do with the YML export module. It's an issue in some other place.

Regarding timeout - yes, for huge catalog that can be a problem.. I guess the easiest solution here is to use some compression for the generated yml..

com_net’s picture

You are right - first empty string was the result of an error in one of the ubercart's contribution modules.
But long yml generation time (not long transfer - namely generation time) - remains a problem. Current solution is - shell script, executed by cron:

wget http://....../yml_products.xml                                                                                                                 
rm -rf yml1.xml                                                                                                                                              
mv yml_products.xml yml1.xml

(yandex gets static yml1.xml - it takes ~15s, realtime generation (script execution time) - is about 7 minutes)

restyler’s picture

Category: bug » feature
x-drup’s picture

I optimized this module , hacked :), and now he can upload over 8000 items without problems. (also php memory limit = 256M)