and I actually solved this problem, so nevermind.

On Mar 31, 4:17 pm, Alex Launi <[EMAIL PROTECTED]> wrote:
> No, I'm trying to find the URL of an entire calendar from it's
> AtomFeed. The examples have how to pull out the Title of the Calendar,
> but the url, which is in the <id> element, doesn't seem to be plain
> text. I haven't been having any luck getting it to be just plain text
> so that I can open it in a browser.
>
> On Mar 31, 1:53 pm, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I am not sure if I understand what you are asking, if I misunderstand
> > please correct me.  I am assuming that you would like to retrieve a
> > list of events pertaining to a calendar, if so, you can see the sample
> > code below that I am doing that -
>
> >         public void retrieveEvent() {
>
> >            EventQuery query = new EventQuery();
> >            query.Uri = new
> > Uri("http://www.google.com/calendar/feeds/default/private/full";);
>
> >            EventFeed feed = calendarService.Query(query);                   
> >            
>
> >            foreach (EventEntry entry in feed.Entries) {
> >                         Console.WriteLine("Event Title = " + 
> > entry.Title.Text);
> >            }    
> >         }
>
> > If you wish to retrieve other details per event you can just access it
> > such as event content by referring to its attribute name.  You should
> > be able to find these info from the .NET client library documentation
> > (it came with the client library download).  For other sample code use
> > cases, please go to -
>
> >http://code.google.com/apis/calendar/developers_guide_dotnet.html
>
> > Hope that helps,
> > Austin
>
> > On Sun, Mar 30, 2008 at 5:31 PM, Alex Launi <[EMAIL PROTECTED]> wrote:
>
> > >  Can anyone help me with this? It seems like it should be easy, and
> > >  it's probably just my lack of experience with the Google APIs and C#,
> > >  but I'm having a whale of a time pulling the URL of a calendar from
> > >  the AtomFeed returned from FeedQuery.Query (). I can see the <id />
> > >  inside of an <entry /> in the documentation, but it doesn't seem to
> > >  contain plain-text. Is there an easy way to get it into plain text for
> > >  opening in a browser? Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to