{"id":776,"date":"2011-12-09T09:06:53","date_gmt":"2011-12-09T15:06:53","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=776"},"modified":"2011-12-06T09:18:55","modified_gmt":"2011-12-06T15:18:55","slug":"using-google-apps-to-generate-a-simple-site-from-a-form","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/776","title":{"rendered":"Using Google Apps to generate a simple site from a form"},"content":{"rendered":"<p>I was blue skying with a friend the other day and came up with checklist to build a simple canned website from a form submission, using Google Apps and <a href=\"http:\/\/code.google.com\/googleapps\/appsscript\/\">Google Apps Scripting<\/a>.<\/p>\n<ol>\n<li>User goes to a form.\u00a0 (<a href=\"http:\/\/docs.google.com\/support\/bin\/answer.py?answer=87809\">More on creating a form<\/a>)<\/li>\n<li>User submits images, video links, text, email, background color, etc.<\/li>\n<li>That all goes into a google spreadsheet, which triggers the building of a site.\u00a0 <a href=\"http:\/\/code.google.com\/googleapps\/appsscript\/guide_events.html\">Here&#8217;s trigger info<\/a>.<\/li>\n<li>You can automatically build a google site.\u00a0 Here&#8217;s the api: <a href=\"http:\/\/code.google.com\/googleapps\/appsscript\/class_sitesapp.html\">site creation<\/a>, <a href=\"http:\/\/code.google.com\/googleapps\/appsscript\/class_page.html\">page creation<\/a>.\u00a0 If you want your own domain name (example.com) I think you can do that, but you&#8217;d need to integrate with a DNS service to set that up&#8211;this part bears a little more investigating.<\/li>\n<li>If desired, you can <a href=\"http:\/\/code.google.com\/apis\/chart\/infographics\/docs\/qr_codes.html\">generate the QR code<\/a> for the site.<\/li>\n<li>If you need to tell the form submitter that the site is created, you can <a href=\"http:\/\/code.google.com\/googleapps\/appsscript\/class_mailapp.html#sendEmail\">email them<\/a> a link to the QR code so they can print it out.<\/li>\n<li>You can even remove content from the site via cron (see triggers link up above), though <a href=\"http:\/\/code.google.com\/googleapps\/appsscript\/class_site.html#deleteSite\">you can&#8217;t automatically delete the site<\/a>.<\/li>\n<li>It&#8217;s conceivable you could even use <a href=\"http:\/\/googledocs.blogspot.com\/2009\/07\/use-google-docs-google-checkout-to-sell.html\">google checkout to charge users beforehand<\/a> (though this is a bit less supported).<\/li>\n<\/ol>\n<p>What&#8217;s great is that you don&#8217;t need to have any tool other than a browser to build this entire stack.\u00a0 Google is truly creating a toolkit\/macro language in the cloud.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was blue skying with a friend the other day and came up with checklist to build a simple canned website from a form submission, using Google Apps and Google [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,53,6],"tags":[],"class_list":["post-776","post","type-post","status-publish","format-standard","hentry","category-cloud-computing","category-google-apps","category-programming"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=776"}],"version-history":[{"count":1,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/776\/revisions"}],"predecessor-version":[{"id":778,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/776\/revisions\/778"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}