/[refeed]/trunk/config.php.default
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/config.php.default

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Wed Jul 5 00:27:49 2006 UTC (17 years, 10 months ago) by dpavlin
File size: 5453 byte(s)
make working copy of trunk
1 dpavlin 2 <?php
2     // vim: ts=4 foldcolumn=4 foldmethod=marker
3     /**
4     * Global configuration file.
5     *
6     * This file is part of Reblog,
7     * a derivative work of Feed On Feeds.
8     *
9     * Distributed under the Gnu Public License.
10     *
11     * @package Refeed
12     * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13     * @author Michal Migurski <mike@stamen.com>
14     * @author Michael Frumin <mfrumin@eyebeam.org>
15     * @copyright ©2004 Michael Frumin, Michal Migurski
16     * @link http://reblog.org Reblog
17     * @link http://feedonfeeds.com Feed On Feeds
18     * @version $Revision: 1.16 $
19     */
20    
21     /*---------------- Global settings ----------------*/
22    
23     /**
24     * Your local timezone, if different from the server's.
25     *
26     * Set to a city in your timezone, chosen from the lists
27     * linked at http://www.php.net/manual/en/timezones.php
28     */
29     define('REBLOG_TIMEZONE', '');
30    
31     /**
32     * Keyboard shortcuts/navigation enabled; boolean true/false.
33     */
34     define('REBLOG_USE_KEYBOARD', true);
35    
36     /**
37     * Database connection, like "mysql://username:password@hostname/database"
38     */
39     define('REBLOG_DSN', "mysql://reblog:@localhost/reblog");
40    
41     /**
42     * Database table containing feeds
43     */
44     define('REBLOG_FEEDS_TABLE', 'feeds');
45    
46     /**
47     * Database table containing items
48     */
49     define('REBLOG_ITEMS_TABLE', 'items');
50    
51     /**
52     * Database table containing feed user-specific data
53     */
54     define('REBLOG_FEEDS_USERDATA_TABLE', 'feeds_userdata');
55    
56     /**
57     * Database table containing item user-specific data
58     */
59     define('REBLOG_ITEMS_USERDATA_TABLE', 'items_userdata');
60    
61     /**
62     * GUID prefix for item id's in the generated RSS/Atom feeds.
63     */
64     define('REBLOG_GUID_PREFIX', 'tag:refeed/');
65    
66     /*---------------- User-specific settings ----------------*/
67    
68     /**
69     * What kind of authentication to use? This determines how authentication works,
70     * and how a user's ID is determined.
71     *
72     * Default is 'RF' for refeed (depends on the HTTPAUTH stuff below).
73     * Other types available are:
74     * 'MT' for Movable Type; user ID is same as in MT
75     * 'WP' is for WordPress; user ID is same as in WP
76     *
77     * Change this setting *only* if you need to have more than one
78     * separate Refeed user account (ie. set of feeds).
79     *
80     * Note: for types MT and WP, your refeed tables need to be in the same MySQL
81     * database as your MovableType or WordPress tables, respectively.
82     *
83     * See the ACCOUNTS.html file for more info.
84     */
85     define('REBLOG_AUTH_TYPE', 'RF');
86    
87     /**
88     * Optional HTTP authorization user
89     */
90     define('REBLOG_HTTPAUTH_NAME', '');
91    
92     /**
93     * Optional HTTP authorization password
94     */
95     define('REBLOG_HTTPAUTH_PASS', '');
96    
97     /*
98     * Author Name for output
99     */
100     define('REBLOG_AUTHOR_NAME', "");
101    
102     /**
103     * Channel title for the generated RSS/Atom feeds.
104     */
105     define('REBLOG_FEED_TITLE', 'My reFeed feed');
106    
107     /**
108     * Channel description for the generated RSS/Atom feeds.
109     */
110     define('REBLOG_FEED_DESCRIPTION', 'My favorite posts from my favorite feeds');
111    
112     /**
113     * Open new windows when clicking links in the Item View page? 1 yes, 0 no.
114     */
115     define('REBLOG_LINK_NEW_WINDOWS', 1);
116    
117     /**
118     * How many posts to show by default in paged mode
119     */
120     define('REBLOG_HOWMANY', 50);
121    
122     /*---------------- The rest you should not need to change ----------------*/
123    
124     /**
125     * How long to keep posts.
126     *
127     * If defined, posts will be deleted if they are more than this number of days old.
128     * If left blank, they stay forever.
129     *
130     * @see REBLOG_KEEP_UNREAD
131     */
132     define('REBLOG_KEEP_DAYS', 30);
133    
134     /**
135     * Whether to keep old unread posts.
136     *
137     * If defined and false, old posts will be deleted even if they have not been read.
138     * @see REBLOG_KEEP_DAYS
139     */
140     define('REBLOG_KEEP_UNREAD', true);
141    
142     /**
143     * Whether this install can edit feeds/subscriptions
144     *
145     * If defined and false, there wont be links/buttons to add/publish/unsubscribe/tag feeds
146     */
147     define('REBLOG_ADMIN_FEEDS', true);
148    
149     /**
150     * Whether this install can update feeds
151     *
152     * If defined and false, there wont be links/buttons to update feeds
153     */
154     define('REBLOG_UPDATE_FEEDS', true);
155    
156     /**
157     * Whether this install can post new items.
158     *
159     * If defined and true, they can, otherwise the "Post New" link on top and
160     * "My Feed" feed link will not be visible.
161     */
162     define('REBLOG_POST_NEW', true);
163    
164    
165     /**
166     * How long to trust your feed caches for, in seconds.
167     */
168     define('REBLOG_FEED_CACHE_AGE', 60 * 15);
169    
170     /**
171     * Default RSS to use if not specified
172     */
173     define('REBLOG_FEED_VERSION', 'rss2.0');
174    
175     /**
176     * Magpie should change everything to UTF-8, for foreign-character happiness
177     */
178     define('MAGPIE_OUTPUT_ENCODING', 'UTF-8');
179    
180     /**
181     * Our own User Agent when communicating with feed servers.
182     */
183     define('REBLOG_HTTP_USER_AGENT', 'Reblog 2.0 (+http://www.reblog.org)');
184    
185     /**
186     * How many seconds do session cookies last? (as long as Google's)
187     */
188     define('REBLOG_SESSION_LIFETIME', 60 * 60 * 24 * 365 * 30);
189    
190     /**
191     * This is where we keep our cached data
192     */
193     define('REBLOG_CACHE_DIR', dirname(__FILE__).DIRECTORY_SEPARATOR.'cache');
194    
195     /**
196     * Database debugging level. Leave at 0 unless you know what you're doing.
197     */
198     define('REF_DB_DEBUG_LEVEL', 0);
199    
200     /**
201     * Default feed of fascinating Reblog news subscribed on installation.
202     */
203     define('REBLOG_DEFAULT_FEED', "http://sourceforge.net/export/rss2_projnews.php?group_id=105823&rss_fulltext=1");
204    
205     /**
206     * Root of your reFeed install. This should be determined automatically by reFeed, but if you are having
207     * problems you can uncomment this and set the appropriate value (no trailing slash please).
208     */
209    
210     //define('REBLOG_REFEED_ROOT_PATH', "http://my.host.com/path/to/refeed");
211    
212    
213     ?>

  ViewVC Help
Powered by ViewVC 1.1.26