简体   繁体   English

从Google文档中检索HTML文档-无API

[英]Retrieve a html document from google docs - no api

I would like to use google docs as a file server for a website, so I need to get and display html documents from gdocs with PHP-- but without the gdocs api. 我想将google docs用作网站的文件服务器,因此我需要使用PHP从gdocs获取并显示html文档,但没有gdocs api。 I found a way to list the documents with curl, but have no idea to get their contents. 我找到了一种用curl列出文档的方法,但是不知道要获取它们的内容。 Is that possible? 那可能吗? And if it is, how can I do that? 如果是的话,我该怎么做?

Thanks 谢谢

I use only a 2Mb folder with a zend component (Gdata) to extract info from gdocs spreadsheats, so yes, with less than 10mb I think it is possible. 我只使用一个带有zend组件(Gdata)的2Mb文件夹从gdocs spreadsheats中提取信息,因此,是的,我认为这是可能的,并且内存不足10mb。

I dont know if you will need some more component of zend for your project. 我不知道您是否需要为项目添加zend的更多组件。 This is the website from where I got this information and found the Gdata component: LINK 这是我从中获得此信息并找到Gdata组件的网站: LINK

Best Regards. 最好的祝福。

PS: Maybe I am a little late for this answer but hope it helps somebody like it helped me. PS:也许我对这个答案有点迟了,但是希望它能像帮助我一样帮助别人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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