update io nodes info style

This commit is contained in:
Dave Conway-Jones
2016-03-02 13:26:19 +00:00
parent 81c532fdce
commit 0880ad3987
17 changed files with 64 additions and 62 deletions

View File

@@ -31,10 +31,10 @@
<script type="text/x-red" data-help-name="stomp in">
<p>Connects to a server using the Stomp protocol to receive messages.</p>
<p>If the message received is JSON <b>msg.payload</b> will be parsed into an
<p>If the message received is JSON <code>msg.payload</code> will be parsed into an
object. If not it will be the raw data.</p>
<p><b>msg.headers</b> contains any header information that was also delivered.</p>
<p><b>msg.topic</b> is set to the predefined subscription topic.</p>
<p><code>msg.headers</code> contains any header information that was also delivered.</p>
<p><code>msg.topic</code> is set to the predefined subscription topic.</p>
<p><b>Note</b>: While not a requirement of the Stomp protocol, if connecting to an ActiveMQ server, the destination should
begin with <i>"/queue/"</i> or with <i>"/topic/"</i>. See
<a href="https://stomp.github.io/stomp-specification-1.0.html#frame-SEND" target="new">Stomp 1.0 spec</a>
@@ -75,14 +75,15 @@
<label for="node-input-name" style="width: 110px;"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips">The <b>Destination</b> field is optional. If not set uses the <b>msg.topic</b> property of the message.</div>
<div class="form-tips">The <b>Destination</b> field is optional. If not set uses the <code>msg.topic</code>
property of the message.</div>
</script>
<script type="text/x-red" data-help-name="stomp out">
<p>Connects to an Stomp capable server to send messages.</p>
<p>The <b>Destination</b> field is optional. If set it overrides the <b>msg.topic</b>
<p>The <b>Destination</b> field is optional. If set it overrides the <code>msg.topic</code>
property of the message.</p>
<p><b>msg.headers</b></code>, if set, should be an object containing field/value
<p><code>msg.headers</code></code>, if set, should be an object containing field/value
pairs to be added as request headers.</p>
<p><b>Note</b>: While not a requirement of the Stomp protocol, if connecting
to an ActiveMQ server, the destination should

View File

@@ -6,7 +6,7 @@ A <a href="http://nodered.org" target="_new">Node-RED</a> node to publish and su
Install
-------
Run the following command in the root directory of your Node-RED install
Run the following command in your Node-RED user directory - typically `~/.node-red`
npm install node-red-node-stomp
@@ -16,7 +16,7 @@ Usage
Connects to a Stomp capable server to send and receive messages.
The **destination** field is optional. If set it overrides the **msg.topic**
The **destination** field is optional. If set it overrides the `msg.topic`
property of the message.
As noted [here](https://github.com/easternbloc/node-stomp-client#queue-names),

View File

@@ -1,6 +1,6 @@
{
"name" : "node-red-node-stomp",
"version" : "0.0.8",
"version" : "0.0.9",
"description" : "A Node-RED node to publish and subscribe to/from a Stomp server",
"dependencies" : {
"stomp-client" : "0.8.*"