Uploading files to google docs
Has anyone implemented a so开发者_开发知识库lution to upload files to google docs (under google apps domain) from a grails application?
Are there any pure javascript solutions? I'd like to avoid posting the file to the server side in order to do the upload.
What is the recommended approach?
Did you use any of the Grails file upload plugins?
Did you have to configure anything on the google apps account to allow you to upload files?
I haven't heard of a plugin, but you can use the Google API client: https://code.google.com/apis/documents/
I haven't this particular library, but I've used the one for managing calendars and the one for Google Analytics. Their APIs are very well documented and have lots of sample code, so it should be easy to get started.
精彩评论