简体   繁体   中英

Uploaded and not converted files do not appear in the document feed in Google Docs

I trying to retrieve a complete list of files from a given directory with code like this

uri = '%s' % fentry.content.src
feed = gd_client.GetDocumentListFeed(uri=uri)
for r in feed.entry:
    print r.title.text.decode("utf-8")

It works except that it only return "real" Google Documents files and does not return files, which were uploaded but not converted, eg *.docx files.

Is there any way to get complete list of files in given directory?

I have the suspicion that you are using a wrong uri. Read here about the different options you have:

http://code.google.com/intl/en-US/apis/documents/docs/3.0/developers_guide_protocol.html#ListDocs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM