This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Time Loop Example to show how to store and self-trigger a script | |
* Written by James Petersen, http://www.opensourceteacher.ca | |
* Copyright 2015, published under a Creative Commons Attribution-ShareAlike 4.0 International Licence | |
* | |
* This example writes to the ScriptProperties and ScriptCache, which will be the same for all users of this script | |
* For a multi-user script (for example, a web app) a better approach would be to use the UserProperties and UserCache | |
* For a multi-document script (for example, an add-on), a better approach would be to use the DocumentProperties and DocumentCache | |
*/ | |
// 5 minute run time. Use this for production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs title="Twitter Timeline" | |
description="Add a twitter timeline." | |
thumbnail="http://www.gstatic.com/sites-gadgets/common/images/sites-icon-gadget-thumb.png" | |
screenshot="http://www.gstatic.com/sites-gadgets/common/images/sites-icon-gadget-ss.png" | |
author="Open Source Teacher" | |
height="600" width="250" | |
/> | |
<UserPref name="handle" display_name="Twitter Handle (no @ symbol)" required="true"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs title="Google+ Profile Badge" | |
description="Add your Google+ profile to a Google Sites page." | |
thumbnail="http://www.gstatic.com/sites-gadgets/common/images/sites-icon-gadget-thumb.png" | |
screenshot="http://www.gstatic.com/sites-gadgets/common/images/sites-icon-gadget-ss.png" | |
height="400" width="300" author="Open Source Teacher"> | |
<Require feature="dynamic-height"/> | |
</ModulePrefs> | |
<UserPref name="href" display_name="Profile URL" required="true"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
// Twitter Translator for the GEG Montreal | |
// Written by James Petersen, some time during 2014. | |
// | |
// Website: http://www.opensourceteacher.ca | |
// | |
// Code built on top of the | |
// T W I T T E R A R C H I V E R | |
// - - - - - - - - - - - - - - - | |
// |
NewerOlder