From: Nelson Elhage Date: Wed, 30 Dec 2009 05:04:39 +0000 (-0500) Subject: Planet config file X-Git-Url: https://projects.mako.cc/source/iron-blogger/commitdiff_plain/9fec46476db2deca6ec89830bbfb5cb86b30317e Planet config file --- diff --git a/templates/config.ini b/templates/config.ini new file mode 100644 index 0000000..317d5a9 --- /dev/null +++ b/templates/config.ini @@ -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