Difference between revisions of "Widget:Twitter Search"
Jump to navigation
Jump to search
(Upate to use new twitter widget API) |
(Try dynamic width) |
||
Line 9: | Line 9: | ||
== Copy to your site == | == 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. | 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><a class="twitter-timeline" href="https://twitter.com/search?q=archivematica" height="300" data-widget-id="345659717298814976" data-chrome="nofooter noscrollbar">Tweets about "archivematica"</a> | + | </noinclude><includeonly><a class="twitter-timeline" href="https://twitter.com/search?q=archivematica" height="300" width="100%" data-widget-id="345659717298814976" data-chrome="nofooter noscrollbar">Tweets about "archivematica"</a> |
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | ||
</includeonly> | </includeonly> |
Revision as of 15:58, 14 June 2013
Embed twitter widget
Based on widget 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 Search article.