Difference between revisions of "Widget:Twitter"

From IRC Wiki
Jump to navigation Jump to search
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>__NOTOC__
<includeonly><script src="http://widgets.twimg.com/j/2/widget.js"></script>
This widget allows you to embed '''[http://twitter.com/widgets/html_widget Twitter feed]''' (HTML version) on your wiki page.
 
Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]
 
== Using this widget ==
For information on how to use this widget, see [http://www.mediawikiwidgets.org/Twitter widget description page on MediaWikiWidgets.org].
 
== Copy to your site ==
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}-->
<script>
<script>
new TWTR.Widget({
new TWTR.Widget({
   version: 2,
   version: 2,
   type: 'profile',
   type: 'profile',
   rpp: '<!--{$count|escape:'quotes'|default:5}-->',
   rpp: 3,
   interval: 6000,
   interval: 6000,
   width: 400,
   title: '',
   height:200,
  subject: 'Twitter Updates:',
  width:  '<!--{$width|default:'auto'|escape:'urlpathinfo'}-->',
   height: 300,
   theme: {
   theme: {
     shell: {
     shell: {
/*      background: '#333333',
      background: '#dfe8f3',
       color: '#ffffff' */
       color: '#000000'
     },
     },
     tweets: {
     tweets: {
/*      background: '#000000',
      background: '#dfe8f3',
       color: '#ffffff',
       color: '#000000',
       links: '#4aed05' */
       links: '#1747e6'
     }
     }
   },
   },
Line 33: Line 25:
     loop: false,
     loop: false,
     live: false,
     live: false,
     hashtags: false,
     hashtags: true,
     timestamp: true,
     timestamp: true,
     avatars: false,
     avatars: false,
     behavior: 'all'
     behavior: 'all'
   }
   }
}).render().setUser('<!--{$user|escape:'quotes'}-->').start();
}).render().setUser('<!--{$user|escape:'urlpathinfo'}-->').start();
</script></includeonly>
</script></includeonly>

Latest revision as of 02:39, 4 January 2012