Changes between Version 39 and Version 40 of XMLRPC
- Timestamp:
- Jan 29, 2011, 4:25:17 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XMLRPC
v39 v40 13 13 * Before developing let us know, we assign useragent to you, empty useragent or unregistered UA will not work. 14 14 * For languages codes, check [http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes ISO639], use '''pb/pob''' for Portuguese (Brazil) - [http://www.opensubtitles.org/addons/export_languages.php Download OS languages table dump] 15 * for gzip compression use function which adds no header to output, for PHP it is: [http://www.php.net/manual/en/function.gzcompress.php gzcompress]. For decompression is used [http://www.php.net/gzuncompress gzdecompress]. 15 * 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]. 16 * 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); 16 17 * 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 17 18 * you may be interested in more verbose version of [wiki:XmlRpcIntro XML-RPC methods with examples]