
Sean Bluett says..... Catch up on the news and stuff.
The new flash player is fast and the website's easy to navigate.
Well done RTE!
http://www.rte.ie/player/


function googleLogin($sEmail, $sPassword, $service )
{
global $objLog;
$objClient = null;
// predefined service name for Google Documents
try
{
$objClient = Zend_Gdata_ClientLogin::getHttpClient($sEmail, $sPassword, $service);
} catch (Exception $cre)
{
$sMessage = 'URL of CAPTCHA image: ' . $cre->getMessage() . "\n";
$objLog->logMessage($sMessage, 1);
}
return $objClient;
}
$service = Zend_Gdata_Spreadsheets::AUTH_SERVICE_NAME;
$objClient = googleLogin($sEmail, $sPassword, $service);
$spreadsheetService = new Zend_Gdata_Spreadsheets($objClient);
$query = new Zend_Gdata_Spreadsheets_DocumentQuery();
$query->setSpreadsheetKey($sIdent);
$feed = $spreadsheetService->getWorksheetFeed($query);
// get the first sheet
$objWorksheet = $feed[0];
$arySpreadSheetRows = $objWorksheet->getContentsAsRows();
// get rid of the first three rows
$arySpreadSheetRows = removeHeaders($arySpreadSheetRows);
if(count($arySpreadSheetRows) == 0 )
{
$sMessage = 'no worksheet data found for '. $objWorksheet->getTitle() ;
error_log($sMessage ,1 ); exit;
}
// now we need to extract the xml data from the sheet#
$aryXmlData = getXmlDataFromFeed($arySpreadSheetRows);
// this array can then be used as you see fit