tweet_button

NAML documentation   Watch a video
   Usages of this macro
... in social_tweet.naml
1
2
3
4
5
6
7
8
9
10
<macro name="tweet_button" requires="node">
    <span style="vertical-align:-5px">
        <iframe
            src="[n.encode_url
Macro
Parameters: text
.]http://platform.twitter.com/widgets/tweet_button.html?url=[n.url
Macro
Requires: node
Parameters: template, date, index_record
/]&text=[n.subject
Macro
Requires: node
/]&count=horizontal[/n.encode_url.]"
            scrolling="no"
            frameborder="0"
            allowtransparency="true"
            style="width:100px;height:20px"></iframe>
    </span>
</macro>