Created
August 10, 2012 10:59
-
-
Save ianbarber/3313399 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
while(($record = fgetcsv($fh)) && $record !== false) { | |
// Skip the header row | |
if($record[0] === "Date") { | |
continue; | |
} | |
// Create the moment and target | |
$moment = new Google_Moment(); | |
$moment->setType("http://schemas.google.com/CheckInActivity"); | |
$target = new Google_ItemScope(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment