Changes between Version 77 and Version 78 of XMLRPC
- Timestamp:
- Nov 2, 2014, 3:54:58 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XMLRPC
v77 v78 18 18 * PHP: for gzip compression use function which adds no header to output, [http://www.php.net/manual/en/function.gzcompress.php gzcompress]. For decompression is used [http://www.php.net/gzuncompress gzdecompress]. 19 19 * PHP: if you download subtitles from XML-RPC, use: gzinflate(substr(base64_decode($subs_b64_data_from_xmlrpc),10)), if gz from web: gzinflate(substr($gz_subtitles),10); 20 * if you get '''407 Download limit reached''', do not use persistent connections (HTTP keep-alive) and don't download more than 200 subtitles per 24 hour 20 * Handle properly HTTP status codes, sometimes you might get 5xx 21 * if you get '''407 Download limit reached''', do not use persistent connections (HTTP keep-alive) and don't download more than 200 subtitles per 24 hour per IP/User. If user wants more, he can [http://www.opensubtitles.org/en/support#vip Donate] 21 22 * you may be interested in more verbose version of [wiki:XmlRpcIntro XML-RPC methods with examples] 22 23 * if you want search uploads by useragent, use this link: http://www.opensubtitles.org/search/sublanguageid-all/useragent-$UserAgent