tail node: improved EN help and added DE help (#779)

This commit is contained in:
heikokue 2021-03-25 10:48:46 +01:00 committed by GitHub
parent ed45d5622b
commit cb3b4c3c62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 5 deletions

View File

@ -0,0 +1,21 @@
<script type="text/html" data-help-name="tail">
<p>Aufteilung (Überwachung auf Anfügungen) einer vorgegebenen Datei.</p>
<h3>Eingangsdaten</h3>
<dl class="message-properties">
<dt class="optional">filename <span class="property-type">string</span></dt>
<dd>Wenn nicht im Node vorgegeben, gibt diese optionale Eigenschaft den Dateinamen vor.
Wenn ein leerer String <code>""</code> empfangen wird, wird die Aufteilung gestoppt.</dd>
</dl>
<h3>Ausgangsdaten</h3>
<dl class="message-properties">
<dt class="optional">payload <span class="property-type">string | buffer</span></dt>
<dd>
<ul>
<li>Textdateien (UTF-8) werden als Zeichenfolgen (string) geliefert.</li>
<li>Binärdateien werden als Buffer-Okjekte geliefert.</li>
</ul>
</dd>
</dl>
<p><b>Hinweis</b>: Unter Windows muss die Datei möglicherweise zwischen den Schreibvorgängen geschlossen werden,
damit Aktualisierungen registriert werden.</p>
</script>

View File

@ -1,6 +1,5 @@
<script type="text/html" data-help-name="tail">
<p>Tails (watches for things to be added) to the configured file.</p>
<p>Note: On Windows you may need to close the file between writes for any updates to be registered.</p>
<h3>Input</h3>
<dl class="message-properties">
<dt class="optional">filename <span class="property-type">string</span></dt>
@ -8,8 +7,14 @@
If an empty string <code>""</code> is received, the tailing will stop.</dd>
</dl>
<h3>Outputs</h3>
<ul>
<li>Text (UTF-8) files will be returned as strings.</li>
<li>Binary files will be returned as Buffer objects.</li>
</ul>
<dl class="message-properties">
<dt class="optional">payload <span class="property-type">string | buffer</span></dt>
<dd>
<ul>
<li>Text (UTF-8) files will be returned as strings.</li>
<li>Binary files will be returned as buffer objects.</li>
</ul>
</dd>
</dl>
<p><b>Note</b>: On Windows you may need to close the file between writes for any updates to be registered.</p>
</script>