]> git.donarmstrong.com Git - neurodebian.git/commitdiff
Add twitter-based news section.
authorMichael Hanke <michael.hanke@gmail.com>
Wed, 24 Feb 2010 00:28:36 +0000 (19:28 -0500)
committerMichael Hanke <michael.hanke@gmail.com>
Wed, 24 Feb 2010 00:28:36 +0000 (19:28 -0500)
sphinx/index.rst

index 8bec69dd93129b5fe90d3596de5713186f2b2593..76596d9e1873265cd5a4ead05f3995fb283fcb1b 100644 (file)
@@ -18,6 +18,42 @@ purpose software which is necessary to resolve dependencies, or such that is
 simply useful in the neuroscience context. All featured neuroscience software
 packages are available from the :ref:`full package list <full_pkg_list>`.
 
+News
+====
+
+.. raw:: html
+
+ <script src="http://widgets.twimg.com/j/2/widget.js"></script>
+ <script>
+ new TWTR.Widget({
+   version: 2,
+   type: 'profile',
+   rpp: 4,
+   interval: 6000,
+   width: 'auto',
+   height: 300,
+   theme: {
+     shell: {
+       background: '#333333',
+       color: '#ffffff'
+     },
+     tweets: {
+       background: '#ffffff',
+       color: '#000000',
+       links: '#82032f'
+     }
+   },
+   features: {
+     scrollbar: true,
+     loop: false,
+     live: false,
+     hashtags: true,
+     timestamp: true,
+     avatars: false,
+     behavior: 'all'
+   }
+ }).render().setUser('NeuroDebian').start();
+ </script>
 
 .. _repository_howto: