__PACKAGE__->name(
'Twitter'
);
__PACKAGE__->models([
[ {
type
=>
'start'
,
name
=>
'embed'
,
attr
=> {
flashvars
=>
qr{user_id=\d+&color1=0x[0-9A-Fa-f]{6}
&color2
=0x[0-9A-Fa-f]{6}
&textColor1
=0x[0-9A-Fa-f]{6}
&textColor2
=0x[0-9A-Fa-f]{6}
&backgroundColor
=0x[0-9A-Fa-f]{6}
&textSize
=\d+},
quality
=>
'high'
,
width
=>
qr{\d{1,3}
},
height
=>
qr{\d{1,3}
},
name
=>
'twitter_timeline_badge'
,
align
=>
'middle'
,
allowscriptaccess
=>
'always'
,
type
=>
'application/x-shockwave-flash'
,
}},
{
type
=>
'end'
,
name
=>
'embed'
} ],
[ {
type
=>
'start'
,
name
=>
'embed'
,
attr
=> {
flashvars
=>
qr{color1=\d+&type=[a-z]+&id=\d+}
,
quality
=>
'high'
,
width
=>
qr{\d{1,3}
},
height
=>
qr{\d{1,3}
},
name
=>
'twitter_badge'
,
align
=>
'middle'
,
allowscriptaccess
=>
'always'
,
wmode
=>
'transparent'
,
type
=>
'application/x-shockwave-flash'
,
}},
{
type
=>
'end'
,
name
=>
'embed'
} ],
[ {
type
=>
'start'
,
name
=>
'script'
,
attr
=> {
type
=>
'text/javascript'
,
}},
{
type
=>
'end'
,
name
=>
'script'
} ],
[ {
type
=>
'start'
,
name
=>
'script'
,
attr
=> {
type
=>
'text/javascript'
,
src
=>
qr{http://twitter\.com/statuses/user_timeline/[0-9A-Za-z\-_]+\.json\?callback=twitterCallback2&count=\d+}
,
}},
{
type
=>
'end'
,
name
=>
'script'
} ],
[ {
type
=>
'start'
,
name
=>
'script'
,
attr
=> {
text
=>
'text/javascript'
,
src
=>
qr{http://twitter\.com/statuses/user_timeline/[0-9A-Za-z\-_]+\.json\?callback=twitterCallback2&count=\d+}
,
}},
{
type
=>
'end'
,
name
=>
'script'
} ],
]);
1;