1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Yet more twitter tweaking

This commit is contained in:
Nicholas O'Leary 2013-10-05 23:09:55 +01:00
parent 257525fcda
commit f0f2a71e3a

View File

@ -103,30 +103,27 @@
<script type="text/x-red" data-template-name="twitter in"> <script type="text/x-red" data-template-name="twitter in">
<div class="form-row"> <div class="form-row">
<label for="node-input-user"><i class="icon-search"></i> Search</label> <label for="node-input-twitter"><i class="icon-user"></i> Log in as</label>
<select type="text" id="node-input-user" style="display: inline-block; vertical-align: top; width:60%;">
<option value="false">All public Tweets seen by</option>
<option value="true">People being followed by</option>
</select>
</div>
<div class="form-row">
<label for="node-input-twitter"><i class="icon-user"></i> User</label>
<input type="text" id="node-input-twitter"> <input type="text" id="node-input-twitter">
</div> </div>
<div class="form-row"> <div class="form-row">
<label for="node-input-tags"><i class="icon-tags"></i> For</label> <label for="node-input-user"><i class="icon-search"></i> Search</label>
<select type="text" id="node-input-user" style="display: inline-block; vertical-align: middle; width:60%;">
<option value="false">all public tweets</option>
<option value="true">the tweets of who you follow</option>
</select>
</div>
<div class="form-row">
<label for="node-input-tags"><i class="icon-tags"></i> for</label>
<input type="text" id="node-input-tags" placeholder="comma-separated words, @ids, #tags"> <input type="text" id="node-input-tags" placeholder="comma-separated words, @ids, #tags">
</div> </div>
<!-- <div class="form-row">
<label for="node-input-topic"><i class="icon-tasks"></i> Topic</label>
<input type="text" id="node-input-topic" placeholder="Topic">
</div> -->
<div class="form-row"> <div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label> <label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name"> <input type="text" id="node-input-name" placeholder="Name">
</div> </div>
<div class="form-tips">Tip: Use commas without spaces between multiple search terms. Comma = OR, Space = AND. <div class="form-tips">Tip: Use commas without spaces between multiple search terms. Comma = OR, Space = AND.
<br/>Note: the Twitter API WILL NOT deliver 100% of all tweets...</div> <br/>The Twitter API WILL NOT deliver 100% of all tweets.
<br/>Tweets of who you follow will include their retweets and favourites.</div>
</script> </script>
<script type="text/x-red" data-help-name="twitter in"> <script type="text/x-red" data-help-name="twitter in">
@ -143,8 +140,7 @@
twitter: {type:"twitter-credentials",required:true}, twitter: {type:"twitter-credentials",required:true},
tags: {value:"",required:true}, tags: {value:"",required:true},
user: {value:"false",required:true}, user: {value:"false",required:true},
name: {value:""}, name: {value:""}
topic: {value:"tweets"}
}, },
inputs:0, inputs:0,
outputs:1, outputs:1,