<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Google Calendar API &#8211; Creating a new Calendar with ColdFusion</title>
	<atom:link href="http://www.webapper.com/blog/index.php/2008/01/31/google-calendar-api-creating-a-new-calendar-with-coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webapper.com/blog/index.php/2008/01/31/google-calendar-api-creating-a-new-calendar-with-coldfusion/</link>
	<description>Web Application Engineers</description>
	<lastBuildDate>Mon, 05 Dec 2011 17:24:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Clif</title>
		<link>http://www.webapper.com/blog/index.php/2008/01/31/google-calendar-api-creating-a-new-calendar-with-coldfusion/comment-page-1/#comment-658</link>
		<dc:creator>Clif</dc:creator>
		<pubDate>Fri, 10 Oct 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.webapper.net/blog/index.cfm/2008/6/30/Google-Calendar-API--Creating-a-new-Calendar-with-ColdFusion#comment-658</guid>
		<description>I hope you&#039;re still monitoring this...

When I post the request to Google I&#039;m getting a 200 OK status (not an error) with an XML packet matching what you would get if you just requested a list of calendars, and the calendar is not being created.

Here&#039;s what I&#039;m doing (hope this doesn&#039;t get mangled):

&lt;cfsavecontent variable=&quot;calendarXML&quot;&gt;
			&lt;entry xmlns=&#039;http://www.w3.org/2005/Atom&#039; 
				   xmlns:gd=&#039;http://schemas.google.com/g/2005&#039; 
				   xmlns:gCal=&#039;http://schemas.google.com/gCal/2005&#039;&gt;
			  &lt;title type=&#039;text&#039;&gt;Test Calendar 3&lt;/title&gt;
			  &lt;summary type=&#039;text&#039;&gt;Calendar Description&lt;/summary&gt;
			  &lt;gCal:timezone value=&#039;America/Los_Angeles&#039;&gt;&lt;/gCal:timezone&gt;
			  &lt;gCal:hidden value=&#039;false&#039;&gt;&lt;/gCal:hidden&gt;
			  &lt;gCal:color value=&#039;#2952A3&#039;&gt;&lt;/gCal:color&gt;
			  &lt;gCal:accesslevel value=&#039;owner&#039;/&gt;
			&lt;/entry&gt;
		&lt;/cfsavecontent&gt;

		&lt;cfoutput&gt;
			&lt;cfhttp url=&quot;http://www.google.com/calendar/feeds/default/owncalendars/full&quot; method=&quot;post&quot; redirect=true&gt;
			  &lt;cfhttpparam type=&quot;header&quot; name=&quot;Authorization&quot; value=&quot;GoogleLogin auth=#test.auth#&quot;&gt;
			  &lt;cfhttpparam type=&quot;header&quot; name=&quot;Content-Type&quot; value=&quot;application/atom+xml&quot;&gt;
			  &lt;cfhttpparam type=&quot;body&quot; value=&quot;#trim(calendarXML)#&quot;&gt;
		   &lt;/cfhttp&gt;

		   &lt;cfif find(&quot;302&quot;, cfhttp.statusCode)&gt;
			  &lt;cfset gsessionid = listlast(cfhttp.responseheader.location, &quot;=&quot;)&gt;
			  ** Got 302 redirect **&lt;br&gt;
				&lt;cfhttp url=&quot;http://www.google.com/calendar/feeds/default/owncalendars/full?gsessionid=#gsessionid#&quot; method=&quot;post&quot; redirect=false&gt;
					&lt;cfhttpparam type=&quot;header&quot; name=&quot;Authorization&quot; value=&quot;GoogleLogin auth=#test.auth#&quot;&gt;
					&lt;cfhttpparam type=&quot;header&quot; name=&quot;Content-Type&quot; value=&quot;application/atom+xml&quot;&gt;
					&lt;cfhttpparam type=&quot;body&quot; value=&quot;#trim(calendarXML)#&quot;&gt;
				&lt;/cfhttp&gt;
		   &lt;/cfif&gt;
		&lt;/cfoutput&gt;

