True, I was not aware that you can retrieve the full feed if the calendar is set to public withouth authorization. Does any one have found a good sample to parse recurrent,locations,Times...basically obtain all the values of an EventQuery isntance? For example for the Comments property instead of givig back a collection of comments it gives back a link where you can extract the comments does anyone have done something similar for the Recurrence?
On Aug 20, 8:25 am, Ray Baxter <[EMAIL PROTECTED]> wrote: > Public calendars and events in those calendars have full feeds. Replace > "basic" with "full" in the url. > > There is no need to parse html. > > Ray > > > > esteban almaguer wrote: > > Your totally right.However the constraint that I have is to query > > public calendars only. > > What I'm trying to say is that I have no opportunity to authenticate > > first and the query. > > Have you tried to retrieve the semantic information about the event > > without authenticate to the calendar first? > > > On 8/15/07, *Frank Mantek* <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > Curious. Why are you trying to parse the basic projection, > > compared to one that has semantic information about the event? > > > Frank Mantek > > Google > > > On 8/3/07, * Ray Baxter* <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > For recurring events in basic feeds, Google reports the > > duration in > > seconds of the first instance of the event instead of the end > > time. I > > don't know why they do it this way, there may be no particular > > reason. > > In your case, 14400 is the number of seconds in 4 hours. > > > I don't see that there are any guarantees about what the > > contents will > > be or how they will map onto the data elements of an event, so > > instead > > of trying to parse the free form text of the content I would > > try to > > parse the gd:recurrence from the full feed instead. > > > Ray > > > Prometheus wrote: > > > It is probable a silly question but I having difficulties > > interpreting > > > the Duration attribute that is returned from a calendar > > atomEntry > > > content. > > > > Using GDATA the following code returns a list of the events > > from a > > > public calendar > > > ArrayList list = new ArrayList(); > > > AtomFeed feedA = new AtomFeed(calendarQuery.Uri ,this); > > > Stream streamA = this.Query(calendarQuery.Uri); > > > feedA.Parse(streamA, AlternativeFormat.Atom); > > > streamA.Close(); > > > foreach(AtomEntry en in feedA.Entries){ > > > AtomContent contentillo = en.Content as AtomContent; > > > list.Add("Title:"+en.Title.Text > > > +"<br>"+contentillo.Content.ToString()); > > > } > > > > I'm building a parser for the content of atom entry however i > > still > > > don't quite understand how the Duration value can be > > interpreted.One > > > entry in the calendar content is the following.In this case this > > > recurrent event duration value is 14400 but what does it mean? > > > > Title:Feria del Payaso<br>Recurring Event<br> First start: > > 2007-12-24 > > > 08:00:00 MST <br> Duration: 14400 <br>Event Status: > > confirme- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
