Oh wait I see, the public feed doesn't include names...
On Nov 26, 6:09 pm, Philipp Kewisch <[EMAIL PROTECTED]> wrote:
> I think my problem lies in the javascript client library or the json
> feed.
>
> It seems the json feed (which the js client library seems to use)
> always gives me the calendar name as the author, but the xml feed
> correctly gives me the author name.
>
> Ideas?
>
> Philipp
>
> feedRoot.feed.getEntries()[0].getAuthors()[0].getName().getText()
> still returns the calendar name.
>
> On Nov 26, 11:30 am, Philipp Kewisch <[EMAIL PROTECTED]> wrote:
>
> > I have the same problem:
>
> > I'm creating a web app that should show status from different users.
> > They all have access to create events on a certain calendar, which is
> > my secondary calendar.
>
> > * If a user creates a such event, the author and organizer is always
> > the calendar name of my secondary calendar
> > * Google Web Interface seems to know the actual author, it says
> > Created by "The real user's firstname" for "my email address
> > <[EMAIL PROTECTED]>"
>
> > Kind of unfair that the interface knows and I can't find out :-)
>
> > This bug will make my webapp far from usable, since the users will
> > need to enter their name somewhere else (i.e description field...)
> > I would appreciate a quick reply and bugfix.
>
> > Philipp
>
> > On Nov 26, 9:33 am, Marc MENDEZ <[EMAIL PROTECTED]> wrote:
>
> > > To be more accurate,
>
> > > if I click on an event created with google calendar GUI, by the
> > > manager for a simple user, I get
>
> > > Creator : [EMAIL PROTECTED] for [EMAIL PROTECTED]
>
> > > That's what I would like to do with my app, but if I look at an event
> > > created by my app, I get
> > > Creator : [EMAIL PROTECTED]
> > > Who : [EMAIL PROTECTED]
>
> > > and there is an "attendee" on this event !
>
> > > On Nov 25, 11:59 am, Marc MENDEZ <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > I use the Zend_Gdata API to read and add events to a google Calendar.
> > > > But, I can't find solution for my configuration :
>
> > > > I have several google users which all share their calendar with a
> > > > "manager". The manager creates events for each of them.
> > > > I have an important constraint : the events must appear as created by
> > > > the manager.
> > > > I want to do the same thing with the Zend API.
> > > > So I connect to the service as client with the manager's user and
> > > > password.
> > > > But, in the event I want to insert, how can I say that
> > > > the event was created by the manager BUT are for somebody else ?
>
> > > > Of course, I could connect with the simple user's login, but I won't
> > > > know the event was created by the manager !
>
> > > > Here is what I do to create my new event :
> > > > $event = $service->newEventEntry();
> > > > $event->title = $service->newTitle($title);
> > > > $when = $service->newWhen();
> > > > $when->startTime = $start;
> > > > $when->endTime = $end;
> > > > $event->when = array($when);
> > > > $author = $service->newAuthor($service->newName("Marc MENDEZ"),
> > > > $service->newEmail(AGENDA_MANAGER_USER));
> > > > $who = $service->newWho("[EMAIL PROTECTED]",null,"Marc
> > > > MENDEZ");
> > > > $event->who = array($who);
> > > > $event->author = array($author);
> > > > $service->insertEvent($event);
>
> > > > But in the calendar, I get :
> > > > - an event that's belongs to my manager
> > > > - an invitation to the second user (a kind on "invitation")
>
> > > > Thanks a lot
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---