tiddlywiki-production
Version:
a non-linear personal web notebook
1 lines • 31.8 kB
JavaScript
$tw.preloadTiddler({"title":"$:/plugins/tiddlywiki/twitter","name":"Twitter","description":"Twitter embedding tools","list":"readme usage","version":"5.1.22","plugin-type":"plugin","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/tiddlywiki/twitter/macros\":{\"title\":\"$:/plugins/tiddlywiki/twitter/macros\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define twitter-usage(text)\\nFor example:\\n\\n<$codeblock code=\\\"\\\"\\\"$text$\\\"\\\"\\\"/>\\n\\nRenders as:\\n\\n$text$\\n\\\\end\\n\\n\"},\"$:/plugins/tiddlywiki/twitter/rawmarkup\":{\"title\":\"$:/plugins/tiddlywiki/twitter/rawmarkup\",\"tags\":\"$:/tags/RawMarkup\",\"text\":\"<script>window.twttr = (function(d, s, id) {\\n var js, fjs = d.getElementsByTagName(s)[0],\\n t = window.twttr || {};\\n if (d.getElementById(id)) return t;\\n js = d.createElement(s);\\n js.id = id;\\n js.src = \\\"https://platform.twitter.com/widgets.js\\\";\\n fjs.parentNode.insertBefore(js, fjs);\\n\\n t._e = [];\\n t.ready = function(f) {\\n t._e.push(f);\\n };\\n\\n return t;\\n}(document, \\\"script\\\", \\\"twitter-wjs\\\"));</script>\"},\"$:/plugins/tiddlywiki/twitter/readme\":{\"title\":\"$:/plugins/tiddlywiki/twitter/readme\",\"text\":\"This plugin provides a `<$twitter>` widget that can embed various entities from Twitter's service:\\n\\n* Individual tweets and conversations\\n* Buttons for tweeting/mentioning, sharing, following\\n* Various types of timeline: profile, likes, list, collection, url and widget\\n\\nThe widget only works in the browser, and not in generated static HTML pages.\\n\"},\"$:/plugins/tiddlywiki/twitter/widget.js\":{\"title\":\"$:/plugins/tiddlywiki/twitter/widget.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/tiddlywiki/twitter/widget.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nTwitter widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar TwitterWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nTwitterWidget.prototype = new Widget();\\n\\nvar optionAttributes = \\\"align ariaPolite borderColor cards chrome conversation count dnt hashtags height height lang linkColor related size text theme tweetLimit via width\\\".split(\\\" \\\"),\\n\\totherAttributes = \\\"hashtag id ownerScreenName screenName slug tweetID type url userId widgetId\\\".split(\\\" \\\"),\\n\\tallAttributes = Array.prototype.slice.call(optionAttributes,0).concat(otherAttributes);\\n\\n/*\\nRender this widget into the DOM\\n*/\\nTwitterWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Housekeeping\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\t// Compose the arguments for the tweet call\\n\\tvar method,\\n\\t\\targ,\\n\\t\\toptions = {};\\n\\t\\t$tw.utils.each(optionAttributes,function(attr) {\\n\\t\\t\\toptions[attr] = self.getAttribute(attr);\\n\\t\\t});\\n\\tswitch(this.getAttribute(\\\"type\\\")) {\\n\\t\\tcase \\\"shareButton\\\":\\n\\t\\t\\tmethod = \\\"createShareButton\\\";\\n\\t\\t\\targ = this.getAttribute(\\\"url\\\");\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"followButton\\\":\\n\\t\\t\\tmethod = \\\"createFollowButton\\\";\\n\\t\\t\\targ = this.getAttribute(\\\"screenName\\\");\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"hashtagButton\\\":\\n\\t\\t\\tmethod = \\\"createHashtagButton\\\";\\n\\t\\t\\targ = this.getAttribute(\\\"hashtag\\\");\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"mentionButton\\\":\\n\\t\\t\\tmethod = \\\"createMentionButton\\\";\\n\\t\\t\\targ = this.getAttribute(\\\"screenName\\\");\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"tweet\\\":\\n\\t\\t\\tmethod = \\\"createTweet\\\";\\n\\t\\t\\targ = this.getAttribute(\\\"tweetID\\\");\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"timelineProfile\\\":\\n\\t\\t\\tmethod = \\\"createTimeline\\\";\\n\\t\\t\\targ = {\\n\\t\\t\\t\\tsourceType: \\\"profile\\\",\\n\\t\\t\\t\\tscreenName: this.getAttribute(\\\"screenName\\\"),\\n\\t\\t\\t\\tuserId: this.getAttribute(\\\"userId\\\")\\n\\t\\t\\t};\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"timelineLikes\\\":\\n\\t\\t\\tmethod = \\\"createTimeline\\\";\\n\\t\\t\\targ = {\\n\\t\\t\\t\\tsourceType: \\\"likes\\\",\\n\\t\\t\\t\\tscreenName: this.getAttribute(\\\"screenName\\\"),\\n\\t\\t\\t\\tuserId: this.getAttribute(\\\"userId\\\")\\n\\t\\t\\t};\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"timelineList\\\":\\n\\t\\t\\tmethod = \\\"createTimeline\\\";\\n\\t\\t\\targ = {\\n\\t\\t\\t\\tsourceType: \\\"list\\\",\\n\\t\\t\\t\\townerScreenName: this.getAttribute(\\\"ownerScreenName\\\"),\\n\\t\\t\\t\\tslug: this.getAttribute(\\\"slug\\\"),\\n\\t\\t\\t\\tid: this.getAttribute(\\\"id\\\")\\n\\t\\t\\t};\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"timelineCollection\\\":\\n\\t\\t\\tmethod = \\\"createTimeline\\\";\\n\\t\\t\\targ = {\\n\\t\\t\\t\\tsourceType: \\\"collection\\\",\\n\\t\\t\\t\\tid: this.getAttribute(\\\"id\\\")\\n\\t\\t\\t};\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"timelineUrl\\\":\\n\\t\\t\\tmethod = \\\"createTimeline\\\";\\n\\t\\t\\targ = {\\n\\t\\t\\t\\tsourceType: \\\"url\\\",\\n\\t\\t\\t\\turl: this.getAttribute(\\\"url\\\")\\n\\t\\t\\t};\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"timelineWidget\\\":\\n\\t\\t\\tmethod = \\\"createTimeline\\\";\\n\\t\\t\\targ = {\\n\\t\\t\\t\\tsourceType: \\\"widget\\\",\\n\\t\\t\\t\\twidgetId: this.getAttribute(\\\"widgetId\\\")\\n\\t\\t\\t};\\n\\t\\t\\tbreak;\\n\\t}\\n\\t// Render the tweet into a div\\n\\tvar div = this.document.createElement(\\\"div\\\");\\n\\tif(!this.document.isTiddlyWikiFakeDom && window.twttr && method) {\\n\\t\\ttwttr.ready(function(twttr) {\\n\\t\\t\\twindow.twttr.widgets[method](arg,div,options);\\n\\t\\t});\\n\\t} else {\\n\\t\\tdiv.appendChild(this.document.createTextNode(\\\"Can't render tweet\\\"));\\n\\t}\\n\\t// Insert it into the DOM\\n\\tparent.insertBefore(div,nextSibling);\\n\\tthis.domNodes.push(div);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nTwitterWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(allAttributes.find(function(attr) {\\n\\t\\treturn $tw.utils.hop(changedAttributes,attr);\\n\\t})) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\t\\n\\t}\\n};\\n\\nexports.twitter = TwitterWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/plugins/tiddlywiki/twitter/usage/collectiontimeline\":{\"title\":\"$:/plugins/tiddlywiki/twitter/usage/collectiontimeline\",\"tags\":\"$:/tags/TwitterUsage\",\"caption\":\"Collection Timeline\",\"text\":\"!! Embedding Collection Timelines\\n\\n|!Attribute |!Values |!Default |!Notes |\\n|''type'' |\\\"timelineCollection\\\" |none |\\\"timelineCollection\\\" |\\n|''id'' |ID of the collection |none | |\\n|''chrome'' |\\\"noheader\\\", \\\"nofooter\\\", \\\"noborders\\\", \\\"transparent\\\", \\\"noscrollbar\\\" |none |Toggle the display of design elements in the widget. This parameter is a space-separated list of values |\\n|''height'' |Positive integer |600 |Set a fixed height of the embedded widget |\\n|''tweetLimit'' |Range: 1-20 |none |Render a timeline statically, displaying only n number of Tweets |\\n|''borderColor'' |Hexadecimal color |Varies by theme |Adjust the color of borders inside the widget |\\n|''ariaPolite'' |\\\"polite\\\", \\\"assertive\\\", \\\"rude\\\" |\\\"polite\\\" |Apply the specified aria-polite behavior to the rendered timeline. New Tweets may be added to the top of a timeline, affecting screen readers |\\n|''conversation'' |\\\"none\\\", \\\"all\\\" |\\\"all\\\" |Tweets in response to another Tweet will display a compact version of the previous Tweet by default. Use \\\"none\\\" to hide the parent Tweet in the conversation |\\n|''cards'' |\\\"hidden\\\", \\\"visible\\\"|visible |Hide photos, videos, and link previews powered by Twitter Cards |\\n|''width'' |Positive integer |\\\"auto\\\", derived from container size |Set the maximum width of the embedded Tweet |\\n|''align''\\t|\\\"left\\\", \\\"right\\\", \\\"center\\\"\\t|none |Float the embedded Tweet to the left or right so that text wraps around it, or align center so it floats in the middle of a paragraph |\\n|''theme'' |\\\"dark\\\", \\\"light\\\" |\\\"light\\\"\\t|Toggle the default color scheme of the embedded Tweet |\\n|''linkColor'' |Hexadecimal color |\\\"#2b7bb9\\\" |Adjust the color of links, including hashtags and @mentions, inside the widget |\\n|''lang'' |An ISO 639-1 language code |en |The language in which to render a widget, if supported |\\n|''dnt'' |\\\"true\\\", \\\"false\\\" |false |Enable Do Not Track for this widget |\\n|''related'' |Any comma-separated list of valid Twitter screen names |none |A list of Twitter screen names to be suggested for following after a Tweet or Tweet action is posted |\\n|''via'' |Any valid Twitter screen name |none |A Twitter user mentioned in the default Tweet text as via @user where appropriate |\\n\\n<<twitter-usage \\\"\\\"\\\"<$twitter type=\\\"timelineCollection\\\" id=\\\"393773266801659904\\\"/>\\n\\\"\\\"\\\">>\\n\"},\"$:/plugins/tiddlywiki/twitter/usage/followbutton\":{\"title\":\"$:/plugins/tiddlywiki/twitter/usage/followbutton\",\"tags\":\"$:/tags/TwitterUsage\",\"caption\":\"Follow Button\",\"text\":\"!! Embedding Follow Buttons\\n\\n|!Attribute |!Values |!Default |!Notes |\\n|''type'' |\\\"followButton\\\" |none |\\\"followButton\\\" |\\n|''screenName'' |Screen name of the account to be followed |none | |\\n|''count'' |\\\"none\\\", \\\"horizontal\\\" |\\\"horizontal\\\" | |\\n|''text'' |Any string |none |The default, highlighted text a user sees in the Tweet web intent |\\n|''hashtags'' |A comma-separated list of hashtags |none |A list of hashtags to be appended to default Tweet text where appropriate |\\n|''align'' |\\\"left\\\", \\\"right\\\" |locale dependent (left or right, depending on the text direction of the language) |The alignment of the button within an iframe; use this to ensure flush layout when aligning buttons |\\n|''size'' |\\\"medium\\\", \\\"large\\\" |medium |Size of button |\\n|''lang'' |An ISO 639-1 language code |en |The language in which to render a widget, if supported |\\n|''dnt'' |\\\"true\\\", \\\"false\\\" |false |Enable Do Not Track for this widget |\\n|''related'' |Any comma-separated list of valid Twitter screen names |none |A list of Twitter screen names to be suggested for following after a Tweet or Tweet action is posted |\\n|''via'' |Any valid Twitter screen name |none |A Twitter user mentioned in the default Tweet text as via @user where appropriate |\\n\\n<<twitter-usage \\\"\\\"\\\"<$twitter type=\\\"followButton\\\" screenName=\\\"TiddlyWiki\\\"/>\\n\\\"\\\"\\\">>\\n\"},\"$:/plugins/tiddlywiki/twitter/usage/hashtagbutton\":{\"title\":\"$:/plugins/tiddlywiki/twitter/usage/hashtagbutton\",\"tags\":\"$:/tags/TwitterUsage\",\"caption\":\"Hashtag Button\",\"text\":\"!! Embedding Hashtag Buttons\\n\\n|!Attribute |!Values |!Default |!Notes |\\n|''type'' |\\\"hashtagButton\\\" |none |\\\"hashtagButton\\\" |\\n|''hashtag'' |Hashtag to be tweeted and displayed on the button |none | |\\n|''text'' |Any string |none |The default, highlighted text a user sees in the Tweet web intent |\\n|''align'' |\\\"left\\\", \\\"right\\\" |locale dependent (left or right, depending on the text direction of the language) |The alignment of the button within an iframe; use this to ensure flush layout when aligning buttons |\\n|''size'' |\\\"medium\\\", \\\"large\\\" |medium |Size of button |\\n|''lang'' |An ISO 639-1 language code |en |The language in which to render a widget, if supported |\\n|''dnt'' |\\\"true\\\", \\\"false\\\" |false |Enable Do Not Track for this widget |\\n|''related'' |Any comma-separated list of valid Twitter screen names |none |A list of Twitter screen names to be suggested for following after a Tweet or Tweet action is posted |\\n|''via'' |Any valid Twitter screen name |none |A Twitter user mentioned in the default Tweet text as via @user where appropriate |\\n\\n<<twitter-usage \\\"\\\"\\\"<$twitter type=\\\"hashtagButton\\\" hashtag=\\\"TiddlyWiki\\\"/>\\n\\\"\\\"\\\">>\\n\"},\"$:/plugins/tiddlywiki/twitter/usage/likestimeline\":{\"title\":\"$:/plugins/tiddlywiki/twitter/usage/likestimeline\",\"tags\":\"$:/tags/TwitterUsage\",\"caption\":\"Likes Timeline\",\"text\":\"!! Embedding Likes Timelines\\n\\n|!Attribute |!Values |!Default |!Notes |\\n|''type'' |\\\"timelineLikes\\\" |none |\\\"timelineLikes\\\" |\\n|''screenName'' |Screen name of the account |none |Either ''screenName'' or ''userId'' must be provided |\\n|''userId'' |User ID of the account |none |~|\\n|''chrome'' |\\\"noheader\\\", \\\"nofooter\\\", \\\"noborders\\\", \\\"transparent\\\", \\\"noscrollbar\\\" |none |Toggle the display of design elements in the widget. This parameter is a space-separated list of values |\\n|''height'' |Positive integer |600 |Set a fixed height of the embedded widget |\\n|''tweetLimit'' |Range: 1-20 |none |Render a timeline statically, displaying only n number of Tweets |\\n|''borderColor'' |Hexadecimal color |Varies by theme |Adjust the color of borders inside the widget |\\n|''ariaPolite'' |\\\"polite\\\", \\\"assertive\\\", \\\"rude\\\" |\\\"polite\\\" |Apply the specified aria-polite behavior to the rendered timeline. New Tweets may be added to the top of a timeline, affecting screen readers |\\n|''conversation'' |\\\"none\\\", \\\"all\\\" |\\\"all\\\" |Tweets in response to another Tweet will display a compact version of the previous Tweet by default. Use \\\"none\\\" to hide the parent Tweet in the conversation |\\n|''cards'' |\\\"hidden\\\", \\\"visible\\\"|visible |Hide photos, videos, and link previews powered by Twitter Cards |\\n|''width'' |Positive integer |\\\"auto\\\", derived from container size |Set the maximum width of the embedded Tweet |\\n|''align''\\t|\\\"left\\\", \\\"right\\\", \\\"center\\\"\\t|none |Float the embedded Tweet to the left or right so that text wraps around it, or align center so it floats in the middle of a paragraph |\\n|''theme'' |\\\"dark\\\", \\\"light\\\" |\\\"light\\\"\\t|Toggle the default color scheme of the embedded Tweet |\\n|''linkColor'' |Hexadecimal color |\\\"#2b7bb9\\\" |Adjust the color of links, including hashtags and @mentions, inside the widget |\\n|''lang'' |An ISO 639-1 language code |en |The language in which to render a widget, if supported |\\n|''dnt'' |\\\"true\\\", \\\"false\\\" |false |Enable Do Not Track for this widget |\\n|''related'' |Any comma-separated list of valid Twitter screen names |none |A list of Twitter screen names to be suggested for following after a Tweet or Tweet action is posted |\\n|''via'' |Any valid Twitter screen name |none |A Twitter user mentioned in the default Tweet text as via @user where appropriate |\\n\\n<<twitter-usage \\\"\\\"\\\"<$twitter type=\\\"timelineLikes\\\" screenName=\\\"tiddlywiki\\\"/>\\n\\\"\\\"\\\">>\\n\"},\"$:/plugins/tiddlywiki/twitter/usage/listtimeline\":{\"title\":\"$:/plugins/tiddlywiki/twitter/usage/listtimeline\",\"tags\":\"$:/tags/TwitterUsage\",\"caption\":\"List Timeline\",\"text\":\"!! Embedding List Timelines\\n\\n|!Attribute |!Values |!Default |!Notes |\\n|''type'' |\\\"timelineList\\\" |none |\\\"timelineList\\\" |\\n|''ownerScreenName'' |Screen name of the account |none |Either both ''ownerScreenName'' and ''slug'' must be provided, or just ''id'' |\\n|''slug'' |The string identifier for a list |none |~|\\n|''id'' |ID of the list |none |~|\\n|''chrome'' |\\\"noheader\\\", \\\"nofooter\\\", \\\"noborders\\\", \\\"transparent\\\", \\\"noscrollbar\\\" |none |Toggle the display of design elements in the widget. This parameter is a space-separated list of values |\\n|''height'' |Positive integer |600 |Set a fixed height of the embedded widget |\\n|''tweetLimit'' |Range: 1-20 |none |Render a timeline statically, displaying only n number of Tweets |\\n|''borderColor'' |Hexadecimal color |Varies by theme |Adjust the color of borders inside the widget |\\n|''ariaPolite'' |\\\"polite\\\", \\\"assertive\\\", \\\"rude\\\" |\\\"polite\\\" |Apply the specified aria-polite behavior to the rendered timeline. New Tweets may be added to the top of a timeline, affecting screen readers |\\n|''conversation'' |\\\"none\\\", \\\"all\\\" |\\\"all\\\" |Tweets in response to another Tweet will display a compact version of the previous Tweet by default. Use \\\"none\\\" to hide the parent Tweet in the conversation |\\n|''cards'' |\\\"hidden\\\", \\\"visible\\\"|visible |Hide photos, videos, and link previews powered by Twitter Cards |\\n|''width'' |Positive integer |\\\"auto\\\", derived from container size |Set the maximum width of the embedded Tweet |\\n|''align''\\t|\\\"left\\\", \\\"right\\\", \\\"center\\\"\\t|none |Float the embedded Tweet to the left or right so that text wraps around it, or align center so it floats in the middle of a paragraph |\\n|''theme'' |\\\"dark\\\", \\\"light\\\" |\\\"light\\\"\\t|Toggle the default color scheme of the embedded Tweet |\\n|''linkColor'' |Hexadecimal color |\\\"#2b7bb9\\\" |Adjust the color of links, including hashtags and @mentions, inside the widget |\\n|''lang'' |An ISO 639-1 language code |en |The language in which to render a widget, if supported |\\n|''dnt'' |\\\"true\\\", \\\"false\\\" |false |Enable Do Not Track for this widget |\\n|''related'' |Any comma-separated list of valid Twitter screen names |none |A list of Twitter screen names to be suggested for following after a Tweet or Tweet action is posted |\\n|''via'' |Any valid Twitter screen name |none |A Twitter user mentioned in the default Tweet text as via @user where appropriate |\\n\\n<<twitter-usage \\\"\\\"\\\"<$twitter type=\\\"timelineList\\\" ownerScreenName=\\\"isaach\\\" slug=\\\"home-timeline\\\"/>\\n\\\"\\\"\\\">>\\n\"},\"$:/plugins/tiddlywiki/twitter/usage/mentionbutton\":{\"title\":\"$:/plugins/tiddlywiki/twitter/usage/mentionbutton\",\"tags\":\"$:/tags/TwitterUsage\",\"caption\":\"Mention Button\",\"text\":\"!! Embedding Mention Buttons\\n\\n|!Attribute |!Values |!Default |!Notes |\\n|''type'' |\\\"mentionButton\\\" |none |\\\"mentionButton\\\" |\\n|''screenName'' |Screen name of the account to be mentioned |none | |\\n|''text'' |Any string |none |The default, highlighted text a user sees in the Tweet web intent |\\n|''hashtags'' |A comma-separated list of hashtags |none |A list of hashtags to be appended to default Tweet text where appropriate |\\n|''align'' |\\\"left\\\", \\\"right\\\" |locale dependent (left or right, depending on the text direction of the language) |The alignment of the button within an iframe; use this to ensure flush layout when aligning buttons |\\n|''size'' |\\\"medium\\\", \\\"large\\\" |medium |Size of button |\\n|''lang'' |An ISO 639-1 language code |en |The language in which to render a widget, if supported |\\n|''dnt'' |\\\"true\\\", \\\"false\\\" |false |Enable Do Not Track for this widget |\\n|''related'' |Any comma-separated list of valid Twitter screen names |none |A list of Twitter screen names to be suggested for following after a Tweet or Tweet action is posted |\\n|''via'' |Any valid Twitter screen name |none |A Twitter user mentioned in the default Tweet text as via @user where appropriate |\\n\\n<<twitter-usage \\\"\\\"\\\"<$twitter type=\\\"mentionButton\\\" screenName=\\\"TiddlyWiki\\\"/>\\n\\\"\\\"\\\">>\"},\"$:/plugins/tiddlywiki/twitter/usage/profiletimeline\":{\"title\":\"$:/plugins/tiddlywiki/twitter/usage/profiletimeline\",\"tags\":\"$:/tags/TwitterUsage\",\"caption\":\"Profile Timeline\",\"text\":\"!! Embedding Profile Timelines\\n\\n|!Attribute |!Values |!Default |!Notes |\\n|''type'' |\\\"timelineProfile\\\" |none |\\\"timelineProfile\\\" |\\n|''screenName'' |Screen name of the account |none |Either ''screenName'' or ''userId'' must be provided |\\n|''userId'' |User ID of the account |none |~|\\n|''chrome'' |\\\"noheader\\\", \\\"nofooter\\\", \\\"noborders\\\", \\\"transparent\\\", \\\"noscrollbar\\\" |none |Toggle the display of design elements in the widget. This parameter is a space-separated list of values |\\n|''height'' |Positive integer |600 |Set a fixed height of the embedded widget |\\n|''tweetLimit'' |Range: 1-20 |none |Render a timeline statically, displaying only n number of Tweets |\\n|''borderColor'' |Hexadecimal color |Varies by theme |Adjust the color of borders inside the widget |\\n|''ariaPolite'' |\\\"polite\\\", \\\"assertive\\\", \\\"rude\\\" |\\\"polite\\\" |Apply the specified aria-polite behavior to the rendered timeline. New Tweets may be added to the top of a timeline, affecting screen readers |\\n|''conversation'' |\\\"none\\\", \\\"all\\\" |\\\"all\\\" |Tweets in response to another Tweet will display a compact version of the previous Tweet by default. Use \\\"none\\\" to hide the parent Tweet in the conversation |\\n|''cards'' |\\\"hidden\\\", \\\"visible\\\"|visible |Hide photos, videos, and link previews powered by Twitter Cards |\\n|''width'' |Positive integer |\\\"auto\\\", derived from container size |Set the maximum width of the embedded Tweet |\\n|''align''\\t|\\\"left\\\", \\\"right\\\", \\\"center\\\"\\t|none |Float the embedded Tweet to the left or right so that text wraps around it, or align center so it floats in the middle of a paragraph |\\n|''theme'' |\\\"dark\\\", \\\"light\\\" |\\\"light\\\"\\t|Toggle the default color scheme of the embedded Tweet |\\n|''linkColor'' |Hexadecimal color |\\\"#2b7bb9\\\" |Adjust the color of links, including hashtags and @mentions, inside the widget |\\n|''lang'' |An ISO 639-1 language code |en |The language in which to render a widget, if supported |\\n|''dnt'' |\\\"true\\\", \\\"false\\\" |false |Enable Do Not Track for this widget |\\n|''related'' |Any comma-separated list of valid Twitter screen names |none |A list of Twitter screen names to be suggested for following after a Tweet or Tweet action is posted |\\n|''via'' |Any valid Twitter screen name |none |A Twitter user mentioned in the default Tweet text as via @user where appropriate |\\n\\n<<twitter-usage \\\"\\\"\\\"<$twitter type=\\\"timelineProfile\\\" screenName=\\\"tiddlywiki\\\"/>\\n\\\"\\\"\\\">>\\n\\n\"},\"$:/plugins/tiddlywiki/twitter/usage/sharebutton\":{\"title\":\"$:/plugins/tiddlywiki/twitter/usage/sharebutton\",\"tags\":\"$:/tags/TwitterUsage\",\"caption\":\"Share Button\",\"text\":\"!! Embedding Share Buttons\\n\\n|!Attribute |!Values |!Default |!Notes |\\n|''type'' |\\\"shareButton\\\" |none |\\\"shareButton\\\" |\\n|''url'' |The URL to be shared |none | |\\n|''text'' |Any string |none |The default, highlighted text a user sees in the Tweet web intent |\\n|''hashtags'' |A comma-separated list of hashtags |none |A list of hashtags to be appended to default Tweet text where appropriate |\\n|''align'' |\\\"left\\\", \\\"right\\\" |locale dependent (left or right, depending on the text direction of the language) |The alignment of the button within an iframe; use this to ensure flush layout when aligning buttons |\\n|''size'' |\\\"medium\\\", \\\"large\\\" |medium |Size of button |\\n|''lang'' |An ISO 639-1 language code |en |The language in which to render a widget, if supported |\\n|''dnt'' |\\\"true\\\", \\\"false\\\" |false |Enable Do Not Track for this widget |\\n|''related'' |Any comma-separated list of valid Twitter screen names |none |A list of Twitter screen names to be suggested for following after a Tweet or Tweet action is posted |\\n|''via'' |Any valid Twitter screen name |none |A Twitter user mentioned in the default Tweet text as via @user where appropriate |\\n\\n<<twitter-usage \\\"\\\"\\\"<$twitter type=\\\"shareButton\\\" url=\\\"https://tiddlywiki.com/\\\" text=\\\"Mind blown!\\\"/>\\n\\\"\\\"\\\">>\\n\"},\"$:/plugins/tiddlywiki/twitter/usage/tweet\":{\"title\":\"$:/plugins/tiddlywiki/twitter/usage/tweet\",\"tags\":\"$:/tags/TwitterUsage\",\"caption\":\"Tweet\",\"text\":\"!! Embedding Tweets\\n\\n|!Attribute |!Values |!Default |!Notes |\\n|''type'' |\\\"tweet\\\" |none |\\\"tweet\\\" |\\n|''tweetID'' |ID of the tweet to render |none | |\\n|''conversation'' |\\\"none\\\", \\\"all\\\" |\\\"all\\\" |Tweets in response to another Tweet will display a compact version of the previous Tweet by default. Use \\\"none\\\" to hide the parent Tweet in the conversation |\\n|''cards'' |\\\"hidden\\\", \\\"visible\\\"|visible |Hide photos, videos, and link previews powered by Twitter Cards |\\n|''width'' |Positive integer |\\\"auto\\\", derived from container size |Set the maximum width of the embedded Tweet |\\n|''align''\\t|\\\"left\\\", \\\"right\\\", \\\"center\\\"\\t|none |Float the embedded Tweet to the left or right so that text wraps around it, or align center so it floats in the middle of a paragraph |\\n|''theme'' |\\\"dark\\\", \\\"light\\\" |\\\"light\\\"\\t|Toggle the default color scheme of the embedded Tweet |\\n|''linkColor'' |Hexadecimal color |\\\"#2b7bb9\\\" |Adjust the color of links, including hashtags and @mentions, inside the widget |\\n|''lang'' |An ISO 639-1 language code |en |The language in which to render a widget, if supported |\\n|''dnt'' |true, false |false |Enable Do Not Track for this widget |\\n|''related'' |Any comma-separated list of valid Twitter screen names |none |A list of Twitter screen names to be suggested for following after a Tweet or Tweet action is posted |\\n|''via'' |Any valid Twitter screen name |none |A Twitter user mentioned in the default Tweet text as via @user where appropriate |\\n\\n<<twitter-usage \\\"\\\"\\\"<$twitter type=\\\"tweet\\\" tweetID=\\\"750677030589587456\\\"/>\\n\\\"\\\"\\\">>\\n\"},\"$:/plugins/tiddlywiki/twitter/usage/urltimeline\":{\"title\":\"$:/plugins/tiddlywiki/twitter/usage/urltimeline\",\"tags\":\"$:/tags/TwitterUsage\",\"caption\":\"Url Timeline\",\"text\":\"!! Embedding Profile Timelines\\n\\n|!Attribute |!Values |!Default |!Notes |\\n|''type'' |\\\"timelineUrl\\\" |none |\\\"timelineUrl\\\" |\\n|''url'' |Absolute URL of a Twitter profile, likes, list, or collection |none | |\\n|''chrome'' |\\\"noheader\\\", \\\"nofooter\\\", \\\"noborders\\\", \\\"transparent\\\", \\\"noscrollbar\\\" |none |Toggle the display of design elements in the widget. This parameter is a space-separated list of values |\\n|''height'' |Positive integer |600 |Set a fixed height of the embedded widget |\\n|''tweetLimit'' |Range: 1-20 |none |Render a timeline statically, displaying only n number of Tweets |\\n|''borderColor'' |Hexadecimal color |Varies by theme |Adjust the color of borders inside the widget |\\n|''ariaPolite'' |\\\"polite\\\", \\\"assertive\\\", \\\"rude\\\" |\\\"polite\\\" |Apply the specified aria-polite behavior to the rendered timeline. New Tweets may be added to the top of a timeline, affecting screen readers |\\n|''conversation'' |\\\"none\\\", \\\"all\\\" |\\\"all\\\" |Tweets in response to another Tweet will display a compact version of the previous Tweet by default. Use \\\"none\\\" to hide the parent Tweet in the conversation |\\n|''cards'' |\\\"hidden\\\", \\\"visible\\\"|visible |Hide photos, videos, and link previews powered by Twitter Cards |\\n|''width'' |Positive integer |\\\"auto\\\", derived from container size |Set the maximum width of the embedded Tweet |\\n|''align''\\t|\\\"left\\\", \\\"right\\\", \\\"center\\\"\\t|none |Float the embedded Tweet to the left or right so that text wraps around it, or align center so it floats in the middle of a paragraph |\\n|''theme'' |\\\"dark\\\", \\\"light\\\" |\\\"light\\\"\\t|Toggle the default color scheme of the embedded Tweet |\\n|''linkColor'' |Hexadecimal color |\\\"#2b7bb9\\\" |Adjust the color of links, including hashtags and @mentions, inside the widget |\\n|''lang'' |An ISO 639-1 language code |en |The language in which to render a widget, if supported |\\n|''dnt'' |\\\"true\\\", \\\"false\\\" |false |Enable Do Not Track for this widget |\\n|''related'' |Any comma-separated list of valid Twitter screen names |none |A list of Twitter screen names to be suggested for following after a Tweet or Tweet action is posted |\\n|''via'' |Any valid Twitter screen name |none |A Twitter user mentioned in the default Tweet text as via @user where appropriate |\\n\\n<<twitter-usage \\\"\\\"\\\"<$twitter type=\\\"timelineUrl\\\" url=\\\"https://twitter.com/TiddlyWiki\\\"/>\\n\\\"\\\"\\\">>\\n\"},\"$:/plugins/tiddlywiki/twitter/usage/widgettimeline\":{\"title\":\"$:/plugins/tiddlywiki/twitter/usage/widgettimeline\",\"tags\":\"$:/tags/TwitterUsage\",\"caption\":\"Widget Timeline\",\"text\":\"!! Embedding Widget Timelines\\n\\nTo power an embedded timeline with a widget configuration generated at https://twitter.com/settings/widgets.\\n\\n|!Attribute |!Values |!Default |!Notes |\\n|''type'' |\\\"timelineWidget\\\" |none |\\\"timelineWidget\\\" |\\n|''widgetId'' |ID of the widget |none |~|\\n|''chrome'' |\\\"noheader\\\", \\\"nofooter\\\", \\\"noborders\\\", \\\"transparent\\\", \\\"noscrollbar\\\" |none |Toggle the display of design elements in the widget. This parameter is a space-separated list of values |\\n|''height'' |Positive integer |600 |Set a fixed height of the embedded widget |\\n|''tweetLimit'' |Range: 1-20 |none |Render a timeline statically, displaying only n number of Tweets |\\n|''borderColor'' |Hexadecimal color |Varies by theme |Adjust the color of borders inside the widget |\\n|''ariaPolite'' |\\\"polite\\\", \\\"assertive\\\", \\\"rude\\\" |\\\"polite\\\" |Apply the specified aria-polite behavior to the rendered timeline. New Tweets may be added to the top of a timeline, affecting screen readers |\\n|''conversation'' |\\\"none\\\", \\\"all\\\" |\\\"all\\\" |Tweets in response to another Tweet will display a compact version of the previous Tweet by default. Use \\\"none\\\" to hide the parent Tweet in the conversation |\\n|''cards'' |\\\"hidden\\\", \\\"visible\\\"|visible |Hide photos, videos, and link previews powered by Twitter Cards |\\n|''width'' |Positive integer |\\\"auto\\\", derived from container size |Set the maximum width of the embedded Tweet |\\n|''align''\\t|\\\"left\\\", \\\"right\\\", \\\"center\\\"\\t|none |Float the embedded Tweet to the left or right so that text wraps around it, or align center so it floats in the middle of a paragraph |\\n|''theme'' |\\\"dark\\\", \\\"light\\\" |\\\"light\\\"\\t|Toggle the default color scheme of the embedded Tweet |\\n|''linkColor'' |Hexadecimal color |\\\"#2b7bb9\\\" |Adjust the color of links, including hashtags and @mentions, inside the widget |\\n|''lang'' |An ISO 639-1 language code |en |The language in which to render a widget, if supported |\\n|''dnt'' |\\\"true\\\", \\\"false\\\" |false |Enable Do Not Track for this widget |\\n|''related'' |Any comma-separated list of valid Twitter screen names |none |A list of Twitter screen names to be suggested for following after a Tweet or Tweet action is posted |\\n|''via'' |Any valid Twitter screen name |none |A Twitter user mentioned in the default Tweet text as via @user where appropriate |\\n\\n<<twitter-usage \\\"\\\"\\\"<$twitter type=\\\"timelineWidget\\\" widgetId=\\\"570670821065379840\\\"/>\\n\\\"\\\"\\\">>\\n\"},\"$:/plugins/tiddlywiki/twitter/usage\":{\"title\":\"$:/plugins/tiddlywiki/twitter/usage\",\"text\":\"The `<$twitter>` widget can be used to embed several different entities:\\n\\n<$macrocall $name=\\\"tabs\\\" state=<<qualify \\\"$:/state/twitter/usage\\\">> tabsList=\\\"[all[tiddlers+shadows]tag[$:/tags/TwitterUsage]]\\\" default=\\\"$:/plugins/tiddlywiki/twitter/usage/tweet\\\" class=\\\"tc-vertical\\\"/>\\n\"}}}"});