Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6839581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:44:09+00:00 2026-05-26T23:44:09+00:00

I am using the zend google api library to retrieve a list of event

  • 0

I am using the zend google api library to retrieve a list of event from a public calendar. I am successfully able to retrieve the title, when, and content, but where is an empty array. Any documentation that I have found in the past 3 hours from Google, Zend or otherwise is terrible and does not give a list of possible values. The only documentation I can find on the location of the event is how to set it if you are creating an event.

How do I access the location?

<?php
            foreach ($eventFeed as $event) :
                ?>
                <li>
                    <div class="event_title">
                        <?php echo $event->title->text;?>
                    </div>
                    <div class="event_time">
                        <?php echo date('h:ia', strtotime($event->when[0]->startTime));?>
                    </div>
                    <div class="event_location">
                        <?php echo $event->where?>
                    </div>
                    <div class="event_description">
                        <?php echo $event->content->text?>
                    </div>
                </li>
                <?php
            endforeach;
            ?>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:44:09+00:00Added an answer on May 26, 2026 at 11:44 pm
    $where=$event->Where;
        foreach($where as $eventplace)
        {
            echo $eventplace;
        }
    

    It will give you location.

    The main reason is that it gives the location value in array so we have to find it out manually….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to retrieve a Google Calendar event using the Zend Gdata library. When
I am using the Zend GData library to integrate Google Calendar in my PHP
I've read through the Google Spreadsheets API PHP documentation. All examples are using Zend,
re: http://code.google.com/apis/youtube/2.0/developers_guide_php.html#Searching_for_Videos Im using the orderby or as the Zend gdata API calles it
I'm using the Zend framework and the openid selector from http://code.google.com/p/openid-selector/ - however I
I am using the Zend PHP Gdata API for Youtube to retrieve data and
I've downloaded the Zend GData package to use the Google Calendar API. When I
I'm using the Zend_Gdata_Photos PHP client to access the Google Picasa API, trying to
So I have successfully created an upload script using the API, but now I
I am writing a 2 Legged OAuth app (Google Marketplace app) using zend gdata

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.