請參考以下thread從Google Documents List API Group和某人請給我一個解決方案。谷歌文檔查看器的API
Hi again Jags,
Sorry, I missed one thing, you might be able to use the embed link, i.e. 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's google account and thereafter even the author of the document should have just a VIEW only option for the document.
TIA,
Jagadeesh
現在有人可以給我提供一個Java代碼示例設置使用了「xmlns」爲「http://schemas.google.com/docs/2007#embed」的文件條目。我得到一個InvalidEntryException。 com.google.gdata.util.InvalidEntryException: Invalid request URI GData
所以請建議我一個可能的解決方案來解決這個問題。invalidRequestUri
無效的請求URI
爲了其他用戶的利益,您是否可以編輯您的問題並在此提供完整的問題/背景? – 2012-04-13 00:33:45
任何指針? – Jagadeesh 2012-05-09 11:27:56
@VicFryzel對此有何意見? – Jagadeesh 2013-01-21 18:24:37