Hi,
I am creating events programatically using php and all is tickety boo
with that process. I am though for the events adding a code which is
in the form 'key:1:10:Youth' (without quotes) for example. The
intention was to then use this key to uniquely identify certain
events.
I can search on this key and get the results I want in the calendar
front end no problem, however, when I use this string in a query it
gets encoded into the form 'key%3A1%3A10%3AYouth' which doesn't find
the required documents.
Is there a way of passing an unencoded querystring into the
fulltextsearch api so the search is performed using the exact string I
want?
the example code for this is....
$queryString = "key:$teamId:" . $row["agegroup"] . ":" .
$row["class"];
//$queryString = "barming";
print $queryString;
print $this->user;
$gdataCal = new Zend_Gdata_Calendar($this->getClient());
$query = $gdataCal->newEventQuery();
$query->setUser($this->user);
$query->setVisibility('private');
$query->setProjection('full');
$query->setQuery($queryString);
$eventFeed = $gdataCal->getCalendarEventFeed($query);
thanks
Conrad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---