API for Google Docs Viewer

Please browse the thread from the Google Docs Docs API Group and someone please offer me a solution.

Hi again Jags, Sorry, I missed one thing, you might be able to use the embed link, ie that link with rel http://schemas.google.com/docs/2007#embed. That will give you a link to embed the resource. Regards On Tue, Mar 27, 2012 at 10:59 AM, Ali Afshar wrote: Hi Jags, Sorry, there is no real API there as such to do what you want to achieve. You should probably export it as a format that you can embed in your page. Regards On Sat, Mar 17, 2012 at 3:18 AM, Jags wrote: Hi, Can someone help me in figuring out if there is an API available to use Google Docs Viewer where I want to upload a document and it should give me a Google Docs View Url for the document so that I can embed it in our website. Currently in Docs Viewer, the only option I find is viewing a publicly available document by passing the url for it as a param as in http://docs.google.com/viewer?url=xxxxxxxxxx. Is this the only way that I can view in Google Docs. Please someone assist if I missing something. If this isn't possible by Docs Viewer is it supported in Google Docs where I'll upload it to user google account and thereafter even the author of the document should have just a VIEW only option for the document. TIA, Jagadeesh 

Now, someone can provide me a sample Java code to set "xmlns" as "http://schemas.google.com/docs/2007#embed" in the document. I get an InvalidEntryException. com.google.gdata.util.InvalidEntryException: Invalid request URI GData invalidRequestUri URI Therefore, please offer me a possible solution to solve this problem.

+6
source share
1 answer

+1 to this

Blockquote Now someone can provide me a sample Java code to set "xmlns" as "http://schemas.google.com/docs/2007#embed" in a document. I get an InvalidEntryException. com.google.gdata.util.InvalidEntryException: Invalid request URI GDatainvalidRequestUriInvalid request URI. Therefore, please offer me a possible solution to solve this problem.

After reading this thread , even I am looking for an example java ob, how to set "xmlns" as "http://schemas.google.com/docs/2007#embed 'to the document entry.

+1
source

Source: https://habr.com/ru/post/913063/


All Articles