Hey, I made a small revision to my Greasemonkey script that makes it smarter about handling time (particularly AM/PM).

It’s updated here and updated on Userscripts, where I’m up to like 566 installs! I’m a hit! Or something. And I’m like the 4th link in Google if you search for “google calendar evite!”

If you’ve got Greasemonkey, install your Evite to Google Calendar script right from here.

  One Response to “Evite to Google Calendar Greasemonkey Script v1.4”

  1. I just installed your script and it is probably the only option out there today for any remotely close to integrating evite with google calendar – and it does a darn good job too.

    One thing I have observed is that the “description” doesnt get captured properly (only the first word is captured).

    Other thing is I observed though is that Evite doesnt always have a “outlook” link under GUEST OPTIONS which is what this script looks for (“outlookLI”). So I made minor modification to it whereby it searches for the “td” with “GUEST OPTIONS” instead (yes a little more complicated but probably more failsafe) and it works better. At least it works on Firefox 2.

    I basically changed the last few lines of the script to:

    // Let’s find the LI element with the Outlook Calendar link and add our link after it
    var allLIs, outlookLI;
    allLIs = document.getElementsByTagName(‘td’);

    for (var i = 0; i < allLIs.length; i++) {

    var text = allLIs[i].innerHTML;
    var regEx = /GUEST OPTIONS/;
    if (text.match(regEx)) {
    outlookLI = allLIs[i];
    }
    }

    outlookLI.parentNode.nextSibling.nextSibling.firstChild.nextSibling.firstChild.nextSibling.insertBefore(gCalLink, outlookLI.parentNode.nextSibling.nextSibling.firstChild.nextSibling.firstChild.nextSibling.firstChild.nextSibling);

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2011 That Not So Fresh Feeling Suffusion theme by Sayontan Sinha