Skip to content

Instantly share code, notes, and snippets.

@antimatter15
Created October 21, 2009 19:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save antimatter15/215362 to your computer and use it in GitHub Desktop.
Save antimatter15/215362 to your computer and use it in GitHub Desktop.
<html><body><h1>googlewave.com!w+DUX6159GV</h1>
<ul id="root"></ul>
<script>
//cheap hackish attempt to make this a fast quick and dirty prototype
//plz fix it up!
function attach(parentid, contentid, content){
var parent = document.getElementById(parentid);
if(!parent){
parent = document.getElementById("root"); //add to root if no parents
}
var contentholder = document.createElement("li");
contentholder.innerHTML = content;
var repliesholder = document.createElement("ul");
repliesholder.id = contentid;
contentholder.appendChild(repliesholder)
parent.appendChild(contentholder)
}
</script>
<script>attach('None','b+DUX6159GW',"<b>19/10/09 02:04:34 (antimatter15@googlewave.com)</b> Wave -> Publicly Viewable HTML<br>This is a bot I'm working on that will allow waves to be turned into simple HTML pages which can be viewed by non-wave users.");</script>
<script>attach('b+HkMverZkLu','b+DUX6159GX',"<b>19/10/09 01:15:46 (antimatter15@googlewave.com)</b> Testing the new awesome static bot");</script>
<script>attach('b+HkMverZkLu','b+DUX6159GY',"<b>19/10/09 01:24:33 (antimatter15@googlewave.com)</b> The transcript for this wave is available on http://static-bot.appspot.com/view/?id=googlewave.com!w+DUX6159GV");</script>
<script>attach('b+DUX6159GY','b+DUX6159GZ',"<b>19/10/09 01:26:11 (antimatter15@googlewave.com)</b> Experimenting with persisting the tree structure");</script>
<script>attach('b+DUX6159GZ','b+DUX6159Gc',"<b>19/10/09 01:39:12 (antimatter15@googlewave.com)</b> Isn't the tree structure awesome?!?!??!?!");</script>
<script>attach('b+DUX6159GZ','b+DUX6159Gd',"<b>19/10/09 01:39:30 (antimatter15@googlewave.com)</b> OF COURSE TREE STRUCTURES ARE AWESOMENESS!");</script>
<script>attach('b+DUX6159Gd','b+DUX6159Ge',"<b>19/10/09 01:39:38 (antimatter15@googlewave.com)</b> YAY SUPER TREE STRUCTURENESS!");</script>
<script>attach('b+DUX6159Ge','b+DUX6159Gf',"<b>19/10/09 01:44:08 (antimatter15@googlewave.com)</b> YAY FOR SUPER ALL CAPS");</script>
<script>attach('b+DUX6159Gd','b+DUX6159Gg',"<b>19/10/09 01:46:31 (antimatter15@googlewave.com)</b> MORE DEEPNESS!");</script>
<script>attach('b+DUX6159Gg','b+DUX6159Gh',"<b>19/10/09 01:48:25 (antimatter15@googlewave.com)</b> WHATS MORE AWESOME THAN SUPER DEEPNESS?");</script>
<script>attach('b+DUX6159Gh','b+DUX6159Gi',"<b>19/10/09 01:48:47 (antimatter15@googlewave.com)</b> The tree representations of Wave and this static bot are a bit different, that needs fixing");</script>
<script>attach('b+cCrAP6MEA','b+WhDuSPqaA',"<b>19/10/09 03:14:02 (antimatter15@googlewave.com)</b> Its interesting how Wave has a tree like representation internally, but when its rendered, consecutive sub-trees are listed as the same level");</script>
<script>attach('b+DUX6159GW','b+HkMverZkLu',"<b>19/10/09 01:15:38 (static-bot@appspot.com)</b> Static Robot is enabled, the robot will capture a transcript of this conversation from this point on (previous items can not be recorded)");</script>
<script>attach('b+DUX6159GX','b+cCrAP6MEA',"<b>19/10/09 03:08:26 (antimatter15@googlewave.com)</b> It really is awesome!");</script>
<script>attach('b+DUX6159Gh','b+GShl-xpGA',"<b>19/10/09 22:13:54 (antimatter15@googlewave.com)</b> YAAAAAAAAAAY!");</script>
<script>attach('b+GShl-xpGA','b+wa_-RDJEI',"<b>20/10/09 03:40:35 (antimatter15@googlewave.com)</b> Testing");</script>
<script>attach('b+WhDuSPqaA','b+593Oipu4B',"<b>20/10/09 03:56:53 (antimatter15@googlewave.com)</b> Anyone?");</script>
<script>attach('b+gk-xlfIOB','b+DxHYbI4SB',"<b>21/10/09 00:55:00 (antimatter15@googlewave.com)</b> still testing?");</script>
<script>attach('b+DxHYbI4SB','b+DxHYbI4SC',"<b>21/10/09 00:55:20 (antimatter15@googlewave.com)</b> this is strange");</script>
<script>attach('b+gk-xlfIOB','b+DxHYbI4SD',"<b>21/10/09 00:55:34 (antimatter15@googlewave.com)</b> nesteder");</script>
<script>attach('b+DxHYbI4SD','b+Wz8C00NGB',"<b>21/10/09 18:45:09 (antimatter15@googlewave.com)</b> yay nesting");</script>
<script>attach('b+wa_-RDJEI','b+RsWnAcSmC',"<b>20/10/09 20:00:38 (antimatter15@googlewave.com)</b> Public");</script>
<script>attach('b+wa_-RDJEI','b+RsWnAcSmE',"<b>20/10/09 20:10:22 (antimatter15@googlewave.com)</b> Yay nesting!");</script>
<script>attach('b+RsWnAcSmE','b+gk-xlfIOB',"<b>20/10/09 23:48:38 (antimatter15@googlewave.com)</b> Its late :'(");</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment