-
-
Save ochilab/5603092 to your computer and use it in GitHub Desktop.
Google siteにてGistのコード埋め込みスクリプトを表示するためのGoogle Gadgetスクリプト。(下記のコメントの参照)
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="Derquinse Gist.GitHub Gadget"> | |
<Require feature="dynamic-height" /> | |
</ModulePrefs> | |
<UserPref name="gistId" display_name="Gist #" required="true" /> | |
<Content type="html"> | |
<![CDATA[ | |
<div id="content_div"> | |
<script src="http://gist.github.com/__UP_gistId__.js"></script> | |
<script type="text/javascript"> | |
gadgets.util.registerOnLoadHandler(gadgets.window.adjustHeight); | |
</script> | |
</div> | |
]]> | |
</Content> | |
</Module> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
これは古いので(中途半端なので)、https://gist.github.com/ochilab/11a718344aca679711f0
を参照してください。