Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Evite2GoogleCal

Add an "Add to Google Calendar" link to Evite

A simple script that adds an "Add to Google Calendar" link to those pesky Evite invitations. It allows you to quickly add an Evite into your Google Calendar.






1 point
login to vote
Eric Muntz scriptwright
Posted Sep 8, 2008

I just installed it and used it and it was pretty good. It was hard to find the newly added link, but I've never paid much attention to the "guest options" anyway (I had to search for "google" in the page to find your link). It'd be nice to either put the link next to the date, or at least in the description of this script, note where the link is added.

Otherwise, great script, and thanks for solving that pesky little problem.

1 point
login to vote
Posted Aug 15, 2008

Does this work for all Evites? I am using Firefox 3, with a Mac OS X computer. I see the Gcal link on one evite, and not another.

The script references looking for an Outlook html link, but not the iCal link. Should this be an either/or branch in the code, to account for Mac users?

Thanks!

1 point
login to vote
Posted Jul 12, 2008

i just installed, and get this when tried to add to my google calendar

      Google Error
      
      Bad Request
      Your client has issued a malformed or illegal request.
      

I dont want to post the URL it tired to use because i dont want to have it public, so if your interested in seeing the problem, ask me and i can send it to you.

1 point
login to vote
Posted Apr 3, 2008

Great script Ryan, thanks!

Two things:
1) Date is in DD/MO/YEAR rather than MO/DD/YEAR (I'm in the US) - I recognize this may be a localization difference, but shouldn't Evite itself know whether the user is using one format or the other?

2) Time is on 24/hour clock rather than 12 hour. Again, couldn't this be pulled from Evite?

Thanks for the script!

1 point
login to vote
vtwaldo user
Posted Oct 19, 2007
I think it would be nice to add a link to the actual evite in the details of the google calendar. Something like adding
      Details += escape('
'+ top.location);
Great idea and implementation still...
1 point
login to vote
Ryan Toohil script's author
Posted Oct 12, 2007

Made a small change to do a better job detecting AM/PM.

1 point
login to vote
Ryan Toohil script's author
Posted Aug 13, 2007

I haven't seen the new Evites -- if I get one, I'll try to see if I can munge things to make it work.

I can definitely start to update the version number. I've been lazy about that for sure.

Finally, I've seen AM/PM discrepancy once, but it doesn't always seem to bite me. If I get some time this week, I'll send myself some Evites and see if I can figure it out.

1 point
login to vote
BQ user
Posted Aug 3, 2007

Ryan,

Great idea for a script; very glad I found it.

I was wondering if you were planning on upgrading it to handle the newer Evite invitations (the ones that open like a card). I'm not sure if you've seen them, but a couple friends started using them within the past couple months. They break your script since they're a totally different layout... even requiring another click to open the "card" and view the details.

Also, I'm seeing a couple issues with the current script on the standard Evites. First, I'm getting the event created 12 hours early (8AM instead of 8PM; in Evite the "PM" is in caps for me... haven't looked at your RegEx yet to check how you're doing it). Secondly, (as you noted in a post) I'm also getting the details field as "<phone:>" I'll look into these myself when I get some time as well.

And one other suggestion: Any way you can include a version number in the source? That way it's easier for someone noticing bugs to ensure they're on the most current version (rather than resorting to a diff). Thanks!</phone:>

1 point
login to vote
Ryan Toohil script's author
Posted Jun 26, 2007

Made another few changes to deal with some Evite changes. Hopefully the script is a bit more robust now in handling future Evite updates.

1 point
login to vote
Ryan Toohil script's author
Posted Apr 21, 2007

Fixed the script so that it should auto-detect your timezone. Also makes sure to pad a single day out to two digits, which was messing up on days from 1-9.

I don't think Evite has a standard format of where the "details" will always be, so sometimes it'll grab the Phone field, sometimes the data.

So those two bugs should be fixed.

1 point
login to vote
Ryan Toohil script's author
Posted Apr 21, 2007

I think timezones can screw things up. I'm trying to figure out the best way to do that.

And Evite might have changed the format, as I found an Evite that broke my script. I'll try to figure it out.

1 point
login to vote
am user
Posted Apr 13, 2007

Just used it for the first time. The time was wrong, 4pm instead of 6pm, how's that even possible? ;) The phone field wasn't correctly added to the description, all it added was "Phone: ". The invite had two phone numbers listed.

But great idea, hope you can iron out the bugs. Let me know if you need help with testing.

1 point
login to vote
Posted Apr 5, 2007

nice try. mostly worked.

i think it only pulled the first word of the event
date was right
time was 2 hours off
address was right
phone number didn't carry over

1 point
login to vote
Ryan Toohil script's author
Posted Mar 13, 2007

How's this script working out for people who've installed it? Any feedback on my wonky code?

You could comment on this script if you were logged in.