2012-04-09 190 views
1

道歉,如果这已经在https://groups.google.com/forum/embed/?place=forum/google-documents-list-api#!forum/google-documents-list-api解决,但我没有看到那里的搜索设施,也许是因为该论坛已关闭。如何按名称获取文件夹?

我可能错过了某些东西,但根据https://developers.google.com/google-apps/documents-list/#getting_a_list_of_documents_and_files,似乎无法将?title = blah或?q = blah与以下任何项结合,并获得预期结果: - ?showfolders = true - /内容/ - /文件夹 -/- /文件夹

另一种方法是让所有的文件&文件夹与showfolders = true,然后确定哪些是文件夹:? - 是否有一个元素标识资源作为文件夹而不是文件?

感谢

回答

0

可以检查的资源是由检查,如果它与scheme="http://schemas.google.com/g/2005#kind"term="http://schemas.google.com/docs/2007#folder"类别的文件夹:

例如:

<category scheme="http://schemas.google.com/g/2005#kind" 
    term="http://schemas.google.com/docs/2007#folder"/> 
+0

谢谢您先生,做了工作。 P.S.有没有办法对文件夹使用?title = blah或?q = blah方法? – user1318390 2012-04-11 02:46:28

相关问题