-
Notifications
You must be signed in to change notification settings - Fork 0
/
social-aggregator.html
81 lines (76 loc) · 2.35 KB
/
social-aggregator.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<script type="text/javascript">
RED.nodes.registerType('social-aggregator',{
category: 'function',
color: '#a6bbcf',
defaults: {
name: {value:""}
},
inputs:1,
outputs:1,
icon: "file.png",
label: function() {
return this.name||"social-aggregator";
}
});
</script>
<script type="text/x-red" data-template-name="social-aggregator">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script>
<script type="text/x-red" data-help-name="social-aggregator">
<p>Social aggregation into a single feed utilising the Rivus lib. This node uses multiple source input so can be used to pull feeds in from a number of sources and have it returned as a single output.</p>
<h3>Inputs</h3>
<p>Load one or more of the following as <code>objects</code></p>
<dl class="message-properties">
<dt>RSS feed</dt>
<dd>
<code>"name:"</code> eg <code> "rss"</code>
</dd>
<dd>
<code>"feed_url":</code> url of the feed
</dd>
<dt>medium</dt>
<dd>
<code>"name:"</code> eg <code>: "medium"</code>
</dd>
<dd>
<code>"user":</code> eg <code>: "@username"</code>
</dd>
<dt>twitter</dt>
<dd>
<code>"name:"</code> eg <code>: "twitter"</code>
</dd>
<dd>
<code>"user":</code> eg <code>: "@username"</code>
</dd>
<dd>
<code>"consumer_key":</code>
</dd>
<dd>
<code>"consumer_secret":</code>
</dd>
<dd>
<code>"access_token_key":</code>
</dd>
<dd>
<code>"access_token_secret":</code>
</dd>
<dt>facebook</dt>
<dd>
<code>"name:"</code> eg <code>: "facebook"</code>
</dd>
<dd>
<code>"app_id":</code>
</dd>
<dd>
<code>"app_secret":</code>
</dd>
<dd>
<code>"user_id":</code> facebook user id
</dd>
</dl>
<h3>Outputs</h3>
<p>Returns an array based on inputs as part of the <code>msg.payload</code> response with each object from the input (where poossible)</p>
</script>