I'm trying to embed a Google calendar IFrame that should include an aggregate of multiple normal Google calendars including one external iCal format calendar.
The iCal file is generated by a PHP script that retrieves records from a SQL database and makes them into iCal format.
However, when embedding the Google Calendar IFrame on the site, I get this message:
Events from one or more calendars could not be shown here because you do not have the permission to view them.
So I tried to share the calendar, to make it public, but in the Google Calendar GUI I cannot: the drop-down for the external calendar doesn't have a Share this calendar option (the normal calendars do, though).
Questions:
1) How do I make the external calendar public/shareable?
2) Any other alternative to programmatically display events in a Google Calendar?
Related
I'm trying to copy some events from my web app into a user's Google Calendar, with the catch that the events in the Google Calendar should not be editable once they're there (in particular, it should not be possible to change their time). In other words, the Google Calendar is meant to be a read-only mirror of what's in my app. I haven't been able to find any properties in the v3 API call that would make this possible; can I do this? Thanks!
#Jim Unfortunately I think there is no features yet that support your request. Some work around is to embed Google calendar to your web app.
On a computer, open Google Calendar. You can only get the code to embed in your website from a computer, not the mobile app.
In the top right, click Settings settings gear button > Settings.
Open the Calendars tab.
Click the name of the calendar you want to embed.
In the Embed This Calendar section, copy the iframe code displayed.
Open your website editor, then paste this code where you want the calendar to display
Note : Your embedded calendar will only be visible to people you've shared it with. To allow all visitors to see your calendar, you'll need to make it public.
Another tip is to remove check the option for guest can modify on event.
You can get more information from this SO question.
Is it possible to add get all the events from a google calendar? I can create a calendar view exactly from google calendar by embedding to my website (I'm using php), but I want only to get title, details, and when of all the events only. And put it on a list on my website.
I want that if I add a event on my google calendar, the list from my website will also be updated.
I only need title, description or details and date of events from google calendar.
Every time you render the website, you can use the RSS feed from the google calendar/the JSON API to the google calendar to fetch the data you need.
By doing this dynamically you can make sure any new events are replicated.
I have a Youtube Live Events account and I'm using Google Hangouts in Google Plus to create Upcoming Live Events. Is it possible at all to somehow relay this upcoming events list to my webpage? My webpage uses PHP 4.3.8 (I know it is a bit outdated...).
I just want the user to create the events and given what they create on Google Hangouts have my page query and show a list and link of these.
You can list your live events using the YouTube LiveStreaming API.
Here's a sample PHP code for this.
https://github.com/youtube/api-samples/blob/master/php/list_broadcasts.php
I want to be able to add calendar events to different calendar providers as easily as possible. So that i don't have to write specific api code each time, i was hoping that i could perhaps use an iCalendar creator class in php to create an event in a standard format and then send that raw information to the provider (Google at first), without having to fill in all the individual api specific fields for the event (like with the Zend Google calendars framework). Can Google Calendars accept a vcard/icalendar string as raw input, or can i send it via a post method in the Zend Google Calendars library?
Thanks
You can import into google calendar events via CSV files from the settings page. The only limitation to the csv file is that you can not import periodic events. For this you need to create a file of events that meets the specifications icalendar
I have created iCal event by using iCalcreator. I want to make the google calendar so that it syncs automatically. I can create the .ical file that I will be importing or adding by URL. After I login into Gmail it is working. How can I make my events to automatically add to calendar by using the URL dynamically?
would the feature under
other calendars
>import by URL
be what you are looking for?
provided your URL always points to the up to date calendar your google calendar will always be up to date (down to the synch frequency of google calendar) and you or anyone who you shared you google calendar url with will have access to it