How do I combine a Google Calendar with a subscribed calendar? - google-calendar-api

I use Google Apps for my small business. So I have my main calendar there. I have a specific need:
I have more than one subscribed calendar, such as my travel itineraries from TripIt. They show up great when I look at my calendar, but are not visible to my colleagues unless I also share the TripIt calendar with them. I'd prefer a solution that duplicates the events on my TripIt calendar on my main Google Calendar so that my travel always shows. Is that possible?

Related

Add custom events to website user's google calendar using calendar api

I envision a user visiting my mobile website (not an app), finding an important event with an associated date, being asked if they want to sync this date/event to their google calendar, saying yes, and my website depositing this event into their google calendar.
Their would be many events, and they would be based on user input, so it wouldn't work to just sync my calendar with theirs. I would have to insert a custom date/event into their calendar so they could track it.
Hopefully this makes sense. I haven't seen anything like this on the web but I'm sure it exists.
Thanks,
S
Take a look at the Google Calendar Event Publisher Guide. It sounds like it will meet your needs.

Shared Google calendar: how to find who updated event?

My team is using google shared calendar. Sometimes members blow away some events, I would like to see if there is a way to find out 'last updated by' and 'who updated specific event'
I could not find setting in Google calendar.
Thanks
There is no way to do this. However, rather than giving users editor rights to the calendar, you could simply give them read or freebusy access to the calendar and configure the calendar to auto-accept the events. Then when users need to create events on the shared calendar, they'd invite the calendar rather than creating the event directly on it. This gives each user access to modify only the events they own on the calendar.

Google Analytics counter?

I have read a lot of places that you can count using Google Analytics. I already use it on my site to track visitors.
How would I track how many people have clicked a spesific button and show the number of times it has been clicked on another page?
You want to implement Event Tracking. As far as displaying the results on another page, Google doesn't support showing charts/graphics outside of the Google Analytics site. But you could find 3rd party app developers on the Apps Gallery which do this. I for one have created EmbeddedAnalytics for precisely this purpose. And we also support dimension filtering so you could create a chart to show your specific action clicks.
You can learn about the Google Analytics API at https://developers.google.com/analytics/devguides/reporting/core/v3/reference and even try it out interactively using http://ga-dev-tools.appspot.com/explorer/
If you use Drupal you can easily install module Google Analytics Counter that will automatically fetch and display pageviews collected by Google Analytics. Other CMS certainly have similar plugins.

Do we have Tasks in Google Calendar? If not then how it is managed during migration from Outlook to Google Calendar?

I want to make Task in Google Calendar using Google Calendar API : c#.
Before that i manually tried to create Task in Google Calendar.But i didn't found it there.
So, My question is that if Task doesn't exist in Google then how Google Tool For Calendar migration manage it?
Thanx
Tasks exist in Google Calendar.
Look at the link below "Quick add" at your left.
See the long blue section below the dates display but above the calendar field where you place your events? Click there. You will get an invitation to create either an event, or a task. If you choose task, it will appear right in that blue panel.

Is there anything wrong with the way I'm implementing a Calendar on my site?

I am setting up a website for students of a school, which must include a schedule page which will show a calendar with events populated by feeds from various teachers' calendars. After trying out a variety of scripts and tools made for showing calendars, I finally hit upon a very shoddy, hacked-together way of doing it, and I want to know if theres any specific things wrong with my implementation.
My requirements from this calendar are posted in a previous question
This is how my implementation is gonna work:
The teachers make their schedules in their own calendar programs and make those feeds available in the iCal format. A common Google account for the school subcribes to all these calendars, and so gets read only access to ALL the teacher's schedules in school.
Google Calendar has a feature that lets you select some of your calendars, and then get the html code for an iframe to embed on your website, so that visitors to the site can see what events are coming up. When I experimented around with the options in the Google 'Configurator', I found that by simply including certain codes in the url called for the iframe contents, you could change which calendars were visible. These codes, or calendar ids, are clearly displayed in the settings for each calendar. Thus, my final solution is thus:
For every student, there is a record stating which courses he has taken, and hence which calendars he should be shown. With some SQL magic, I can retrieve the calendar ids from a pre-prepared database of all the calendar ids, and then generate the correct url for the iframe using php, and display it.
I hope that wasn't too convoluted to understand. Now can anyone tell me if there are any inherent security flaws or bad programming practices etc in this. Something about the whole idea of dynamically generating urls, using iframes, using a common google account etc just screams 'Mistake!'. Can someone tell me if this is an ok way to go about it, or is there some problem with it?
Actually, I think your solution has the potential to be very secure. Using a single google account to collect the read-only calendars into one place is just an organizational shortcut. As long as the calendars themselves are read-only, your single account contains nothing that isn't already public.
Generating URLs is perfectly reasonable, as long as you are combining strings that you've sanitized beforehand. Since your database can only get calendar IDs from your aggregation google account, you know that potentially malicious users can't cause arbitrary characters to end up in your synthesized URLs.
The biggest problem you'll probably run into is that the google embedded calendar iframe only allows up to ten calendar feeds.
The most likely security vulnerability you'll face is the security of all of the teachers' google calendars.
By default, google calendars accept "invitations" and post them as events. You might find that anyone can "invite" a teacher's calendar to prank events and those prank events will then show up on student calendars.

Resources