Options List
Plugin supports many arguments. All arguments are optional except but at least one parameter of these (site, from, keywords) should be specified.
| Option |
Description |
Default value |
| debug |
Set debug to 1 while you test to display errors, then remove
it when you done. |
0 |
| site |
Site name -without www- to return its popular posts. |
'' |
| from |
Twitter username to return popular links from. |
'' |
| keywords |
Keywords to return popular posts for. |
'' |
| window |
Time window for results. by default, Topsy will automatically pick
the most relevant window. other values are:
'h' for last hour
'd' for last day
'w' for last week
'm' for last month
'a' all time |
'' |
| n |
Number of links to return. max is 50 |
10 |
| show_n |
Number of links to show at a time. apparently should be less than total number of tweets 'n'.
If you set this number to 0 then transitions will be disabled and links displayed as a simple list. |
5 |
| show_tweet |
Show the most influential tweet on each link. by default, set to 1. to disable it, set this to 0. |
1 |
| tweets_text |
Template string to define how number of tweets will look like. by
default, it is set to '_d_ tweets' as _d_ will be replaced
by number of tweets and links to trackbacks page on Topsy, so it
appears like '141
tweets'. |
'_d_ tweets' |
| score_text |
Template string to define how score will look like. by default, it
is set to '_d_ score' as _d_ will be replaced by score so
it appears like '7.90 score'. |
'_d_ score' |
| tweeter_text |
Template string to define how Twitter-er username will look like. by
default, it is set to 'by _d_' as _d_ will be replaced by
a link to Twitter-er profile page so it can appear like 'by
Mike_More'. |
'by _d_' |
| stay_time |
Time in milliseconds for a link to be shown. |
5000 |
| enter_time |
Entry transition time in milliseconds. |
200 |
| exit_time |
Exit transition time in milliseconds |
200 |
| animate |
What to animate for entry transition. by default is set to 'opacity'
to fade tweets in.
possible values are 'opacity', 'height', 'width',
'fontSize', 'lineHeight'. (case-sensitive) |
'opacity' |
| q |
Search query that is constructed when you set (site, from, keywords) options. but you can write your custom query in this option and ignore any values in (site, from, keywords) options |
'' |
| loaded |
Optional event handler to be called after links are loaded
Since v1.1! | | null |