From d3d34ab64973f7f9fa10ddcd239e14fcb667b42e Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Fri, 17 Aug 2018 14:58:51 -0700 Subject: [PATCH] Add configurable screenName to Twitter module --- _site/content/modules/twitter.md | 5 + docs/configuration/index.html | 95 ------------------- docs/getting_started/index.html | 95 ------------------- docs/index.html | 14 --- docs/index.json | 2 +- docs/index.xml | 2 +- docs/modules/circleci/index.html | 12 +++ .../cryptocurrencies/blockfolio/index.html | 16 ++++ docs/modules/index.xml | 2 +- docs/modules/twitter/index.html | 7 +- docs/modules/zendesk/index.html | 14 +++ 11 files changed, 56 insertions(+), 208 deletions(-) diff --git a/_site/content/modules/twitter.md b/_site/content/modules/twitter.md index 66b82288..424d6f49 100644 --- a/_site/content/modules/twitter.md +++ b/_site/content/modules/twitter.md @@ -37,6 +37,7 @@ twitter: height: 1 width: 1 refreshInterval: 20000 + screenName: "wtfutil" ``` ### Attributes @@ -54,3 +55,7 @@ Defines where in the grid this module's widget will be displayed.
`refreshInterval`
How often, in seconds, this module will update its data.
Values: Any positive integer, `0..n`. + +`screenName`
+The screen name of the Twitter user who's tweets you want to follow.
+Values: Any valid Twitter user's screen name. diff --git a/docs/configuration/index.html b/docs/configuration/index.html index 312be0f6..21817d29 100644 --- a/docs/configuration/index.html +++ b/docs/configuration/index.html @@ -141,35 +141,6 @@ CmdRunner - -
  • -
    - Crypo Currencies -
    -
  • @@ -205,28 +176,6 @@ Gitter
    -
  • -
  • -
    - Google Apps -
    -
  • @@ -234,28 +183,6 @@ Hacker News
    -
  • -
  • -
    - IP Addresses -
    -
  • @@ -347,28 +274,6 @@ Twitter
    -
  • -
  • -
    - Weather Services -
    -
  • diff --git a/docs/getting_started/index.html b/docs/getting_started/index.html index 3255eb77..6522a216 100644 --- a/docs/getting_started/index.html +++ b/docs/getting_started/index.html @@ -141,35 +141,6 @@ CmdRunner
    -
  • -
  • -
    - Crypo Currencies -
    -
  • @@ -205,28 +176,6 @@ Gitter
    -
  • -
  • -
    - Google Apps -
    -
  • @@ -234,28 +183,6 @@ Hacker News
    -
  • -
  • -
    - IP Addresses -
    -
  • @@ -347,28 +274,6 @@ Twitter
    -
  • -
  • -
    - Weather Services -
    -
  • diff --git a/docs/index.html b/docs/index.html index 9f056d92..d45d5626 100644 --- a/docs/index.html +++ b/docs/index.html @@ -353,20 +353,6 @@ Weather Services
  • diff --git a/docs/index.json b/docs/index.json index 278a1c56..01a300e8 100644 --- a/docs/index.json +++ b/docs/index.json @@ -277,7 +277,7 @@ "title": "Twitter", "tags": [], "description": "", - "content": " Added in v0.2.0.\nConnects to the Twitter API and displays a single user\u0026rsquo;s tweets.\nNOTE: This only works for single-application developer accounts for now.\nTo make this work, you\u0026rsquo;ll need a couple of things:\n A Twitter developer account A Twitter bearer token. Once you have your developer account, a relatively painless way to get a bearer token is to use TBT.\nSource Code wtf/twitter/ Configuration twitter:bearerToken:\u0026#34;3276d7155dd9ee27b8b14f8743a408a9\u0026#34;enabled:trueposition:top:0left:1height:1width:1refreshInterval:20000 Attributes bearerToken Value: Your Twitter single-application Bearer Token\nenabled Whether or not this module is executed and if its data displayed onscreen. Values: true, false.\nposition Defines where in the grid this module\u0026rsquo;s widget will be displayed. refreshInterval How often, in seconds, this module will update its data. Values: Any positive integer, 0..n.\n" + "content": " Added in v0.2.0.\nConnects to the Twitter API and displays a single user\u0026rsquo;s tweets.\nNOTE: This only works for single-application developer accounts for now.\nTo make this work, you\u0026rsquo;ll need a couple of things:\n A Twitter developer account A Twitter bearer token. Once you have your developer account, a relatively painless way to get a bearer token is to use TBT.\nSource Code wtf/twitter/ Configuration twitter:bearerToken:\u0026#34;3276d7155dd9ee27b8b14f8743a408a9\u0026#34;enabled:trueposition:top:0left:1height:1width:1refreshInterval:20000screenName:\u0026#34;wtfutil\u0026#34; Attributes bearerToken Value: Your Twitter single-application Bearer Token\nenabled Whether or not this module is executed and if its data displayed onscreen. Values: true, false.\nposition Defines where in the grid this module\u0026rsquo;s widget will be displayed. refreshInterval How often, in seconds, this module will update its data. Values: Any positive integer, 0..n.\nscreenName The screen name of the Twitter user who\u0026rsquo;s tweets you want to follow. Values: Any valid Twitter user\u0026rsquo;s screen name.\n" }, { "uri": "https://wtfutil.com/modules/weather_services/", diff --git a/docs/index.xml b/docs/index.xml index ecec594c..9b72ff40 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -477,7 +477,7 @@ Connects to the Twitter API and displays a single user’s tweets. NOTE: This only works for single-application developer accounts for now. To make this work, you’ll need a couple of things: A Twitter developer account A Twitter bearer token. Once you have your developer account, a relatively painless way to get a bearer token is to use TBT. -Source Code wtf/twitter/ Configuration twitter:bearerToken:"3276d7155dd9ee27b8b14f8743a408a9"enabled:trueposition:top:0left:1height:1width:1refreshInterval:20000 Attributes bearerToken Value: Your Twitter single-application Bearer Token +Source Code wtf/twitter/ Configuration twitter:bearerToken:"3276d7155dd9ee27b8b14f8743a408a9"enabled:trueposition:top:0left:1height:1width:1refreshInterval:20000screenName:"wtfutil" Attributes bearerToken Value: Your Twitter single-application Bearer Token diff --git a/docs/modules/circleci/index.html b/docs/modules/circleci/index.html index 1bca21ba..16736f35 100644 --- a/docs/modules/circleci/index.html +++ b/docs/modules/circleci/index.html @@ -403,12 +403,21 @@ + + + @@ -422,6 +431,9 @@ + diff --git a/docs/modules/cryptocurrencies/blockfolio/index.html b/docs/modules/cryptocurrencies/blockfolio/index.html index 54a57593..0fbc1306 100644 --- a/docs/modules/cryptocurrencies/blockfolio/index.html +++ b/docs/modules/cryptocurrencies/blockfolio/index.html @@ -404,12 +404,25 @@ + + + + + + + @@ -423,6 +436,9 @@ + diff --git a/docs/modules/index.xml b/docs/modules/index.xml index fa6cb182..b7b19214 100644 --- a/docs/modules/index.xml +++ b/docs/modules/index.xml @@ -327,7 +327,7 @@ Connects to the Twitter API and displays a single user’s tweets. NOTE: This only works for single-application developer accounts for now. To make this work, you’ll need a couple of things: A Twitter developer account A Twitter bearer token. Once you have your developer account, a relatively painless way to get a bearer token is to use TBT. -Source Code wtf/twitter/ Configuration twitter:bearerToken:"3276d7155dd9ee27b8b14f8743a408a9"enabled:trueposition:top:0left:1height:1width:1refreshInterval:20000 Attributes bearerToken Value: Your Twitter single-application Bearer Token +Source Code wtf/twitter/ Configuration twitter:bearerToken:"3276d7155dd9ee27b8b14f8743a408a9"enabled:trueposition:top:0left:1height:1width:1refreshInterval:20000screenName:"wtfutil" Attributes bearerToken Value: Your Twitter single-application Bearer Token diff --git a/docs/modules/twitter/index.html b/docs/modules/twitter/index.html index 4723e6e5..46ad38aa 100644 --- a/docs/modules/twitter/index.html +++ b/docs/modules/twitter/index.html @@ -491,7 +491,8 @@ bearer token is to use left: 1 height: 1 width: 1 - refreshInterval: 20000 + refreshInterval: 20000 + screenName: "wtfutil"

    Attributes

    bearerToken
    @@ -508,6 +509,10 @@ Defines where in the grid this module’s widget will be displayed.
    Values: Any positive integer, 0..n.

    +

    screenName
    +The screen name of the Twitter user who’s tweets you want to follow.
    +Values: Any valid Twitter user’s screen name.

    + diff --git a/docs/modules/zendesk/index.html b/docs/modules/zendesk/index.html index 8bef47c8..9f886345 100644 --- a/docs/modules/zendesk/index.html +++ b/docs/modules/zendesk/index.html @@ -354,6 +354,20 @@
    Weather Services