<?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; Javascript</title>
	<atom:link href="http://blog.ryantoohil.com/category/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.ryantoohil.com</link>
	<description>Stuff.</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:16:20 +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>Updated Evite2GoogleCal Greasemonkey Script</title>
		<link>http://blog.ryantoohil.com/2009/11/updated-evite2googlecal-greasemonkey-script.php</link>
		<comments>http://blog.ryantoohil.com/2009/11/updated-evite2googlecal-greasemonkey-script.php#comments</comments>
		<pubDate>Sat, 28 Nov 2009 04:10:34 +0000</pubDate>
		<dc:creator>Ryan Toohil</dc:creator>
				<category><![CDATA[Evite]]></category>
		<category><![CDATA[Google Calendar]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blog.ryantoohil.com/?p=407</guid>
		<description><![CDATA[With the holiday season upon us, I got a few Evites that broke my Greasemonkey script to add Evite invitations to your Google Calendar. I went through and cleaned up the code a bit, and I think it&#8217;ll work a bit better now. You&#8217;ll find the &#8220;Add to Google Calendar&#8221; link next to the Print <a href='http://blog.ryantoohil.com/2009/11/updated-evite2googlecal-greasemonkey-script.php'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>With the holiday season upon us, I got a few Evites that broke my Greasemonkey script to add Evite invitations to your Google Calendar. I went through and cleaned up the code a bit, and I think it&#8217;ll work a bit better now.</p>
<p>You&#8217;ll find the &#8220;Add to Google Calendar&#8221; link next to the Print link on most invites.</p>
<p><a href="http://www.ryantoohil.com/Evite2GoogleCal.user.js">Evite2GoogleCal.user.js v1.2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryantoohil.com/2009/11/updated-evite2googlecal-greasemonkey-script.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evite to Google Calendar Greasemonkey Script v1.3</title>
		<link>http://blog.ryantoohil.com/2007/06/evite-to-google-calendar-greasemonkey-script-v13.php</link>
		<comments>http://blog.ryantoohil.com/2007/06/evite-to-google-calendar-greasemonkey-script-v13.php#comments</comments>
		<pubDate>Tue, 26 Jun 2007 02:17:30 +0000</pubDate>
		<dc:creator>Ryan Toohil</dc:creator>
				<category><![CDATA[Google Calendar]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blog.ryantoohil.com/2007/06/evite-to-google-calendar-greasemonkey-script-v13.php</guid>
		<description><![CDATA[I&#8217;d noticed a couple of problems with my Evite to Google Calendar script, so when I got an Evite today, I took some time to figure out how to fix it. I fixed everything I could find, and made the script a bit more robust at handling future Evite changes. So, if you&#8217;ve been having <a href='http://blog.ryantoohil.com/2007/06/evite-to-google-calendar-greasemonkey-script-v13.php'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d noticed a couple of problems with my <a href="http://blog.ryantoohil.com/2007/01/evite-to-google-calendar-greasemonkey-script-v11.php" title="Evite to Google Calendar">Evite to Google Calendar script</a>, so when I got an Evite today, I took some time to figure out how to fix it. I fixed everything I could find, and made the script a bit more robust at handling future Evite changes. So, if you&#8217;ve been having problems, give it another shot and hopefully it&#8217;ll work for you now.</p>
<p><a href="http://www.ryantoohil.com/Evite2GoogleCal.user.js" title="Evite to Google Calendar">Install Evite to Google Calendar Greasemonkey Script v1.3</a></p>
<p>You can also install it from <a href="http://userscripts.org/scripts/show/7271" title="Evite to Google Calendar at UserScripts">UserScripts</a>, like 387 other people.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryantoohil.com/2007/06/evite-to-google-calendar-greasemonkey-script-v13.php/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Evite to Google Calendar Greasemonkey Script v1.1</title>
		<link>http://blog.ryantoohil.com/2007/01/evite-to-google-calendar-greasemonkey-script-v11.php</link>
		<comments>http://blog.ryantoohil.com/2007/01/evite-to-google-calendar-greasemonkey-script-v11.php#comments</comments>
		<pubDate>Thu, 11 Jan 2007 02:45:48 +0000</pubDate>
		<dc:creator>Ryan Toohil</dc:creator>
				<category><![CDATA[Evite]]></category>
		<category><![CDATA[Google Calendar]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blog.ryantoohil.com/2007/01/evite-to-google-calendar-greasemonkey-script-v11.php</guid>
		<description><![CDATA[I got a nice trackback from the arc of time blog on my earlier post about creating a crappy little Greasemonkey script to let me quickly add Evite events into my Google Calendar. What that reminded me of was the fact that the script didn&#8217;t work for events that didn&#8217;t have an end time (and <a href='http://blog.ryantoohil.com/2007/01/evite-to-google-calendar-greasemonkey-script-v11.php'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I got a nice trackback from the arc of time blog on my earlier post about creating a crappy little <a href="http://blog.ryantoohil.com/2006/08/evite-to-google-calendar-greasemonkey-script.php">Greasemonkey script to let me quickly add Evite events into my Google Calendar</a>. What that reminded me of was the fact that the script didn&#8217;t work for events that didn&#8217;t have an end time (and also got messed up with the time change).</p>
<p>Well, I fixed it. And now you can download the new version of the script that will let you, at least as far as far as I&#8217;ve tested, add any Evite directly into your Google Calendar. If there&#8217;s an end time, it&#8217;ll be set. If there&#8217;s not, your start and end time will be the same, but you can quickly tweak that.</p>
<p>It all seems to work.</p>
<p>To use it, I&#8217;m assuming you have <a href="http://greasemonkey.mozdev.org/">Greasemonkey</a>. If not, go get it.</p>
<p>Then, install this user script: <a href="http://www.ryantoohil.com/Evite2GoogleCal.user.js">Evite to Google Calendar</a></p>
<p>That&#8217;s it. Go to any open Evite. You&#8217;ll see a column on the left that looks like the image below.<br />
<img id="image195" alt="Evite2GCal" src="http://blog.ryantoohil.com/wp-content/uploads/2007/01/evite2gcal.jpg" /><br />
Note the link circled in red. That&#8217;s what the script adds. Click that. You&#8217;ll be whisked away to Google Calendar where you can quickly add the event and be done with Evite.</p>
<p>Again, I think it works. It at least works on what I&#8217;ve tested it on. Give it a shot. Let me know. If you like it, link to my blog so I can be the coolest.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryantoohil.com/2007/01/evite-to-google-calendar-greasemonkey-script-v11.php/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<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>

