Widget:Twitter: Unterschied zwischen den Versionen

Aus ABV-Essingen
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: <noinclude>__NOTOC__ This widget allows you to embed '''[http://twitter.com/widgets/html_widget Twitter feed]''' (HTML version) on your wiki page. Created by [http://w...)
 
Zeile 10: Zeile 10:
 
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
 
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
 
</noinclude><includeonly><!--{counter name="twittercounter" assign="twitblogincluded"}--><!--{if $twitblogincluded eq 1}--><script src="http://widgets.twimg.com/j/2/widget.js"></script><!--{/if}-->
 
</noinclude><includeonly><!--{counter name="twittercounter" assign="twitblogincluded"}--><!--{if $twitblogincluded eq 1}--><script src="http://widgets.twimg.com/j/2/widget.js"></script><!--{/if}-->
 +
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
 
<script>
 
<script>
 
new TWTR.Widget({
 
new TWTR.Widget({
 
   version: 2,
 
   version: 2,
 
   type: 'profile',
 
   type: 'profile',
   rpp: '<!--{$count|escape:'quotes'|default:5}-->',
+
   rpp: 10,
   interval: 6000,
+
   interval: 2000,
 
   width: 250,
 
   width: 250,
 
   height: 300,
 
   height: 300,
 
   theme: {
 
   theme: {
 
     shell: {
 
     shell: {
       background: '#333333',
+
       background: '#ffffff',
       color: '#ffffff'
+
       color: '#000000'
 
     },
 
     },
 
     tweets: {
 
     tweets: {
       background: '#000000',
+
       background: '#666666',
 
       color: '#ffffff',
 
       color: '#ffffff',
 
       links: '#4aed05'
 
       links: '#4aed05'
Zeile 30: Zeile 31:
 
   },
 
   },
 
   features: {
 
   features: {
     scrollbar: false,
+
     scrollbar: true,
 
     loop: false,
 
     loop: false,
     live: false,
+
     live: true,
 
     hashtags: true,
 
     hashtags: true,
 
     timestamp: true,
 
     timestamp: true,
 
     avatars: false,
 
     avatars: false,
     behavior: 'all'
+
     behavior: 'default'
 
   }
 
   }
}).render().setUser('<!--{$user|escape:'quotes'}-->').start();
+
}).render().setUser('abv_essingen').start();
</script></includeonly>
+
</script>
 +
</includeonly>

Version vom 10. Dezember 2009, 21:52 Uhr

This widget allows you to embed Twitter feed (HTML version) on your wiki page.

Created by Sergey Chernyshev

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Twitter article.