Am I safe to assume that from now on we have to hardcode in the 5th element after a "/" delimited split to get spreadsheet keys?
This is straight from the demo Gdata Spreadsheet app: $currKey = split('/', $feed->entries[$input]->id->text); $this->currKey = $currKey[5]; $query = new Zend_Gdata_Spreadsheets_DocumentQuery(); $query->setSpreadsheetKey($this->currKey); $feed = $this->gdClient->getWorksheetFeed($query); $input = getInput("\nSelection"); $currWkshtId = split('/', $feed->entries[$input]->id->text); $this->currWkshtId = $currWkshtId[8]; The manual just tells me that I should get the key from the <id>... but it doesn't really list what one looks like. So from the demo app, I just concluded that it's the 5th element of a returned string. Is there a better way to do this?! -- View this message in context: http://www.nabble.com/Gdata-API-and-SpreadsheetKey-tp17071462p17071462.html Sent from the Zend Framework mailing list archive at Nabble.com.