COIN071, this is exactly what I'd like to do.  I'm building an
intranet application for a company and don't want to have to make the
calendars public in order to embed/access them without logging in.
I'd like to authenticate on the server with PHP and embed the calendar
in the page for view.  Possible anyone??

On Jun 12, 6:20 pm, COIN071 <[EMAIL PROTECTED]> wrote:
> I think this person is asking two things --
>
> 1) how to programatically replicate the calendar as seen on your
> Calendar page (http://www.google.com/calendar/render?hl=en&tab=wc)
> when you are logged into your account, including the search bar, views
> (day/week/month/agenda), the ability to click on a date to add an
> event.  In other words, EVERYTHING, yet on some OTHER website (as a
> gadget, iframe, plug-in, Gdata app, whateverworks).  Not just the
> iframe plugin for public calendars.
> 2) have the Google authSub authentication for #1 (above) be hidden
> from the web user and managed by the OTHER website's server as a PERL/
> PHP/C#/whateverworks script.  Sort of a proxy login.
>
> On Jun 12, 9:34 am, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I am not sure exactly what your question? are you asking about the different
> > authentication model that is fitting for your project, if so this is where
> > you can find details on auth -
>
> >http://code.google.com/apis/accounts/
>
> > Cheers,
> > Austin
>
> > On Tue, Jun 10, 2008 at 5:42 PM, mameha <[EMAIL PROTECTED]> wrote:
>
> > > I wish to make a webpage that simply opens google calendar as a logged
> > > in user.
>
> > > I do not want the users to see the login credentials for the google
> > > account, or have to input it manually.  So I want to do the following:
> > > - login to google calendar
> > > - display the calendar
> > > - allow users to make edits etc.
>
> > > I am using PHP5.  I can display the 'list' of calendars but I cannot
> > > find out how to actually display the calendar.  I guess it should be
> > > quite simple.
>
> > > Here is my code:
>
> > > <?php
>
> > > require_once 'Zend/Loader.php';
> > > Zend_Loader::loadClass('Zend_Gdata');
> > > Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
> > > Zend_Loader::loadClass('Zend_Gdata_Calendar');
> > > Zend_Loader::loadClass('Zend_Http_Client');
>
> > > // Parameters for ClientAuth authentication
> > > $service = Zend_Gdata_Calendar::AUTH_SERVICE_NAME;
> > > $user = '[EMAIL PROTECTED]';
> > > $pass = 'pass';
>
> > > // Create an authenticated HTTP client
> > > $client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass,
> > > $service);
>
> > > // Create an instance of the Calendar service
> > > $service = new Zend_Gdata_Calendar($client);
>
> > > // Get Calendar List Feeds
> > > try {
> > >    $listFeed= $service->getCalendarListFeed();
> > > } catch (Zend_Gdata_App_Exception $e) {
> > >    echo "Error: " . $e->getResponse();
> > > }
>
> > > // Print them to screen
> > > echo "<h1>Calendar List Feed</h1>";
> > > echo "<ul>";
> > > foreach ($listFeed as $calendar) {
> > >    echo "<li>" . $calendar->title . " (Event Feed: " . $calendar-
> > > >id . ")</li>";
> > > }
> > > echo "</ul>";
>
> > > ?>- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to