Why isn't this listing my spreadsheets or not producing any errors either?

<?php
//require_once 
'ZendGdata-1.11.11/documentation/api/core/db_Gdata_Spreadsheets.html';
require_once 'ZendGdata-1.11.11/library/Zend/Gdata/Spreadsheets.php';
require_once 'ZendGdata-1.11.11/library/Zend/Gdata/ClientLogin.php';

$authService = Zend_Gdata_Spreadsheets::AUTH_SERVICE_NAME;
$httpClient = Zend_Gdata_ClientLogin::getHttpClient('<my_email>', 
'<my_password>', $authService);
$gdClient = new Zend_Gdata_Spreadsheets($httpClient);

function promptForSpreadsheet()
{
    $feed = $this->gdClient->getSpreadsheetFeed();
    print "== Available Spreadsheets ==\n";
    $this->printFeed($feed);
    $input = getInput("\nSelection");
    $currKey = split('/', $feed->entries[$input]->id->text);
    $this->currKey = $currKey[5];
}
?>

I have the Zend Gdata directory in the same directory as the file I'm 
trying to run this in.  Let me know if there is anything else I can tell 
you to help you help me :) Thanks!

Reply via email to