Planet config file

This commit is contained in:
Nelson Elhage 2009-12-30 00:04:39 -05:00
parent f777b69424
commit 9fec46476d
1 changed files with 52 additions and 0 deletions

52
templates/config.ini Normal file
View File

@ -0,0 +1,52 @@
# Planet configuration file
# Every planet needs a [Planet] section
[Planet]
# name: Your planet's name
# link: Link to the main page
# owner_name: Your name
# owner_email: Your e-mail address
name = Planet Iron Blogger
link = http://iron-blogger.mit.edu/planet/
owner_name = Nelson Elhage
owner_email = nelhage@mit.edu
# cache_directory: Where cached feeds are stored
# new_feed_items: Number of items to take from new feeds
# log_level: One of DEBUG, INFO, WARNING, ERROR or CRITICAL
cache_directory = /mit/nelhage/web_scripts_tmp/planet
new_feed_items = 2
log_level = DEBUG
# template_files: Space-separated list of output template files
template_files = iron-blogger/index.html.tmpl iron-blogger/atom.xml.tmpl iron-blogger/rss20.xml.tmpl iron-blogger/rss10.xml.tmpl iron-blogger/opml.xml.tmpl iron-blogger/foafroll.xml.tmpl
# The following provide defaults for each template:
# output_dir: Directory to place output files
# items_per_page: How many items to put on each page
# days_per_page: How many complete days of posts to put on each page
# This is the absolute, hard limit (over the item limit)
# date_format: strftime format for the default 'date' template variable
# new_date_format: strftime format for the 'new_date' template variable
# encoding: output encoding for the file, Python 2.3+ users can use the
# special "xml" value to output ASCII with XML character references
# locale: locale to use for (e.g.) strings in dates, default is taken from your
# system. You can specify more locales separated by ':', planet will
# use the first available one
output_dir = /mit/nelhage/web_scripts/iron-blogger/planet/
items_per_page = 15
days_per_page = 0
date_format = %B %d, %Y %I:%M %p
new_date_format = %B %d, %Y
encoding = utf-8
% for u in userlist:
% for l in u.links:
% if len(l) >= 3:
[${l[2]}]
name = ${l[0]}
%endif
% endfor
% endfor