Tweaked the RSS.
[viewgit.git] / inc / config.php
blobe8400af0a062d6548c27173768b6344ed1f476e4
1 <?php
2 /** @file
3 * Configuration file for viewgit.
5 * @note DO NOT EDIT THIS FILE. Create localconfig.php instead and override the settings in it.
6 */
7 $conf['projects'] = array(
8 // 'name' => array('repo' => '/path/to/repo'),
9 );
11 // If set, contains an array of globs/wildcards where to include projects.
12 // Use this if you have a lot of projects under a directory.
13 //$conf['projects_globs'] = array('/path/to/*/.git', '/var/git/*.git');
15 $conf['datetime'] = '%Y-%m-%d %H:%M:%S';
17 // Maximum length of commit message's first line to show
18 $conf['commit_message_maxlen'] = 50;
20 // Maximum number of shortlog entries to show on the summary page
21 $conf['summary_shortlog'] = 30;
23 // Allow checking out projects via "git clone"
24 $conf['allow_checkout'] = true;
26 // If set, this function is used to obfuscate e-mail addresses of authors/committers
27 // The 'obfuscate_mail' function simply replaces @ with ' at ' and . with ' dot '
28 //$conf['mail_filter'] = 'obfuscate_mail';
29 //$conf['mail_filter'] = create_function('$mail', 'return str_rot13(strtoupper($mail));');
31 // RSS time to live (how often clients should update the feed), in minutes.
32 $conf['rss_ttl'] = 10;
34 // RSS: Maximum number of items in feed
35 $conf['rss_max_items'] = 30;
37 // RSS item format. Allowed formatting:
38 // {AUTHOR}, {SHORTLOG}, {LOG}, {COMMITTER}
39 $conf['rss_item_title'] = '{SHORTLOG} ({AUTHOR})';
40 $conf['rss_item_description'] = '<pre>{LOG}</pre><b>{AUTHOR}</b> &lt;{AUTHOR_MAIL}&gt;';
42 include_once('localconfig.php');