Changes for page Twitter User Feed Macro
Last modified by Ludovic Dubost on 2023/04/25 09:12
From version 11.1
edited by Ludovic Dubost
on 2016/05/26 19:00
on 2016/05/26 19:00
Change comment:
There is no comment for this version
To version 12.1
edited by Ludovic Dubost
on 2016/05/26 19:01
on 2016/05/26 19:01
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -1,5 +1,5 @@ 1 1 {{velocity}} 2 -{{html clean=false}}2 +{{html}} 3 3 #set($user = $xcontext.macro.params.user) 4 4 <a class="twitter-timeline" href="https://twitter.com/${user}" data-widget-id="${id}">Tweets de @${user}</a> 5 5 <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>