Giter Club home page Giter Club logo

services_scribd's People

Contributors

bigbluehat avatar richid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

services_scribd's Issues

Wrong array / not enough document types in array

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)

Original report: https://pear.php.net/bugs/bug.php?id=19067

Timeout Too Soon On Upload

Services_Scribd::timeout is set to 10 seconds, which is fine with most requests.

But on upload (Services_Scribd_Docs::upload()), the timeout sometimes is too soon when the file is big & the connection is not as fast as it should be. Upload fails with Exception Message "Request timed out after 10 second(s)"

I'd suggest making the timeout setting configurable (per upload request as parameter, per method or whatever coding style is PEAR-appropriate)

Original report: https://pear.php.net/bugs/bug.php?id=16746

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.