zend-gdata

Zend Gdata include path issue (Loader.php)

房东的猫 提交于 2020-01-06 08:51:46
问题 I've been trying to install Zend Gdata. I'm running from a dev environment so have access to php.ini. I've set the include path and when I run the verification script I get the following.. Ran PHP Installation Checker on 2011-04-28T02:25:20+00:00 PHP Extension Errors Tested No errors found Zend Framework Installation Errors Tested No errors found SSL Capabilities Errors Tested No errors found YouTube API Connectivity Errors Tested No errors found But when I try to run any of the demo files I

Zend Gdata include path issue (Loader.php)

大兔子大兔子 提交于 2020-01-06 08:51:24
问题 I've been trying to install Zend Gdata. I'm running from a dev environment so have access to php.ini. I've set the include path and when I run the verification script I get the following.. Ran PHP Installation Checker on 2011-04-28T02:25:20+00:00 PHP Extension Errors Tested No errors found Zend Framework Installation Errors Tested No errors found SSL Capabilities Errors Tested No errors found YouTube API Connectivity Errors Tested No errors found But when I try to run any of the demo files I

youtube API - strange issue with ZendGdata

烂漫一生 提交于 2020-01-05 02:55:12
问题 I have installed the ZendGdata PHP library into /var/www/html on my local fedora machine. I am trying to learn to use the youtube API by following the instructions at this link http://code.google.com/apis/gdata/articles/php_client_lib.html Without any changes to the "include_path", i tried opening InstallationChecker.php in my browser and i get an exception. PHP Extension Errors Tested No errors found Zend Framework Installation Errors Tested 0 Exception thrown trying to access Zend/Loader

List recreated album names that were previously deleted

烈酒焚心 提交于 2020-01-03 17:22:46
问题 Background I would like to list all the albums for my account that match a given name. Problem After deleting an album, then recreating an album with the exact same name, the code for $albumQuery->setAlbumName( ... ) to find the album name fails with a 404, even though the album was successfully created. The following code runs fine: // This is correct -- adding photographs to albums works. $client = $this->login( $user, $pass, $picasa ); $picasa = $this->newPhotographService( $client );

Uncaught exception 'Zend_Gdata_App_HttpException

送分小仙女□ 提交于 2019-12-24 00:35:59
问题 here is my code. // Instantiate the parent object parent::__construct(false, 'Youtube Upload'); set_include_path(TEMPLATEPATH . '/inc/'); require_once ( 'Zend/Loader.php'); Zend_Loader::loadClass('Zend_Gdata_YouTube'); Zend_Loader::loadClass('Zend_Gdata_ClientLogin'); $authenticationURL = 'http://www.google.com/accounts/ClientLogin'; // set video params to authenticate user $this->httpClient = Zend_Gdata_ClientLogin::getHttpClient( $username = $this->username, $password = $this->password,

Google Spreadsheet API: memory exceeded

╄→гoц情女王★ 提交于 2019-12-22 09:39:32
问题 Don't know if anyone has experience with the Google Spreadsheets API or the Zend_GData classes but it's worth a go: When I try to insert a value in a 750 row spreadsheet, it takes ages and then throws an error that my memory limit (which is 128 MB!) was exceeded. I also got this when querying all records of this spreadsheet but this I can imaging because it's quite a lot of data. But why does this happen when inserting a row? That's not too complex, is it? Here's the code I used: public

Youtube API - How to limit results for pagination?

[亡魂溺海] 提交于 2019-12-21 04:51:02
问题 I want to grab a user's uploads (ie: BBC) and limit the output to 10 per page. Whilst I can use the following URL: http://gdata.youtube.com/feeds/api/users/bbc/uploads/?start-index=1&max-results=10 The above works okay. I want to use the query method instead: The Zend Framework docs: http://framework.zend.com/manual/en/zend.gdata.youtube.html State that I can retrieve videos uploaded by a user, but ideally I want to use the query method to limit the results for a pagination. The query method

zend gdata and google spreadsheet not connecting

二次信任 提交于 2019-12-17 18:43:37
问题 ive been using Zend Gdata for a while now, and today im getting an error of Notice: Undefined offset: ClientLogin.php on line 150 via php, this has been working for a while now, and today without changing anything it stopped working, im guessing some deprecated service on behalf of google with the zend gdata maybe the Zend_Gdata_ClientLogin::getHttpClient( ) method or something, can any one confirm or help me with this issue. the code im using to connect is as follows: require_once('Zend

unable to open spreadsheets with Zend_Gdata?

本小妞迷上赌 提交于 2019-12-13 20:14:57
问题 <?php include('Zend/Gdata.php'); include('Zend/Gdata/Spreadsheets.php'); include('Zend/Gdata/ClientLogin.php'); $service = Zend_Gdata_Spreadsheets::AUTH_SERVICE_NAME; $client = Zend_Gdata_ClientLogin::getHttpClient('myemail@gmail.com', 'password', $service); $spreadsheetService = new Zend_Gdata_Spreadsheets($client); $sheets = $spreadsheetService->getSpreadsheetFeed(); foreach ($sheets as $sheet) { //echo get_class($sheet) . '<br>'; exit; echo $sheet->getContent() . '<br>'; echo $sheet->getId

Zend_Gdata library and Picasa data API — loader.php file missing

假装没事ソ 提交于 2019-12-11 14:44:41
问题 Im trying to develop an application in php to download pics from picasa using Zend_Gdata library. My project folder structure is like this: www(wamp) /project test.php /Zend /Authentication /Barcode . . /View /XmlRpc As you can see, i havent copied the full Zend Framework. I dont want the full MVC paradigm in this project, just the Zend_Gdata library. Is this the way to do this? Or do i have to use the complete zend framework? Im completely new to Zend. I found this article at IBM site http:/