RSS source JSON modification
RSS source JSON modification
Many source configuration parameters can be set through the user interface. Others, such as rarely used parameters or new parameters that aren’t yet editable through the user interface, can only be configured in the source JSON configuration.
This article explains how to configure RSS source parameters, whether they’re already listed in the JSON or not.
Configuring listed and unlisted parameters
If the parameter you want to change is already listed in the parameters
section of the source JSON configuration, just modify its value
in the JSON configuration.
If the parameter isn’t listed in the parameters
section, copy the entire parameter example object from the Reference section below and paste it into the parameters
section of the source JSON configuration.
Then, modify the value
in the JSON configuration, if necessary.
If a parameter has a |
Document the changes you make to the source JSON configuration in the Change notes area below the JSON configuration. This ensures that you can easily revert to a previous configuration if needed. |
Reference
This section provides information on the RSS source parameters that you can only modify through the JSON configuration.
If a JSON configuration parameter isn’t documented in this article, configure it through the user interface instead.
DateFormat
(String | Null)
The format to use when parsing date element values in the feed. The format must not include time-zone and offset information.
The default value is |
"DateFormat": {
"sensitive": false,
"value": "YYYY-MM-DDThh:mm:ss"
}
IndexRssFeedUrl
(Boolean)
Determines whether the RSS feed URL is indexed.
The default value is false
.
If you set this parameter to true
and rebuild, your source content will include an item whose Clickable URI
is the Feed URL.
The File type
value of this item will be rssfeed
.
"IndexRssFeedUrl": {
"sensitive": false,
"value": "true"
}
UserAgent
(String)
This specifies the value of the User-Agent HTTP header that the RSS source uses when requesting the feed.
The default value is Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko) (compatible; Coveobot/2.0;+http://www.coveo.com/bot.html)
.
"UserAgent": {
"sensitive": false,
"value": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko) (compatible; Coveobot/2.0;+http://www.coveo.com/bot.html)"
}