Running the sample code
A full working sample client, containing all the sample code shown in this document, is available in the Zend Framework SVN repository. The sample is located at /framework/trunk/demos/Zend/Gdata/Blogger.php. The sample contains all the functions explained in this document. It can be run only from the command line:
php Blogger.php -- --user=[email_address] --pass=[password]
Before running this sample or developing your own code using the the Zend Framework, you may need to set the include_path and load the appropriate classes. The include path can be set either using a php.ini setting or using the set_include_path method. This code requests access to the core Zend_Gdata class, the Zend_Gdata_Query class, and the authentication class Zend_Gdata_ClientLogin.
require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata');
Zend_Loader::loadClass('Zend_Gdata_Query');
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
什麼~只能在指令列上執行API
我的老天爺啊~現在是什麼時代了
不是在講雲端技術嗎~
又不是所有的人都有Linux環境
我想在XAMPP中測這個API卻怎麼也跑不起來
真是無解~原本還想說自己來寫個API來貼文章
目前看來....只好回去用Zoundry慢慢貼囉!
隨機文章
- 買OLPC做愛心,XO「給1得1」方案啟動! (2007-11-03)
- 多代工廠下單出包,受傷的是小的代工廠和品牌原廠 (2016-02-14)
- 請網友理性發言,勿為人身攻擊,避免綠營嫁禍官網 (2008-01-10)
- OLPC-微軟為100美元筆記本開發定製版WinXP (2007-11-03)
- iOS5.01 完美越獄(JB.. jailbreak)後序動作 (2012-03-30)








