I am creating an Expression Engine Calendar using Solspace's Calendar module which exports .ics files. I would like for users to be able to click on a link to add events to their Google Calendar.
Google search we too broad and I need some more specific direction on how this might be done.
You mention that you are using a module that exports the ics files.
Generally link should then be to the ics file (or the code that produces the ics file dynamically).
Then when the user clicks the link, the browser sees it is an ics file and depending on the user's settings will prompt an action (usually to add to their calendar).
If you specifically only want to add to their google calendar, then you need to generate the sorts of link hrefs you see at this test site:
http://test.icalevents.com/calendar-of-all-events/
It has example of "add whole calendar to google) and "add just an event to google" (as well as the more general ics links).
Hope that makes it clearer?
If you just want to have links to add individual events to a visitor's calendar, follow the Google developer documentation here: http://www.google.com/googlecalendar/event_publisher_guide_detail.html
Then just use your various field variables to build the link to spec in your template.
Related
Customized event colors (foreground and background) are not preserved when you export a calendar since there is no reference on the generated ics file about them. When the calendar is imported from the ics file, all the event color settings are lost. Is there any way to preserve the event color information using the Google Calendar API ?. Thanks.
According to the post and further drilling down to this google calendar API post,
Google API calendar currently does support that.
currently I am using Google Calendar's XML feed for shared calendars to view when events are created and who created them. This works great, unfortunately, Google Calendar is getting rid of their XML feeds Nov 17, which is absurd but besides the point. Now I have a problem:
I have taken a look at the exported ICS file which tells me when an event was created but not the creator of the event, which is useless because there are 5 people sharing a calendar scheduling events and I need to know the author of the events. There is no specification for author in the ICS file (like there is with the author tag in the XML feed).
So the simple question is, with a shared calendar, is there a way to tell (without XML feeds) who created the event?
Thanks so much, Bob
I need to implement the GA tracking event for PDF file downloads, For that had searched a lot and found out many code where i can add some code to links and track them from GA's content section, But the problem is I do have a lot of PDF link on the page and don't want to edit every link and I want the code to be generic for future uploaded links also.
So what would be the best approach for this task, Any referral links would do or any code would be highly appreciated .
Thanks in advance.
You can explore the use of Google Tag Manager, where you can create a generic tag that will return to you information for each individual link. GTM uses things called "macros" which is like a template that returns useful information including the clicked element's ID, or pathname (which in your case for the PDF files, would all be different). So in this way, you would only need to call this macro each time a PDF file is clicked. No coding is involved using this standard approach through GTM. Here's a link to a descriptive explanation: http://porcelainduck.com/2014/03/track-pdf-downloads-google-tag-manager/. You can see that it uses the {{element URL}} macro that returns the PDF's unique URL. GTM not only applies to current links, but also all future links.
Based on the tags which you've used to mark your question with you're using C#, ASP.NET
If that's the case, can't you create a base page that on rendering replaces all the
I would recommend adding a click event with JQuery to all links or all links inside the download widget class. Inside the click handler I would then grab the link text and use that as part of the Google analytics event you fire.
I've created an iCal which I'm trying to use in Google Calendar, but no events are being displayed. The feed is at here. Each event looks like the following, and two iCal validators are telling me it's a valid file. Does google need an extra field for each entry?
I created my own iCal dumper at https://views.scraperwiki.com/run/days_of_the_year_1/ , which builds the source piece by piece. It won't work when I subscribe online via Google calendar, but if I save, then import the source the events are added. I guess there must be an out of place character in feed2ical's ouput.
I know it's been a long time, but I finally noticed that my old feed2ical script was busted in various ways. It should be fixed now and I put the source on github as well. Man I really didn't know python when I wrote that :) It's still pretty crappy code, but it validates now and works in Google Calendar, Apple's iCal, and Microsoft Outlook.
http://feed2ical.appspot.com, https://github.com/dsanvita/feed2ical
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.