2012-04-12 37 views
6

Vui lòng tham khảo bên dưới thread từ Google Documents List API Group và ai đó vui lòng đề xuất cho tôi giải pháp.API cho Trình xem Google Documents

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 

Bây giờ ai đó có thể vui lòng cung cấp cho tôi một mẫu mã Java để thiết lập 'xmlns' là 'http://schemas.google.com/docs/2007#embed' để mục tài liệu. Tôi nhận được một InvalidEntryException. com.google.gdata.util.InvalidEntryException: Invalid request URI GDatainvalidRequestUri Yêu cầu không hợp lệ URI Vì vậy, vui lòng đề xuất cho tôi giải pháp khả thi để giải quyết vấn đề này.

+0

Vì lợi ích của những người dùng khác, bạn vui lòng chỉnh sửa câu hỏi của mình và cung cấp câu hỏi/ngữ cảnh đầy đủ ở đây không? –

+0

Bất kỳ con trỏ nào về điều này ?? – Jagadeesh

+0

@VicFryzel Bất kỳ đầu vào nào về điều này? – Jagadeesh

Trả lời

1

1 đến này một

Blockquote Bây giờ ai đó có thể vui lòng cung cấp cho tôi một mẫu mã Java để thiết lập 'xmlns' là 'http://schemas.google.com/docs/2007#embed 'vào mục nhập tài liệu. Tôi nhận được một InvalidEntryException. com.google.gdata.util.InvalidEntryException: URI yêu cầu không hợp lệ GDatainvalidRequestUri Yêu cầu URI không hợp lệ Vì vậy, vui lòng đề xuất cho tôi giải pháp khả thi để giải quyết vấn đề này.

Sau khi đọc thread này, ngay cả khi tôi đang tìm kiếm một ví dụ java, hãy làm cách nào để đặt 'xmlns' là 'http://schemas.google.com/docs/2007#embed' thành mục nhập tài liệu .

Các vấn đề liên quan