First of all, thank you for your reply.
But, can you clarify it a bit more?
I can retrieve the DocumentListFeed by calling the method in
DocsService. Then, i can go through each document inside the
DocumentListFeed and find the right one. But, it really takes a long
time.
The problem is I cannot find a function takes docid as a paramenter.
Can you provide a better solution than the one i have?
Thanks a ton
CJ

On Sep 2, 1:34 pm, "Jochen Hartmann (Google)"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Have a look at the PHP 
> thread:http://groups.google.com/group/Google-Docs-Data-APIs/browse_thread/th...
>
> The client library works the same, you will just want to retrieve the
> documentEntry for the document that you need and then just call then
> delete() method on it.
>
> Thanks
> - Jochen
>
> On Aug 31, 6:52 am, CJ <[EMAIL PROTECTED]> wrote:
>
>
>
> > What I have is
> > DocsService service;
> > blah ......   //create new docsservice instance, i am sure it is fine
> > coz i have other operations
> > blahblahblah //authsub, i am sure this part is correct too
>
> > String docid = "http://docs.google.com/feeds/documents/private/full/
> > spreadsheet%3A" + mydocgooglekey;
> > URL url = new URL(docid);
> > service.delete(url);
>
> > it always tell me bad request
> > anybody can help?
> > thanks a ton- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to