News
Configuration items for managing news data.
news-bodycode
Type: String
Default: /NEWSSTORY
The symbol that the body of the news item is sent under
news-displaytime-format
Type: String
Default: %d %b %Y %H:%M GMT
Article view time format
news-expire-time
Type: Floating point value
Default: 86400.000000
Number of seconds to wait before deleting an article (typically one day).
news-expire-time works by deleting internal references to headlines and stories, as these references are repeated each day. However previous days' headlines and stories can still be requested if you have set news-history and the headlines and stories have been saved. If news-history is not enabled, a headline delete message is sent and stories are deleted from disk.
|
news-final-time
Type: Floating point value
Default: 300.000000
Time to wait to get all parts of a story
news-garbage-time
Type: Floating point value
Default: 60.000000
Time (in seconds) between calls to the news garbage collector. The news garbage collector deletes any incomplete articles that have been in cache beyond the period set by news-garbage-time.
news-hashsize
Type: String
Default: /NEWS
Size of hashtable for news items.
news-headcode
Type: String
Default:
The symbol that news headlines are sent under.
news-history
Type: Boolean
Default: FALSE
Keep more than 1 days worth of news.
news-mode
Type: Integer
Strict: Yes
Default: 2
Mode of news body operation
Value | Name | Desc |
---|---|---|
0 |
NONE |
|
1 |
BCAST |
Stories are broadcast in plain text to those DataSource peers configured with an interest in the symbol identified by |
2 |
XML |
Stories are saved to a file in XML format which the client requests via HTTP |
3 |
XML_REQUEST |
Stories are saved to a file in XML format which the client requests via RTTP using |
4 |
PLAIN |
Stories are saved to file in plain text format which the client requests via HTTP |
5 |
PLAIN_REQUEST |
Stories are saved to file in plain text format which the client requests via RTTP using |
6 |
HNAS |
Only headlines are saved to a file in XML format which the client requests via HTTP |
news-time-format
Type: String
Default: %b %d %H:%M
Headline view time format.
news-wait-time
Type: Floating point value
Default: 2.000000
Number of seconds to wait in between receiving a headline and requesting the associated story (occasionally a headline may appear on Refinitiv but the associated story may take a few seconds to become available).
news-writedir
Type: String
Default: None
Directory to write XML files to.
news-cleanup-time
Type: Integer
Default: 240
Time to clean up news files.
news-cleanup-period
Type: String
Default: 1440
Period for cleaning up news files
xml-stylesheet
Type: String
Default: None
The URL to an optional XLST stylesheet for the news XML files. The value of xml-stylesheet
is included in a <?xml-stylesheet … ?>
processing instruction in the XML.