Skip to content
Dan Dyer edited this page Jun 24, 2013 · 1 revision

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.

Required Properties

Values must be provided for the following properties:

zeitgeist.maxArticleAgeHours

Set the cut-off time for discarding old articles. Must be an integer number of hours.

zeitgeist.minArticlesPerTopic

How many distinct related articles constitute a topic? Must be greater than or equal to the value set for zeitgeist.minSourcesPerTopic (see below).

zeitgeist.minSourcesPerTopic

How many different feeds must the articles in a topic come from?

zeitgeist.minArticleRelevance

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.

zeitgeist.title

The page title passed to the template.

Optional Properties

Other optional properties can also be set.

zeitgeist.headlineFilter

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.

zeitgeist.templatesDir

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.