-
Notifications
You must be signed in to change notification settings - Fork 26
Properties file
The Zeitgest publisher application requires a properties file in order to run. By default it looks for a file called zeitgeist.properties
in the working directory. Alternatively, the path to some other properties file can be specified as a command line argument.
Values must be provided for the following properties:
Set the cut-off time for discarding old articles. Must be an integer number of hours.
How many distinct related articles constitute a topic? Must be greater than or equal to the value set for zeitgeist.minSourcesPerTopic
(see below).
How many different feeds must the articles in a topic come from?
Each article is assigned a score (>= 0) depending on how relevant it is to the topic in question. Set this threshold to discard the more tenuously related articles.
The page title passed to the template.
Other optional properties can also be set.
Set to a regular expression that matches feed headlines. All matched feed entries will be discarded. This is useful for removing certain types of feed entry prior to analysis. For example, you might remove all entries beginning with "Video:" if this indicates that the feed entry links to a video rather than an article.
Set this property if you want to use your own templates instead of the bundled defaults. This property should be set to the location of the directory containing your templates.