Hey Tony, Have you tried using this query instead: q=iosh+mananging+safely+training+bedfordshire
The "-" sign can be seen as an "exclusion" operator which will add a filter to your query to match entries which don't have this word. Best, Alain On Tue, Jun 14, 2011 at 2:43 AM, Tony HB <[email protected]> wrote: > ** > Hi Alain, > > Apologies for not getting back to you sooner, had a long weekend. > > It's the primary calendar for the account, and normally the queries return > no events. If we search for the exact same query parameter in Google Apps it > finds the correct events though. > > This is an example query string we're using: > > > https://www.google.com/calendar/feeds/[email protected]/public/full?orderby=starttime&sortorder=ascending&futureevents=true&singleevents=true&max-results=5&allow-incomplete=true&q=iosh-managing-safely-training%20bedfordshire&alt=json-in-script&reqid=5&user-agent=event-calendar-integration%20GData-JavaScript%2F2.1%201308043898263-614&v=2.1 > > With this one, we're using a space between the end of the course and the > name. The event description is > "iosh-managing-safely-training-in-bedfordshire", but even searching for that > exact string doesn't return anything. > > Do you know if there's something I could try to fix this, or should we > leave integration behind for the time being? > > Thanks for your help! > > Cheers, > Tony > > > ------------------------------ > > Alain Vongsouvanh <[email protected]> > 9 June 2011 17:07 > > Hello Tony, > > Do you get any specific error or is the query just not working (e.g all > or no events are returned)? Also, is this query against a user's primary > calendar or secondary calendar? > For the latter, we had some issues recently with secondary calendars which > might be related to yours. > > Best, > Alain > > > > > -- > Alain Vongsouvanh > > > > -- > 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://code.google.com/apis/calendar/community/forum.html > ------------------------------ > > Tony HB <[email protected]> > 8 June 2011 12:01 > > The code isn't working again. Now the network requests are pending. > > Does anyone have any idea what could be up with this and the full text > search? > -- > 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://code.google.com/apis/calendar/community/forum.html > ------------------------------ > > Tony Holdstock-Brown <[email protected]> > 7 June 2011 15:22 > > Hi, > > I've been hooking into the Google Calendar API on a website to display > upcoming dates and events, and for the majority of the time it's been > working fine. It would work by searching for a specific event with the > following code: > > var service = new > google.gdata.calendar.CalendarService('event-calendar-integration'); > var query = new google.gdata.calendar.CalendarEventQuery(--calendar > url--); > > // Set up our query > query.setOrderBy('starttime'); > query.setSortOrder('ascending'); > query.setFutureEvents(true); > query.setSingleEvents(true); > query.setMaxResults(5); > query.setAllowIncomplete(true); > > // Search for that event and location combination, baby. > query.setFullTextQuery(event + '-' + loc); > service.getEventsFeed(query.getUri(), listCourses, gcError); > > Recently, though, the setFullTextQuery has been broken. Every time this > does a search it can't find any relative events — they're 100% in the > database. > > It shows events if we remove the FullTextQuery, and it works if the > FullTextQuery only searches for one word. > > Has something changed, am I being an idiot (always likely, by the way), > or is there something else I'm unaware of going on? > > > Thanks very much. > -- > 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://code.google.com/apis/calendar/community/forum.html > > -- > 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://code.google.com/apis/calendar/community/forum.html > -- Alain Vongsouvanh -- 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://code.google.com/apis/calendar/community/forum.html
<<postbox-contact.jpg>>
<<compose-unknown-contact.jpg>>
