<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>That Not So Fresh Feeling &#187; Firefox</title>
	<atom:link href="http://blog.ryantoohil.com/category/firefox/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.ryantoohil.com</link>
	<description>Stuff.</description>
	<lastBuildDate>Thu, 02 Feb 2012 20:04:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<copyright>2006-2007 </copyright>
	<managingEditor>ryan@ryantoohil.com (That Not So Fresh Feeling)</managingEditor>
	<webMaster>ryan@ryantoohil.com (That Not So Fresh Feeling)</webMaster>
	<ttl>1440</ttl>
	<image>
		<url>http://blog.ryantoohil.com/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>That Not So Fresh Feeling</title>
		<link>http://blog.ryantoohil.com</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>Just another place for just another jackass to rant about sports, politics, entertainment, technology, and life.</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>That Not So Fresh Feeling</itunes:author>
	<itunes:owner>
		<itunes:name>That Not So Fresh Feeling</itunes:name>
		<itunes:email>ryan@ryantoohil.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://blog.ryantoohil.com/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Evite to Google Calendar Greasemonkey Script</title>
		<link>http://blog.ryantoohil.com/2006/08/evite-to-google-calendar-greasemonkey-script.php</link>
		<comments>http://blog.ryantoohil.com/2006/08/evite-to-google-calendar-greasemonkey-script.php#comments</comments>
		<pubDate>Sun, 20 Aug 2006 00:09:30 +0000</pubDate>
		<dc:creator>Ryan Toohil</dc:creator>
				<category><![CDATA[Evite]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Google Calendar]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blog.ryantoohil.com/2006/08/evite-to-google-calendar-greasemonkey-script.php</guid>
		<description><![CDATA[I&#8217;ve been using Google Calendar for a while now. It&#8217;s not perfect, since I can&#8217;t sync it with my home and work Outlook calendars. That would be perfect (have GCal do a bi-directional sync with Outlook), but in the interim, the fact that I can have my calendar send me SMS alerts and have it <a href='http://blog.ryantoohil.com/2006/08/evite-to-google-calendar-greasemonkey-script.php'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.google.com/calendar/">Google Calendar</a> for a while now. It&#8217;s not perfect, since I can&#8217;t sync it with my home and work Outlook calendars. That would be perfect (have GCal do a bi-directional sync with Outlook), but in the interim, the fact that I can have my calendar send me SMS alerts and have it automagically pick up calendar items from GMail are enough to make it worthwhile for me.</p>
<p>The only annoying thing has been the fact that <a href="http://www.evite.com">Evite</a> (which is still really widely used) doesn&#8217;t have a &#8220;add this event to your Google Calendar&#8221; link in their interface, and I&#8217;m guessing, probably never will, as GCal has some Evite-like functionality, and Evite probably views that potential loss of ad revenue as too big of a risk. I won&#8217;t debate the validity of that argument, but simply say that I was getting frustrated at having to hand copy events from Evite to GCal.</p>
<p>I&#8217;d remember that I&#8217;d always want to write my own <a href="http://greasemonkey.mozdev.org/">Greasemonkey</a> script. For those unfamiliar with Greasemonkey, it&#8217;s a Firefox extension that allows you to insert content/functionality into an existing website. For instance, until Gmail added a delete button (a ridiculous UI oversight), there were numerous Greasemonkey scripts that let you add your own delete button. Pretty cool stuff. There&#8217;s thousands of scripts out there, most of which are just designed to increase the usability/functionality of some of the most popular web sites.</p>
<p>So I started hacking. It took me a while to get my brain back up-to-speed on Javascript, and then it took me even more time to work through all the hoops I needed to in order to get the info out of the Evite interface and into one that Google Calendar would like. After a few hours of hacking, my crude code was working. I had a nice link in the left-hand &#8220;tools box&#8221; on Evite, right under the &#8220;Add to Outlook&#8221; link that says &#8220;Add to Google Calendar.&#8221; When you click it, you get a Google Calendar Add Event page, with the data pretty filled.</p>
<p>So, I thought I&#8217;d share the script, for those who have wanted to do the same thing. It&#8217;s available right here:</p>
<p><a href="http://www.ryantoohil.com/Evite2GoogleCal.user.js">Evite to Google Calendar Greasemonkey Script</a></p>
<p>If you take a look at the code, you&#8217;ll notice is really, really, <em>really</em> hacky. I wasn&#8217;t quite smart enough to come up with an elegant way of translating the human friendly Evite time to less human friendly Google Calendar URL time. I tried some of the built-in Javascript UTC time conversion functions, but they weren&#8217;t having any of it. So I hacked my way around it.</p>
<p>I&#8217;ve already noticed one bug &#8212; if you don&#8217;t have a defined start and end time, it won&#8217;t create the link at all. I&#8217;m not sure how I&#8217;ll handle that (probably check to see if there&#8217;s a &#8220;to&#8221;, and if so, define the end time), but for now, it&#8217;ll cover the majority of invites with a start and end time.</p>
<p>I think.</p>
<p>I&#8217;ll gladly take any suggestions, improvements, bugfixes people want to send my way. Like I said, this is one of the hackiest hacks that ever hacked a hack, and it&#8217;s very likely that much of what I did was stupider like a fox.</p>
<p>If you find it useful, please let me know. I&#8217;ll at least use it until Evite decides to add it themselves.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryantoohil.com/2006/08/evite-to-google-calendar-greasemonkey-script.php/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

