Document which keys in `template` are put into RSS output

Akinori MUSHA %!s(int64=9) %!d(string=hace) años
padre
commit
66a3388a8b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/models/agents/data_output_agent.rb

+ 1 - 1
app/models/agents/data_output_agent.rb

@@ -19,7 +19,7 @@ module Agents
19 19
 
20 20
           * `secrets` - An array of tokens that the requestor must provide for light-weight authentication.
21 21
           * `expected_receive_period_in_days` - How often you expect data to be received by this Agent from other Agents.
22
-          * `template` - A JSON object representing a mapping between item output keys and incoming event values. Use [Liquid](https://github.com/cantino/huginn/wiki/Formatting-Events-using-Liquid) to format the values. The `item` key will be repeated for every Event. The `pubDate` key for each item will have the creation time of the Event unless given.
22
+          * `template` - A JSON object representing a mapping between item output keys and incoming event values.  Use [Liquid](https://github.com/cantino/huginn/wiki/Formatting-Events-using-Liquid) to format the values.  Values of the `link`, `title`, `description` and `icon` keys will be put into the <channel> section of RSS output.  The `item` key will be repeated for every Event.  The `pubDate` key for each item will have the creation time of the Event unless given.
23 23
           * `events_to_show` - The number of events to output in RSS or JSON. (default: `40`)
24 24
           * `ttl` - A value for the <ttl> element in RSS output. (default: `60`)
25 25