[Liblas-commits] hg: tweak twitter box

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Nov 5 22:48:45 EDT 2010


changeset 52c7b86a18b5 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=52c7b86a18b5
summary: tweak twitter box

diffstat:

 doc/_templates/indexsidebar.html |  38 ++++++++++++++++++++++++++++++++++++--
 1 files changed, 36 insertions(+), 2 deletions(-)

diffs (55 lines):

diff -r 7ea6b51408cd -r 52c7b86a18b5 doc/_templates/indexsidebar.html
--- a/doc/_templates/indexsidebar.html	Fri Nov 05 21:42:52 2010 -0500
+++ b/doc/_templates/indexsidebar.html	Fri Nov 05 21:48:36 2010 -0500
@@ -11,7 +11,41 @@
 
 <p>
 <script src="http://widgets.twimg.com/j/2/widget.js" ></script>
-<script type="text/javascript" >
+<script src="http://widgets.twimg.com/j/2/widget.js"></script>
+<script>
+new TWTR.Widget({
+  version: 2,
+  type: 'search',
+  search: 'from:liblas',
+  interval: 6000,
+  title: 'libLAS News',
+  subject: '',
+  width: 'auto',
+  height: 150,
+  theme: {
+    shell: {
+      background: '#e2e05a',
+      color: '#ffffff'
+    },
+    tweets: {
+      background: '#e2e05a',
+      color: '#444444',
+      links: '#1985b5'
+    }
+  },
+  features: {
+    scrollbar: true,
+    loop: false,
+    live: true,
+    hashtags: true,
+    timestamp: true,
+    avatars: false,
+    toptweets: false,
+    behavior: 'all'
+  }
+}).render().start();
+</script>
+<!-- <script type="text/javascript" >
 new TWTR.Widget({
   version: 2,
   type: 'profile',
@@ -40,7 +74,7 @@
     behavior: 'all'
   }
 }).render().setUser('liblas').start();
-</script>
+</script> -->
 </p>
 
 


More information about the Liblas-commits mailing list