Developer manual
system.template.twitter.xslt [DEPRECATED]
This plugin has been deprecated due to API and Terms of Use changes at Twitter. Spring now supports embedding Twitter Timelines using the offical Twitter Widgets.
Updated: Type: feed
Method
<select name="feed"><option attribute="value">value</option></select>
Help documentation on embedding Twitter Timelines using the offical Twitter Widgets.
Current Experimental Deprecated
Option Attributes
Attribute | Type | Description | Default | Required? | |
---|---|---|---|---|---|
current | format | string | Format to use Allowed values: system.template.twitter.xslt |
Yes | |
current | search | string | Returns tweets based on a search. • To search for a hash tag such as #spring use: %23spring • To search for a 'at' name such as @springcms use: %40springcms • To search for a word, simple use that word. • You can use 'OR' to search 'something OR another' otherwise the search is assumed to be 'AND'. |
Yes, if a 'twitterid' option is not defined | |
current | twitterid | string | Valid twitter id | Yes, if a 'search' option is not defined | |
current | show | list | Controls which features to enable for the twitter feed Allowed values: icon date status Separate each option with a space, in the required order |
date status | No |
current | title | string | Add a heading above the twitter feed Allowed values: Letters a-zA-Z, Numbers, -_, Spaces |
-None- | No |
current | limit | number | Number of results to return Allowed values: Number |
No | |
experimental | type | option | NOT CURRENTLY WORKING. Returns the nominated status. Allowed values: user_timeline, home_timeline, mentions, retweeted_by_me, retweeted_to_me, retweets_of_me, retweeted_to_user, retweeted_by_user • user_timeline: Returns the most recent statuses posted by the authenticating user [Working]. • home_timeline: Returns the most recent statuses, including retweets if they exist, posted by the authenticating user and the users they follow. • mentions: Returns the most recent mentions (status containing @username) for the authenticating user. • retweeted_by_me: Returns the most recent retweets posted by the authenticating user. • retweeted_to_me: Returns the most recent retweets posted by users the authenticating user follow. • retweets_of_me: Returns the most recent tweets of the authenticated user that have been retweeted by others. • retweeted_to_user: This method is identical to statuses/retweeted_to_me except you can choose the user to view. • retweeted_by_user: This method is identical to statuses/retweeted_by_me except you can choose the user to view. |
user_timeline | No |
deprecated | cache | boolean | Cache the results returned Allowed values: 1 |
No |
Examples
#1
Request
<p> <select name="feed"> <option value="cache">1</option> <option value="format">system.template.twitter.xslt</option> <option value="twitterid">springcms</option> <option value="show">icon date status</option> <option value="title">Latest Twitter Updates</option> <option value="limit">10</option> </select> </p>
Returns the 10 most recent statuses posted by the authenticating user, adding a heading of 'Latest Twitter Updates', showing the icon, date and status.
#2
Request
<p> <select name="feed"> <option value="cache">1</option> <option value="format">system.template.twitter.xslt</option> <option value="search">%23spring OR %40springcms</option> <option value="show">icon date status</option> </select> </p>
Returns search result for tweets containing #spring or @springcms