<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Dynamically Create Charts Using jQuery Flot and Google&#160;Analytics</title> <atom:link href="http://davidwalsh.name/jquery-flot/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/jquery-flot</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 04:02:29 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Shawn Crigger</title><link>http://davidwalsh.name/jquery-flot#comment-31385</link> <dc:creator>Shawn Crigger</dc:creator> <pubDate>Sat, 31 Mar 2012 18:58:37 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4048#comment-31385</guid> <description>Undefined indexes are PHP Notices or Warnings.   Check that the array key exists with aarray_key_exists(&#039;month&#039;, $array);Before trying to pull the array index.   I haven&#039;t seen your code so I can&#039;t really give to much advice on it, but I normally use a method to check if the array key exists and is not empty before accessing it, something likefunction key_exists ( $key, $array )
{
return (bool) ( array_key_exists ( $key, $array ) &amp;&amp; !empty ( trim ( $array[$key] ) );
}That should work without throwing any notices.</description> <content:encoded><![CDATA[<p>Undefined indexes are PHP Notices or Warnings.   Check that the array key exists with a</p><p>array_key_exists(&#8216;month&#8217;, $array);</p><p>Before trying to pull the array index.   I haven&#8217;t seen your code so I can&#8217;t really give to much advice on it, but I normally use a method to check if the array key exists and is not empty before accessing it, something like</p><p>function key_exists ( $key, $array )<br
/> {<br
/> return (bool) ( array_key_exists ( $key, $array ) &amp;&amp; !empty ( trim ( $array[$key] ) );<br
/> }</p><p>That should work without throwing any notices.</p> ]]></content:encoded> </item> <item><title>By: nicedice</title><link>http://davidwalsh.name/jquery-flot#comment-30901</link> <dc:creator>nicedice</dc:creator> <pubDate>Thu, 08 Mar 2012 23:05:29 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4048#comment-30901</guid> <description>Hi - nice, thanx
getting some errors though:A PHP Error was encountered
Severity: Notice
Message: Undefined index: month
Filename: views/admin_welcome_view.php
Line Number: 6A PHP Error was encountered
Severity: Notice
Message: Undefined index: year
Filename: views/admin_welcome_view.php
Line Number: 6PHP is not a happy place for me - anyone shed any light? or have any guidance pls.
Cheers</description> <content:encoded><![CDATA[<p>Hi &#8211; nice, thanx<br
/> getting some errors though:</p><p>A PHP Error was encountered<br
/> Severity: Notice<br
/> Message: Undefined index: month<br
/> Filename: views/admin_welcome_view.php<br
/> Line Number: 6</p><p>A PHP Error was encountered<br
/> Severity: Notice<br
/> Message: Undefined index: year<br
/> Filename: views/admin_welcome_view.php<br
/> Line Number: 6</p><p>PHP is not a happy place for me &#8211; anyone shed any light? or have any guidance pls.<br
/> Cheers</p> ]]></content:encoded> </item> <item><title>By: Josh</title><link>http://davidwalsh.name/jquery-flot#comment-24965</link> <dc:creator>Josh</dc:creator> <pubDate>Thu, 30 Jun 2011 15:13:06 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4048#comment-24965</guid> <description>This is a great article. but i&#039;m having trouble getting it  work. Is there a demo file with all the PHP and scripts running that I could possible try working from?Also with this script and php, can it be modified to run multiple graphs from multiple profiles? (from the same google account tho), if so that would be awesome!Many Thanks</description> <content:encoded><![CDATA[<p>This is a great article. but i&#8217;m having trouble getting it  work. Is there a demo file with all the PHP and scripts running that I could possible try working from?</p><p>Also with this script and php, can it be modified to run multiple graphs from multiple profiles? (from the same google account tho), if so that would be awesome!</p><p>Many Thanks</p> ]]></content:encoded> </item> <item><title>By: Martin</title><link>http://davidwalsh.name/jquery-flot#comment-24265</link> <dc:creator>Martin</dc:creator> <pubDate>Mon, 30 May 2011 09:19:54 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4048#comment-24265</guid> <description>@VaN, the class can be found here: http://www.swis.nl/ga/It&#039;s linked to in the original MooTools post.</description> <content:encoded><![CDATA[<p>@VaN, the class can be found here: <a
href="http://www.swis.nl/ga/" rel="nofollow">http://www.swis.nl/ga/</a></p><p>It&#8217;s linked to in the original MooTools post.</p> ]]></content:encoded> </item> <item><title>By: VaN</title><link>http://davidwalsh.name/jquery-flot#comment-24202</link> <dc:creator>VaN</dc:creator> <pubDate>Wed, 25 May 2011 08:33:01 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4048#comment-24202</guid> <description>no link to the php class ? how are we suppose to find the correct class file ? there are tons of GA php classes..</description> <content:encoded><![CDATA[<p>no link to the php class ? how are we suppose to find the correct class file ? there are tons of GA php classes..</p> ]]></content:encoded> </item> <item><title>By: Jon Clark</title><link>http://davidwalsh.name/jquery-flot#comment-19432</link> <dc:creator>Jon Clark</dc:creator> <pubDate>Thu, 19 Aug 2010 20:52:50 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4048#comment-19432</guid> <description>Hi David,Just wanted to mention that flot now has a pie chart plugin:http://code.google.com/p/flot/source/browse/trunk/jquery.flot.pie.jsThanks for the awesome post!</description> <content:encoded><![CDATA[<p>Hi David,</p><p>Just wanted to mention that flot now has a pie chart plugin:</p><p><a
href="http://code.google.com/p/flot/source/browse/trunk/jquery.flot.pie.js" rel="nofollow">http://code.google.com/p/flot/source/browse/trunk/jquery.flot.pie.js</a></p><p>Thanks for the awesome post!</p> ]]></content:encoded> </item> <item><title>By: Mark Joseph</title><link>http://davidwalsh.name/jquery-flot#comment-17645</link> <dc:creator>Mark Joseph</dc:creator> <pubDate>Sun, 16 May 2010 15:46:18 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4048#comment-17645</guid> <description>Hi david thanks for the tutorial and i&#039;m a bit frustrated about the results on my end... though i already posted all those codes inside my page, but i still get stuck in the end resulting my page to none.do you have any samples aside for the given demo you had here... thanks and appreciate your effort to this.</description> <content:encoded><![CDATA[<p>Hi david thanks for the tutorial and i&#8217;m a bit frustrated about the results on my end&#8230; though i already posted all those codes inside my page, but i still get stuck in the end resulting my page to none.</p><p>do you have any samples aside for the given demo you had here&#8230; thanks and appreciate your effort to this.</p> ]]></content:encoded> </item> <item><title>By: Spanishgringo</title><link>http://davidwalsh.name/jquery-flot#comment-16590</link> <dc:creator>Spanishgringo</dc:creator> <pubDate>Mon, 22 Mar 2010 10:27:17 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4048#comment-16590</guid> <description>I made a Google App Engine Project with Java taking a similar approach, but anybody can use it with their own data.Take a look
http://spanishgringo.blogspot.com/2010/03/google-analytics-evolution-time-series.htmlhttp://gaevoluation.appspot.com</description> <content:encoded><![CDATA[<p>I made a Google App Engine Project with Java taking a similar approach, but anybody can use it with their own data.</p><p>Take a look<br
/> <a
href="http://spanishgringo.blogspot.com/2010/03/google-analytics-evolution-time-series.html" rel="nofollow">http://spanishgringo.blogspot.com/2010/03/google-analytics-evolution-time-series.html</a></p><p><a
href="http://gaevoluation.appspot.com" rel="nofollow">http://gaevoluation.appspot.com</a></p> ]]></content:encoded> </item> <item><title>By: Zoran</title><link>http://davidwalsh.name/jquery-flot#comment-16328</link> <dc:creator>Zoran</dc:creator> <pubDate>Wed, 03 Mar 2010 23:42:51 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4048#comment-16328</guid> <description>@Vladica, the class is using Exceptions to handle errors, so put the initialization in try, catch block and print out the error.try
{
$analytics = new analytics(&#039;y&#111;&#117;racco&#117;&#110;t&#064;gm&#097;il&#046;&#099;o&#109;&#039;, &#039;password&#039;);
}
catch(Exception $e)
{
print_r($e-&gt;getMessage());
}You will see the error you are getting... also it&#039;s good idea to look through the code of the class, wherever a possible exception is thrown you need to catch it in case it occurs.</description> <content:encoded><![CDATA[<p>@Vladica, the class is using Exceptions to handle errors, so put the initialization in try, catch block and print out the error.</p><p>try<br
/> {<br
/> $analytics = new analytics(&#8216;&#121;o&#117;rac&#99;o&#117;&#110;&#116;&#64;g&#109;&#97;il&#46;&#99;&#111;m&#8217;, &#8216;password&#8217;);<br
/> }<br
/> catch(Exception $e)<br
/> {<br
/> print_r($e-&gt;getMessage());<br
/> }</p><p>You will see the error you are getting&#8230; also it&#8217;s good idea to look through the code of the class, wherever a possible exception is thrown you need to catch it in case it occurs.</p> ]]></content:encoded> </item> <item><title>By: Vladica Savic</title><link>http://davidwalsh.name/jquery-flot#comment-15399</link> <dc:creator>Vladica Savic</dc:creator> <pubDate>Tue, 19 Jan 2010 10:31:25 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4048#comment-15399</guid> <description>Hi, can you post here your analytics.class.php becouse, I download the latest version from their website but when I try to run my code I receive error (of handling response from google).</description> <content:encoded><![CDATA[<p>Hi, can you post here your analytics.class.php becouse, I download the latest version from their website but when I try to run my code I receive error (of handling response from google).</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 2/12 queries in 0.021 seconds using disk: basic
Object Caching 799/815 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 04:33:23 -->
