<?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"
	>
<channel>
	<title>Comments on: Simple CMS using Google Spreadsheet API</title>
	<atom:link href="http://gabrito.com/post/simple-cms-using-google-spreadsheet-api/feed" rel="self" type="application/rss+xml" />
	<link>http://gabrito.com/post/simple-cms-using-google-spreadsheet-api</link>
	<description>Anecdotes on Java, Ruby, Sysadmin, SEO, Design, and Management</description>
	<pubDate>Wed, 08 Oct 2008 10:36:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Scott</title>
		<link>http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-130804</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Fri, 13 Jun 2008 16:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-130804</guid>
		<description>I also tried to use the Spreadsheet helper from Dion and am having the same problem.</description>
		<content:encoded><![CDATA[<p>I also tried to use the Spreadsheet helper from Dion and am having the same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-130803</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Fri, 13 Jun 2008 16:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-130803</guid>
		<description>I would love to see a response to jgodsey - I am having the same problem.</description>
		<content:encoded><![CDATA[<p>I would love to see a response to jgodsey - I am having the same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-39493</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 14 Jun 2007 18:06:04 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-39493</guid>
		<description>The last line should read: 
document.write ("&#60;scr"+"ipt type='text/javascript'	src='http://spreadsheets.google.com/feeds/list/"+cmstoken+"/od6/public/values?alt=json-in-script&#38;callback=displayContent'&#62;&#60;/scr"+"ipt&#62;");</description>
		<content:encoded><![CDATA[<p>The last line should read:<br />
document.write (&#8221;&lt;scr&#8221;+&#8221;ipt type=&#8217;text/javascript&#8217;	src=&#8217;http://spreadsheets.google.com/feeds/list/&#8221;+cmstoken+&#8221;/od6/public/values?alt=json-in-script&amp;callback=displayContent&#8217;&gt;&lt;/scr&#8221;+&#8221;ipt&gt;&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-39491</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 14 Jun 2007 18:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-39491</guid>
		<description>I like this approach and changed to code to be a bit more universal and allow to fill multiple fields taken the corresponding id from the spreadsheet as well.

	
		var cmstoken="";
		function displayContent(json) { 
			i=0;
			while (json.feed.entry[i].gsx$field.$t !="") {
				document.getElementById(json.feed.entry[i].gsx$field.$t).innerHTML = json.feed.entry[i].gsx$content.$t.replace(/\n/g,""); 
				i++;	
			}
		}
	  document.write ("");
	</description>
		<content:encoded><![CDATA[<p>I like this approach and changed to code to be a bit more universal and allow to fill multiple fields taken the corresponding id from the spreadsheet as well.</p>
<p>		var cmstoken=&#8221;";<br />
		function displayContent(json) {<br />
			i=0;<br />
			while (json.feed.entry[i].gsx$field.$t !=&#8221;") {<br />
				document.getElementById(json.feed.entry[i].gsx$field.$t).innerHTML = json.feed.entry[i].gsx$content.$t.replace(/\n/g,&#8221;");<br />
				i++;<br />
			}<br />
		}<br />
	  document.write (&#8221;");</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jgodsey</title>
		<link>http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-39400</link>
		<dc:creator>jgodsey</dc:creator>
		<pubDate>Wed, 13 Jun 2007 17:49:30 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-39400</guid>
		<description>i can't seem to get this to work.

aside from pasting the code into a page and then changing the URL to match the published spreadsheet.  what else do i need to do?

http://spreadsheets.google.com/pub?key=pPhWzPZYf7OX04wmb_emDfw</description>
		<content:encoded><![CDATA[<p>i can&#8217;t seem to get this to work.</p>
<p>aside from pasting the code into a page and then changing the URL to match the published spreadsheet.  what else do i need to do?</p>
<p><a href="http://spreadsheets.google.com/pub?key=pPhWzPZYf7OX04wmb_emDfw" rel="nofollow">http://spreadsheets.google.com/pub?key=pPhWzPZYf7OX04wmb_emDfw</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd Huss</title>
		<link>http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-39391</link>
		<dc:creator>Todd Huss</dc:creator>
		<pubDate>Wed, 13 Jun 2007 16:00:40 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-39391</guid>
		<description>Anieto2k, thanks for the Spanish translation!

JR, the reason I don't like the iframe approach is two fold:

1. Presumably you want more than one field on a page editable and rather than create one spreadsheet per field you want to edit and iframing each one, I prefer to put all the fields in one spreadsheet. If you're just trying to republish a spreadsheet on your site though, then I agree that the iframe approach is nice!

2. With an iframe you have no control of the styling of the contents whereas with the JSON approach the text displays on your page and therefor inherits your regular CSS styles.</description>
		<content:encoded><![CDATA[<p>Anieto2k, thanks for the Spanish translation!</p>
<p>JR, the reason I don&#8217;t like the iframe approach is two fold:</p>
<p>1. Presumably you want more than one field on a page editable and rather than create one spreadsheet per field you want to edit and iframing each one, I prefer to put all the fields in one spreadsheet. If you&#8217;re just trying to republish a spreadsheet on your site though, then I agree that the iframe approach is nice!</p>
<p>2. With an iframe you have no control of the styling of the contents whereas with the JSON approach the text displays on your page and therefor inherits your regular CSS styles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: meneame.net</title>
		<link>http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-39364</link>
		<dc:creator>meneame.net</dc:creator>
		<pubDate>Wed, 13 Jun 2007 08:36:11 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-39364</guid>
		<description>&lt;strong&gt;Crear un sencillo CMS con Google Spreadsheet....&lt;/strong&gt;

Una curiosa y sencilla manera de hacer un blog con la ayuda de la hoja de cálculo de Google. El artículo original está en inglés. Hay una traducción en aNieto2k: www.anieto2k.com/2007/06/12/google-speadsheet-el-blog-de-los-pobres</description>
		<content:encoded><![CDATA[<p><strong>Crear un sencillo CMS con Google Spreadsheet&#8230;.</strong></p>
<p>Una curiosa y sencilla manera de hacer un blog con la ayuda de la hoja de cálculo de Google. El artículo original está en inglés. Hay una traducción en aNieto2k: <a href="http://www.anieto2k.com/2007/06/12/google-speadsheet-el-blog-de-los-pobres" rel="nofollow">http://www.anieto2k.com/2007/06/12/google-speadsheet-el-blog-de-los-pobres</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JR</title>
		<link>http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-39325</link>
		<dc:creator>JR</dc:creator>
		<pubDate>Tue, 12 Jun 2007 22:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/simple-cms-using-google-spreadsheet-api#comment-39325</guid>
		<description>if you're just looking to get dynamic content displayed as it appears in the spreadsheet, you might actually be better off just using an iframe with the embedded published URL - this way you get all the formatting too... and no javascript...
Use the PUBLISH tab within the spreadsheet editor - then go to the "more publishing options" link - and select the "HTML to embed in a web page" option to generate the iframe code snippet... then adjust the iframe size to match you page/blog.etc...

You can check the "re-publish automatically" option or publish manually...
have fun!</description>
		<content:encoded><![CDATA[<p>if you&#8217;re just looking to get dynamic content displayed as it appears in the spreadsheet, you might actually be better off just using an iframe with the embedded published URL - this way you get all the formatting too&#8230; and no javascript&#8230;<br />
Use the PUBLISH tab within the spreadsheet editor - then go to the &#8220;more publishing options&#8221; link - and select the &#8220;HTML to embed in a web page&#8221; option to generate the iframe code snippet&#8230; then adjust the iframe size to match you page/blog.etc&#8230;</p>
<p>You can check the &#8220;re-publish automatically&#8221; option or publish manually&#8230;<br />
have fun!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
