<?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: How to connect to Google Analytics Data API in AIR</title>
	<atom:link href="http://www.zedia.net/2009/how-to-connect-to-google-analytics-data-api-in-air/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zedia.net/2009/how-to-connect-to-google-analytics-data-api-in-air/</link>
	<description>Flash, ActionScript, SEO and everything in between</description>
	<lastBuildDate>Fri, 30 Jul 2010 20:58:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: leef</title>
		<link>http://www.zedia.net/2009/how-to-connect-to-google-analytics-data-api-in-air/comment-page-1/#comment-5335</link>
		<dc:creator>leef</dc:creator>
		<pubDate>Fri, 30 Jul 2010 17:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=415#comment-5335</guid>
		<description>I replaced hurlant&#039;s TLSSocket with SecureSocket &amp; removed the startTLS line, and your package seems to work great with SecureSocket.</description>
		<content:encoded><![CDATA[<p>I replaced hurlant&#8217;s TLSSocket with SecureSocket &amp; removed the startTLS line, and your package seems to work great with SecureSocket.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leef</title>
		<link>http://www.zedia.net/2009/how-to-connect-to-google-analytics-data-api-in-air/comment-page-1/#comment-5334</link>
		<dc:creator>leef</dc:creator>
		<pubDate>Fri, 30 Jul 2010 17:09:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=415#comment-5334</guid>
		<description>Thanks for this resource, bummer that connecting to HTTPS services are as complex as they are in AS3, I was hoping for a higher level API from Adobe but am very appreciative of what you&#039;ve built on hurlant&#039;s TLS classes!</description>
		<content:encoded><![CDATA[<p>Thanks for this resource, bummer that connecting to HTTPS services are as complex as they are in AS3, I was hoping for a higher level API from Adobe but am very appreciative of what you&#8217;ve built on hurlant&#8217;s TLS classes!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: danel kirch</title>
		<link>http://www.zedia.net/2009/how-to-connect-to-google-analytics-data-api-in-air/comment-page-1/#comment-5254</link>
		<dc:creator>danel kirch</dc:creator>
		<pubDate>Wed, 30 Jun 2010 22:35:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=415#comment-5254</guid>
		<description>Is it possible to authenicate on Joomla CMS with this ?

Ive been sitting here hours now and no success,  so now i wonder if its even possible.

anykind of example that would help out ?</description>
		<content:encoded><![CDATA[<p>Is it possible to authenicate on Joomla CMS with this ?</p>
<p>Ive been sitting here hours now and no success,  so now i wonder if its even possible.</p>
<p>anykind of example that would help out ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chrillo</title>
		<link>http://www.zedia.net/2009/how-to-connect-to-google-analytics-data-api-in-air/comment-page-1/#comment-4863</link>
		<dc:creator>chrillo</dc:creator>
		<pubDate>Thu, 04 Mar 2010 10:36:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=415#comment-4863</guid>
		<description>HI 
I just want to say thank you so much. I spent an entire day trying to work around that issue and thanks to your post it took me just 10 minutes to get it running in the end. THANK YOU!</description>
		<content:encoded><![CDATA[<p>HI<br />
I just want to say thank you so much. I spent an entire day trying to work around that issue and thanks to your post it took me just 10 minutes to get it running in the end. THANK YOU!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: skwasha</title>
		<link>http://www.zedia.net/2009/how-to-connect-to-google-analytics-data-api-in-air/comment-page-1/#comment-4008</link>
		<dc:creator>skwasha</dc:creator>
		<pubDate>Fri, 25 Sep 2009 05:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=415#comment-4008</guid>
		<description>Had to make 2 slight mods to get this to work.

1) in _onLoaderComplete, stripped trailing linefeed from auth token that was causing errors.
var  _authToken:String = String(tempArray[1]).replace(&#039;\n&#039;,&#039;&#039;);

2) also in _onLoaderComplete, added an additional header for Data API access.
request.addHeader(&quot;GData-Version&quot;, &quot;3.0&quot;);</description>
		<content:encoded><![CDATA[<p>Had to make 2 slight mods to get this to work.</p>
<p>1) in _onLoaderComplete, stripped trailing linefeed from auth token that was causing errors.<br />
var  _authToken:String = String(tempArray[1]).replace(&#8216;\n&#8217;,&#8221;);</p>
<p>2) also in _onLoaderComplete, added an additional header for Data API access.<br />
request.addHeader(&#8220;GData-Version&#8221;, &#8220;3.0&#8243;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Green</title>
		<link>http://www.zedia.net/2009/how-to-connect-to-google-analytics-data-api-in-air/comment-page-1/#comment-3869</link>
		<dc:creator>Nick Green</dc:creator>
		<pubDate>Thu, 30 Jul 2009 16:50:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=415#comment-3869</guid>
		<description>I figured out the issue.  In the AS3 implementation of HTTPClient (Rather than the MXML implementation) there isn&#039;t a parameter defining the type of data returned.  The result is an object, rather than an E4X navigable XML.  It can be converted using the code below:

reportXML = new XML(_thirdBuffer);
dataXML = reportXML as XML; //This second casting is the key step
		       		
var dxpNS:Namespace = dataXML.namespace(&quot;dxp&quot;);

var dXMLList:XMLList = dataXML..dxpNS::dimension.@value;
var mXMLList:XMLList = dataXML..dxpNS::metric.@value;</description>
		<content:encoded><![CDATA[<p>I figured out the issue.  In the AS3 implementation of HTTPClient (Rather than the MXML implementation) there isn&#8217;t a parameter defining the type of data returned.  The result is an object, rather than an E4X navigable XML.  It can be converted using the code below:</p>
<p>reportXML = new XML(_thirdBuffer);<br />
dataXML = reportXML as XML; //This second casting is the key step</p>
<p>var dxpNS:Namespace = dataXML.namespace(&#8220;dxp&#8221;);</p>
<p>var dXMLList:XMLList = dataXML..dxpNS::dimension.@value;<br />
var mXMLList:XMLList = dataXML..dxpNS::metric.@value;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zedia.net</title>
		<link>http://www.zedia.net/2009/how-to-connect-to-google-analytics-data-api-in-air/comment-page-1/#comment-3860</link>
		<dc:creator>zedia.net</dc:creator>
		<pubDate>Wed, 22 Jul 2009 18:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=415#comment-3860</guid>
		<description>&lt;a href=&quot;#comment-3859&quot; rel=&quot;nofollow&quot;&gt;@Nick Green&lt;/a&gt; 
I actually stoped working on this as soon as I got the Flash/online version to work, so I haven&#039;t parsed the XML yet. One thing I noticed though that there might be an added character that you don&#039;t need before the XML start so you might want to check it out.</description>
		<content:encoded><![CDATA[<p><a href="#comment-3859" rel="nofollow">@Nick Green</a><br />
I actually stoped working on this as soon as I got the Flash/online version to work, so I haven&#8217;t parsed the XML yet. One thing I noticed though that there might be an added character that you don&#8217;t need before the XML start so you might want to check it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Green</title>
		<link>http://www.zedia.net/2009/how-to-connect-to-google-analytics-data-api-in-air/comment-page-1/#comment-3859</link>
		<dc:creator>Nick Green</dc:creator>
		<pubDate>Wed, 22 Jul 2009 17:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=415#comment-3859</guid>
		<description>I got pulled onto another project just after implementing this.  A couple other developers and I have worked with this, but have had issues casting the result as correctly parsable XML.  

I&#039;ve checked a few HttpClient documentation and tutorial sites, but haven&#039;t been able to find the root of the issue.  

Have you had any similar problems?  Any help would be greatly appreciated.

My code attached below:  


		      //Namespace Complicator Killer
		        	var dimNSPat:RegExp = /dxp\:/g;
		       		var nsFixed:String = _thirdBuffer.replace(dimNSPat, &quot;dxp&quot;);
		      		dimNSPat = /\r&#124;\n/;
		       		nsFixed = nsFixed.replace(dimNSPat, &quot; &quot;);
		       //Define XML
		       		reportXML.ignoreWhitespace = true;
		       		reportXML.prettyPrint = true;
		       		reportXML.prettyIndent = true;
		       		reportXML = XML(nsFixed);
		       //Display XML
		       		nodeTxt.text = nsReportXML.entry;
		       		nodeTxt.text += &quot;DONE&quot;;</description>
		<content:encoded><![CDATA[<p>I got pulled onto another project just after implementing this.  A couple other developers and I have worked with this, but have had issues casting the result as correctly parsable XML.  </p>
<p>I&#8217;ve checked a few HttpClient documentation and tutorial sites, but haven&#8217;t been able to find the root of the issue.  </p>
<p>Have you had any similar problems?  Any help would be greatly appreciated.</p>
<p>My code attached below:  </p>
<p>		      //Namespace Complicator Killer<br />
		        	var dimNSPat:RegExp = /dxp\:/g;<br />
		       		var nsFixed:String = _thirdBuffer.replace(dimNSPat, &#8220;dxp&#8221;);<br />
		      		dimNSPat = /\r|\n/;<br />
		       		nsFixed = nsFixed.replace(dimNSPat, &#8221; &#8220;);<br />
		       //Define XML<br />
		       		reportXML.ignoreWhitespace = true;<br />
		       		reportXML.prettyPrint = true;<br />
		       		reportXML.prettyIndent = true;<br />
		       		reportXML = XML(nsFixed);<br />
		       //Display XML<br />
		       		nodeTxt.text = nsReportXML.entry;<br />
		       		nodeTxt.text += &#8220;DONE&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Green</title>
		<link>http://www.zedia.net/2009/how-to-connect-to-google-analytics-data-api-in-air/comment-page-1/#comment-3837</link>
		<dc:creator>Nick Green</dc:creator>
		<pubDate>Mon, 13 Jul 2009 17:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=415#comment-3837</guid>
		<description>I think I&#039;m in love.   Thank you so much.  I&#039;m not exactly sure how requiring the developer to utilize three third-party class libraries makes anything more secure, but I&#039;m much indebted to you for figuring this one out and sharing your success!!!

Thanks again!</description>
		<content:encoded><![CDATA[<p>I think I&#8217;m in love.   Thank you so much.  I&#8217;m not exactly sure how requiring the developer to utilize three third-party class libraries makes anything more secure, but I&#8217;m much indebted to you for figuring this one out and sharing your success!!!</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Connecting to Google Analytics Data Api using AS3; my failures &#124; Authorization request header gdata as3 &#124; zedia flash blog</title>
		<link>http://www.zedia.net/2009/how-to-connect-to-google-analytics-data-api-in-air/comment-page-1/#comment-3673</link>
		<dc:creator>Connecting to Google Analytics Data Api using AS3; my failures &#124; Authorization request header gdata as3 &#124; zedia flash blog</dc:creator>
		<pubDate>Mon, 15 Jun 2009 16:27:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=415#comment-3673</guid>
		<description>[...] Finally I turned my failures into success you can read it here: How to connect to Google Analytics Data API in AIR How to connect to Google Analytics Data API in [...]</description>
		<content:encoded><![CDATA[<p>[...] Finally I turned my failures into success you can read it here: How to connect to Google Analytics Data API in AIR How to connect to Google Analytics Data API in [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
