Evite2GoogleCal

By Ryan Toohil Last update Nov 28, 2009 — Installed 1,534 times. Daily Installs: 0, 0, 3, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 4, 4, 0, 3, 1, 0, 3, 0, 0, 0, 2, 1, 1, 9, 1, 1, 1, 0

Archived Comments (locked)

Subscribe to Archived Comments 15 posts, 10 voices

Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Eric Muntz Scriptwright

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.

 
Robert Ragland User

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!

 
gottaloveit User

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.

 
alice tiara User

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!

 
vtwaldo User
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...
 
Ryan Toohil Script's Author

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

 
Ryan Toohil Script's Author

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.

 
BQ User

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:>

 
Ryan Toohil Script's Author

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

 
Ryan Toohil Script's Author

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.

 
Ryan Toohil Script's Author

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.

 
am User

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.

 
Brandon Chiang User

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

 
Ryan Toohil Script's Author

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

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel