google calendar functions - php

does anyone know how to create a form to add a google calendar event? It has to have tons of additional fields that just need to go into the body of the event. The code I got from the API is nonfunctional. I'd like to do it with php

You can create your own form however you like. That really does not have any connection to the API.
In order to manipulate Google Calendar from your own site you will have to use the Google Calendar Data API.
The official guide to it is here: http://code.google.com/apis/calendar/data/2.0/developers_guide.html
If you want to use PHP I would highly recommend using the Zend Framework, since it makes using the API a lot easier.
Zend has the functionality to deal with the Google Calendar API.
Documentation is here:
http://framework.zend.com/manual/en/zend.gdata.calendar.html

Related

Syncing a custom made(PHP) calendar with iCal/Google calendar?

I developed a calendar on my intranet using PHP, it exports a "*.ics" file that can be imported to iCal and Google calendar. But the project sponsor requires that the calendar auto sync with iCal/Google cal, I'm not sure if it's possible, or how to do it. Can anyone point me to the right direction? Thanks!
You can export google calendar content into a special XML file through a public URL. All you have to do is to periodically synchronize your calendar data with the online data.
Check this url:
Exporting google calendar
Alternatively you could check out other, already working implementations.
Here is a nice tutorial:
Goole Celendar API Guide for PHP
Also, have a look at this question:
Another Stackoverflow question in the topic

Get and put event google calender

I'm creating a website to manage my colleague's work load (you know assign stuff to them).
I want to use Google calendar to know their free times. Is it possible to get their events from Google calendar and then send mine? (to prevent any possible overlaps)
My language is PHP btw
You can do this using the Google APIs Client Library for PHP.
There a Simple example for using the calendar API.

How can I sync events from yahoo/google calendar with MySql? - in PHP for a web app

I want to make a web app that will show some data from a MySQL database, and I need it to be able to connect to Yahoo/Google calendars from each user, so the user will add his calendar when he registers. Is that possible?
Google Calendar allows Web application developers to access user-generated content and event information through its REST-based Developer API. PHP's SimpleXML extension and Zend's GData Library are ideal for processing the XML feeds generated by this API and using them to build customized PHP applications. This article introduces the Google Calendar Data API, demonstrates how you can use it to browse user-generated calendars; add and update calendar events; and perform keyword searches.
Here is the article tutorial for that go to this link and learn how to do that. I think that will help you.

How to create a calendar which is getting its data from 4-5 different rss feeds

How should I create a calendar for a website, which is getting its data from 4-5 different rss feeds.
I want to use php to do this.
I was thinking google calendars would be the solution, if you too think that, can you plz direct me to a good google calendar tutorial, where I can learn how to embed a google calendar into a website.
Regards
Zeeshan
I don't know how much interaction you want. The basic idea could be this.
Then you could embed the calendar like described here
Or if you want a more privacy concerned version you could make your own by starting with this post.

Zend Framework Project - Calendar: Need web calendar with events (like google calendar) for every user separately

I doing multi users website (it should works for more than 100,000 users) with Zend Framework.
I need to create event calendar like google calendar (If it was possible to use google calendar i will do it- please tell me).
I have to do that from zero or exist some good Calendar that will work well with Zend?
Thanks
Check out full calendar by Arshaw.
This is a jQuery plugin that provides a full-sized, drag & drop calendar just like google calendar. one can also customize it easily.
Full Calenadar Link.
There are some calendars proposals on ZF, e.g. this Zend_Calendar proposal. You can easily extend it with Google Calendar as a data provider.
Take a look at alternative to Google Calendar, written in jQuery: wdCalendar as well.
If you want to do it with Google Calendar, have a look at Zend_Gdata:
Google Data APIs provide programmatic interface to some of Google's online services. The Google data Protocol is based upon the ยป Atom Publishing Protocol and allows client applications to retrieve data matching queries, post data, update data and delete data using standard HTTP and the Atom syndication formation. The Zend_Gdata component is a PHP 5 interface for accessing Google Data from PHP. The Zend_Gdata component also supports accessing other services implementing the Atom Publishing Protocol.
Specifically the chapter on Using Google Calendar:
You can use the Zend_Gdata_Calendar class to view, create, update, and delete events in the online Google Calendar service.
Also see http://code.google.com/apis/gdata/ for more information about Google Data API.
Also see the answers to these questions:
Know of any open source Zend Framework calendar?
Which PHP calendar will suit my needs? Or build my own?
Calendar using Javascript/ PHP/ mySQL
I think that you could use Google Calendar Api. You would need to create a calendar for each user using Calendar Data API. And when a user is logged show him his calendar in a google calendar embed. I didn't try that, but I will try tomorrow. If it is not posible I will let you know.

Categories