<?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: Saving Form Data to Google Spreadsheets Using PHP and the Google Docs API</title>
	<atom:link href="http://farinspace.com/saving-form-data-to-google-spreadsheets/feed/" rel="self" type="application/rss+xml" />
	<link>http://farinspace.com/saving-form-data-to-google-spreadsheets/</link>
	<description>Practical Real World Web Development</description>
	<lastBuildDate>Tue, 07 Sep 2010 14:37:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Subha</title>
		<link>http://farinspace.com/saving-form-data-to-google-spreadsheets/comment-page-1/#comment-3805</link>
		<dc:creator>Subha</dc:creator>
		<pubDate>Tue, 07 Sep 2010 12:44:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.farinspace.com/?p=14#comment-3805</guid>
		<description>Hi Dimas,

Wonderful post, worked like a charm.

However had query, is it possible to specify the number of rows that the &quot;getRows&quot; function is to return?

My problem is the file that I am trying to read has about 2000 rows, and it gives the &quot;Fatal error: Allowed memory size...&quot;, I believe the solution to this to restrict the number rows that is returned. 

Is it possible to do so?

Regards
Subha</description>
		<content:encoded><![CDATA[<p>Hi Dimas,</p>
<p>Wonderful post, worked like a charm.</p>
<p>However had query, is it possible to specify the number of rows that the &#8220;getRows&#8221; function is to return?</p>
<p>My problem is the file that I am trying to read has about 2000 rows, and it gives the &#8220;Fatal error: Allowed memory size&#8230;&#8221;, I believe the solution to this to restrict the number rows that is returned. </p>
<p>Is it possible to do so?</p>
<p>Regards<br />
Subha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://farinspace.com/saving-form-data-to-google-spreadsheets/comment-page-1/#comment-3027</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 06 Aug 2010 15:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.farinspace.com/?p=14#comment-3027</guid>
		<description>I export my spreadsheets from Google Docs using &lt;a href=&quot;http://www.macmassmailer.com/export-csv-google-docs.html&quot; rel=&quot;nofollow&quot;&gt;CSV files this way&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I export my spreadsheets from Google Docs using <a href="http://www.macmassmailer.com/export-csv-google-docs.html" rel="nofollow">CSV files this way</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Engel</title>
		<link>http://farinspace.com/saving-form-data-to-google-spreadsheets/comment-page-1/#comment-2892</link>
		<dc:creator>Joe Engel</dc:creator>
		<pubDate>Sat, 31 Jul 2010 00:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.farinspace.com/?p=14#comment-2892</guid>
		<description>Totally rad dude. So much easier than programming to the Zend/Google APIs.

I had the error:
‘A worksheet id must be provided for list queries.’
and fixed it by changing the default sheet name from &quot;Sheet1&quot; to &quot;Sheet 1&quot; at line 34.

Thanks so much!</description>
		<content:encoded><![CDATA[<p>Totally rad dude. So much easier than programming to the Zend/Google APIs.</p>
<p>I had the error:<br />
‘A worksheet id must be provided for list queries.’<br />
and fixed it by changing the default sheet name from &#8220;Sheet1&#8243; to &#8220;Sheet 1&#8243; at line 34.</p>
<p>Thanks so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramakant Yadav</title>
		<link>http://farinspace.com/saving-form-data-to-google-spreadsheets/comment-page-1/#comment-2341</link>
		<dc:creator>Ramakant Yadav</dc:creator>
		<pubDate>Tue, 20 Jul 2010 06:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.farinspace.com/?p=14#comment-2341</guid>
		<description>Hi
Awesome work done by you.
your Google spreadsheet class help me a lot.
thanks for great work, keep it up.

Thanks and Regards
Ramakant Yadav</description>
		<content:encoded><![CDATA[<p>Hi<br />
Awesome work done by you.<br />
your Google spreadsheet class help me a lot.<br />
thanks for great work, keep it up.</p>
<p>Thanks and Regards<br />
Ramakant Yadav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jackson</title>
		<link>http://farinspace.com/saving-form-data-to-google-spreadsheets/comment-page-1/#comment-2204</link>
		<dc:creator>Jackson</dc:creator>
		<pubDate>Sun, 11 Jul 2010 11:37:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.farinspace.com/?p=14#comment-2204</guid>
		<description>Dear Dimas,
Thank you for the code and tutorial you wrote, clearly explained!

Regards,
Jackson</description>
		<content:encoded><![CDATA[<p>Dear Dimas,<br />
Thank you for the code and tutorial you wrote, clearly explained!</p>
<p>Regards,<br />
Jackson</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dimas</title>
		<link>http://farinspace.com/saving-form-data-to-google-spreadsheets/comment-page-1/#comment-2129</link>
		<dc:creator>Dimas</dc:creator>
		<pubDate>Thu, 08 Jul 2010 15:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.farinspace.com/?p=14#comment-2129</guid>
		<description>Mark, thanks for the tips, this has me moving in the right direction, however doing simple things like: &lt;code&gt;=INDEX(B:B,ROW())+INDEX(C:C,ROW())&lt;/code&gt; still seem to produce unexpected results. The weird thing is that when I use the google docs UI and enter in the same formula it works.</description>
		<content:encoded><![CDATA[<p>Mark, thanks for the tips, this has me moving in the right direction, however doing simple things like: <code>=INDEX(B:B,ROW())+INDEX(C:C,ROW())</code> still seem to produce unexpected results. The weird thing is that when I use the google docs UI and enter in the same formula it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://farinspace.com/saving-form-data-to-google-spreadsheets/comment-page-1/#comment-2122</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 08 Jul 2010 10:51:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.farinspace.com/?p=14#comment-2122</guid>
		<description>The answer I found to my problem above is to use row() to get the current row, so the formulas for every row can be the same.
=if(index(feed!a:a,row()) &gt;5, “Good”,”Bad”)</description>
		<content:encoded><![CDATA[<p>The answer I found to my problem above is to use row() to get the current row, so the formulas for every row can be the same.<br />
=if(index(feed!a:a,row()) &gt;5, “Good”,”Bad”)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://farinspace.com/saving-form-data-to-google-spreadsheets/comment-page-1/#comment-2120</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 08 Jul 2010 09:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.farinspace.com/?p=14#comment-2120</guid>
		<description>This latter part is the same problem I&#039;m working on I think.
I add a row to a worksheet &quot;feed&quot;, and have another sheet &quot;report&quot; that mirrors the feed row for row, but uses formulas to make new columns.
For example:
The &quot;feed&quot; has a score in column A, and report has in cell A2
=if(feed!a2 &gt;5, &quot;Good&quot;,&quot;Bad&quot;)
So the problem is when I add a row to &quot;feed&quot;, I also need to add a row to &quot;report&quot;, but I don&#039;t know what row number to use in the formula.
How do I find out what row number the addRow will add to?
I tried pre-filling the formulas in &quot;Report&quot;, but because I&#039;m adding a row to &quot;Feed&quot;, that&#039;s inserting a row, and so the formulas in &quot;Report&quot; then have their row numbers increased by one and so are wrong.
I&#039;ve thought about using update row instead of add, or adding a row number column, but those approaches seem a bit clunky.

Anyone got a nice solution to this (like being able to get the current row number)?

Mark



, and adding new columns using formulas.links to that data. They do not update</description>
		<content:encoded><![CDATA[<p>This latter part is the same problem I&#8217;m working on I think.<br />
I add a row to a worksheet &#8220;feed&#8221;, and have another sheet &#8220;report&#8221; that mirrors the feed row for row, but uses formulas to make new columns.<br />
For example:<br />
The &#8220;feed&#8221; has a score in column A, and report has in cell A2<br />
=if(feed!a2 &gt;5, &#8220;Good&#8221;,&#8221;Bad&#8221;)<br />
So the problem is when I add a row to &#8220;feed&#8221;, I also need to add a row to &#8220;report&#8221;, but I don&#8217;t know what row number to use in the formula.<br />
How do I find out what row number the addRow will add to?<br />
I tried pre-filling the formulas in &#8220;Report&#8221;, but because I&#8217;m adding a row to &#8220;Feed&#8221;, that&#8217;s inserting a row, and so the formulas in &#8220;Report&#8221; then have their row numbers increased by one and so are wrong.<br />
I&#8217;ve thought about using update row instead of add, or adding a row number column, but those approaches seem a bit clunky.</p>
<p>Anyone got a nice solution to this (like being able to get the current row number)?</p>
<p>Mark</p>
<p>, and adding new columns using formulas.links to that data. They do not update</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://farinspace.com/saving-form-data-to-google-spreadsheets/comment-page-1/#comment-2069</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 05 Jul 2010 20:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.farinspace.com/?p=14#comment-2069</guid>
		<description>Wow,
What a fantastic response!. That is brilliant.
I&#039;ve tried it out and it works perfectly (I just had to strip out the punctuation characters in my column names when I did the matching, as you alerted me to).
Thanks so much!</description>
		<content:encoded><![CDATA[<p>Wow,<br />
What a fantastic response!. That is brilliant.<br />
I&#8217;ve tried it out and it works perfectly (I just had to strip out the punctuation characters in my column names when I did the matching, as you alerted me to).<br />
Thanks so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dimas</title>
		<link>http://farinspace.com/saving-form-data-to-google-spreadsheets/comment-page-1/#comment-2068</link>
		<dc:creator>Dimas</dc:creator>
		<pubDate>Mon, 05 Jul 2010 19:48:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.farinspace.com/?p=14#comment-2068</guid>
		<description>Geoff, I don&#039;t have a solution for you. My initial tests inserting &lt;code&gt;=1+1&lt;/code&gt; work ... the spreadsheet shows the evaluated value, but the underlying formula is still present. 

The problem I am having is during insert, knowing which row number is being currently worked on to the able to write a proper formula, &lt;code&gt;=B14+C14&lt;/code&gt; ... I don&#039;t know enough about spreadsheet formulas to know if there is a SELF variable that I can use, such as &lt;code&gt;=B{row}+C{row}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Geoff, I don&#8217;t have a solution for you. My initial tests inserting <code>=1+1</code> work &#8230; the spreadsheet shows the evaluated value, but the underlying formula is still present. </p>
<p>The problem I am having is during insert, knowing which row number is being currently worked on to the able to write a proper formula, <code>=B14+C14</code> &#8230; I don&#8217;t know enough about spreadsheet formulas to know if there is a SELF variable that I can use, such as <code>=B{row}+C{row}</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Served from: farinspace.com @ 2010-09-07 21:59:06 by W3 Total Cache -->