richid/services_scribd — Issue #1: Wrong array / not enough document types in array
Author: richid
Created: 2011-12-16 01:32:05+00:00
State: open

On line 60 is an array $_validDocTypes. This arraiy is used in function upload() (line 271). The document types in the array
are used for the function getDownloadUrl(). The function upload() can handle a lot more document types. I added the array
$_validDocTypesUpload and used this variable on line 271 in the function upload ().

So there is an difference between the document types for uploading and for downloading. When downloading the document types "pdf", "txt", "original" are used (http://www.scribd.com/developers/api?
method_name=docs.getDownloadUrl). When uploading there are a many more document types which can be used (http://www.scribd.com/developers/api?method_name=docs.upload)