Any help would be appreciated :)</description>
		<content:encoded><![CDATA[<p>I hope you&#8217;re still monitoring this&#8230;</p>
<p>When I post the request to Google I&#8217;m getting a 200 OK status (not an error) with an XML packet matching what you would get if you just requested a list of calendars, and the calendar is not being created.</p>
<p>Here&#8217;s what I&#8217;m doing (hope this doesn&#8217;t get mangled):</p>
<p>&lt;cfsavecontent variable=&quot;calendarXML&quot;&gt;<br />
			&lt;entry xmlns=&#8217;http://www.w3.org/2005/Atom&#8217;<br />
				   xmlns:gd=&#8217;http://schemas.google.com/g/2005&#8242;<br />
				   xmlns:gCal=&#8217;http://schemas.google.com/gCal/2005&#8242;&gt;<br />
			  &lt;title type=&#8217;text&#8217;&gt;Test Calendar 3&lt;/title&gt;<br />
			  &lt;summary type=&#8217;text&#8217;&gt;Calendar Description&lt;/summary&gt;<br />
			  &lt;gCal:timezone value=&#8217;America/Los_Angeles&#8217;&gt;&lt;/gCal:timezone&gt;<br />
			  &lt;gCal:hidden value=&#8217;false&#8217;&gt;&lt;/gCal:hidden&gt;<br />
			  &lt;gCal:color value=&#8217;#2952A3&#8242;&gt;&lt;/gCal:color&gt;<br />
			  &lt;gCal:accesslevel value=&#8217;owner&#8217;/&gt;<br />
			&lt;/entry&gt;<br />
		&lt;/cfsavecontent&gt;</p>
<p>		&lt;cfoutput&gt;<br />
			&lt;cfhttp url=&quot;http://www.google.com/calendar/feeds/default/owncalendars/full&quot; method=&quot;post&quot; redirect=true&gt;<br />
			  &lt;cfhttpparam type=&quot;header&quot; name=&quot;Authorization&quot; value=&quot;GoogleLogin auth=#test.auth#&quot;&gt;<br />
			  &lt;cfhttpparam type=&quot;header&quot; name=&quot;Content-Type&quot; value=&quot;application/atom+xml&quot;&gt;<br />
			  &lt;cfhttpparam type=&quot;body&quot; value=&quot;#trim(calendarXML)#&quot;&gt;<br />
		   &lt;/cfhttp&gt;</p>
<p>		   &lt;cfif find(&quot;302&quot;, cfhttp.statusCode)&gt;<br />
			  &lt;cfset gsessionid = listlast(cfhttp.responseheader.location, &quot;=&quot;)&gt;<br />
			  ** Got 302 redirect **&lt;br&gt;<br />
				&lt;cfhttp url=&quot;http://www.google.com/calendar/feeds/default/owncalendars/full?gsessionid=#gsessionid#&quot; method=&quot;post&quot; redirect=false&gt;<br />
					&lt;cfhttpparam type=&quot;header&quot; name=&quot;Authorization&quot; value=&quot;GoogleLogin auth=#test.auth#&quot;&gt;<br />
					&lt;cfhttpparam type=&quot;header&quot; name=&quot;Content-Type&quot; value=&quot;application/atom+xml&quot;&gt;<br />
					&lt;cfhttpparam type=&quot;body&quot; value=&quot;#trim(calendarXML)#&quot;&gt;<br />
				&lt;/cfhttp&gt;<br />
		   &lt;/cfif&gt;<br />
		&lt;/cfoutput&gt;</p>
<p>Any help would be appreciated <img src='http://www.webapper.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Nelson</title>
		<link>http://www.webapper.com/blog/index.php/2008/01/31/google-calendar-api-creating-a-new-calendar-with-coldfusion/comment-page-1/#comment-659</link>
		<dc:creator>Steve Nelson</dc:creator>
		<pubDate>Fri, 10 Oct 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.webapper.net/blog/index.cfm/2008/6/30/Google-Calendar-API--Creating-a-new-Calendar-with-ColdFusion#comment-659</guid>
		<description>Sorry for the 8 month delay. :-) I&#039;ve been loaded with work. If you&#039;re willing to try and figure some of it out yourself, shoot me an email and I&#039;ll send the cfcs to you. snelson (at) webapper.com</description>
		<content:encoded><![CDATA[<p>Sorry for the 8 month delay. <img src='http://www.webapper.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I&#8217;ve been loaded with work. If you&#8217;re willing to try and figure some of it out yourself, shoot me an email and I&#8217;ll send the cfcs to you. snelson (at) webapper.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Julian</title>
		<link>http://www.webapper.com/blog/index.php/2008/01/31/google-calendar-api-creating-a-new-calendar-with-coldfusion/comment-page-1/#comment-657</link>
		<dc:creator>Steve Julian</dc:creator>
		<pubDate>Wed, 07 May 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.webapper.net/blog/index.cfm/2008/6/30/Google-Calendar-API--Creating-a-new-Calendar-with-ColdFusion#comment-657</guid>
		<description>When and where are you going to post the finished CFC&#039;s ? Thanks</description>
		<content:encoded><![CDATA[<p>When and where are you going to post the finished CFC&#8217;s ? Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Nelson</title>
		<link>http://www.webapper.com/blog/index.php/2008/01/31/google-calendar-api-creating-a-new-calendar-with-coldfusion/comment-page-1/#comment-656</link>
		<dc:creator>Steve Nelson</dc:creator>
		<pubDate>Thu, 31 Jan 2008 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.webapper.net/blog/index.cfm/2008/6/30/Google-Calendar-API--Creating-a-new-Calendar-with-ColdFusion#comment-656</guid>
		<description>By the way, in the test file, don&#039;t forget to change the token and gsessionid values. I named the token poorly. I should have named it: AuthSubSessionToken I&#039;ll do that in the cfc I release.

If you get this to work, please let me know. I&#039;m curious if anyone is actually following along. :-)</description>
		<content:encoded><![CDATA[<p>By the way, in the test file, don&#8217;t forget to change the token and gsessionid values. I named the token poorly. I should have named it: AuthSubSessionToken I&#8217;ll do that in the cfc I release.</p>
<p>If you get this to work, please let me know. I&#8217;m curious if anyone is actually following along. <img src='http://www.webapper.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

