Google import
Andrupal - March 8, 2007 - 03:14
| Project: | Calendar |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I'm getting "Invalid input file" errors when I try to import Google Calendar ical feed...I haven't tried any other feed sources to know if it works elsewhere...

#1
Others will work, like the feed from Upcoming.org. The Google feed was the most complicated. It worked at one time, but there have been changes since then and it may need tweaking. I'll investigate this.
#2
I have no problem importing from Google calendar. There are several possible problems:
- Are you using the iCal link rather than XML or HTML?
- Did you change 'webcal' to 'http" in the link address?
- Did you use the 'public' or 'private' link? If the calendar is private, only the private link will work.
#3
I'm changing the title so it's easier to see it is only a question about Google calendar and marking that it needs more info. You can come back and mark this active when you investigate the items I noted.
#4
Karen,
- Are you using the iCal link rather than XML or HTML?
YES
- Did you change 'webcal' to 'http" in the link address?
Yes, not applicable
- Did you use the 'public' or 'private' link? If the calendar is private, only the private link will work.
The calendar is public
Neither link works
#5
Can you provide the ical link you're trying to use? Why do you say 'not applicable' about changing webcal: to http:? The google links use webcal:// which won't work and must be changed to http://
#6
Thanks for following up so diligently.
Here's the ical link Google provides:
http://www.google.com/calendar/ical/humanitiesprep.org_dr2eetugi81l4gk57...
(Note the absence of "webcal")
#7
That link is not correct. Good links end with '.ics'. You'll know if you have a good link because if you paste it into your browser address window you will be prompted to download a ical file. If you follow the link you just provided you just get an error.
To get the correct link for a Google calendar you need to go to 'Manage Calendars' in your Google calendar, select the one you want to link to, and right click on the ical link to find the url. If you're in the right place, you'll see that there are both public and private links available. That's not a complete explanation, you'll have to read instructions on the Google site about how to link to the ical feed.
#8
Karen,
The link is correct, with .ics extension, and retrieved as you described.
This Drupal site is setup to truncate URLs so our posts don't mess up their lovely styling, so it appears cut off.
If you rightclick and select "copy link location" and paste into a browser you will see that the complete URL is there, just not displayed.
Best,
Andrew
#9