email: Don't show an empty punts section
[iron-blogger] / templates / config.ini
1 # Planet configuration file
2
3 # Every planet needs a [Planet] section
4 [Planet]
5 # name: Your planet's name
6 # link: Link to the main page
7 # owner_name: Your name
8 # owner_email: Your e-mail address
9 name = Planet Iron Blogger
10 link = http://iron-blogger.mit.edu/planet/
11 owner_name = Nelson Elhage
12 owner_email = nelhage@mit.edu
13
14 # cache_directory: Where cached feeds are stored
15 # new_feed_items: Number of items to take from new feeds
16 # log_level: One of DEBUG, INFO, WARNING, ERROR or CRITICAL
17 cache_directory = /mit/nelhage/web_scripts_tmp/planet
18 new_feed_items = 2
19 log_level = DEBUG
20
21 # template_files: Space-separated list of output template files
22 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
23
24 # The following provide defaults for each template:
25 # output_dir: Directory to place output files
26 # items_per_page: How many items to put on each page
27 # days_per_page: How many complete days of posts to put on each page
28 #                This is the absolute, hard limit (over the item limit)
29 # date_format: strftime format for the default 'date' template variable
30 # new_date_format: strftime format for the 'new_date' template variable
31 # encoding: output encoding for the file, Python 2.3+ users can use the
32 #           special "xml" value to output ASCII with XML character references
33 # locale: locale to use for (e.g.) strings in dates, default is taken from your
34 #         system. You can specify more locales separated by ':', planet will
35 #         use the first available one
36 output_dir = /mit/nelhage/web_scripts/iron-blogger/planet/
37 items_per_page = 15
38 days_per_page = 0
39 date_format = %B %d, %Y %I:%M %p
40 new_date_format = %B %d, %Y
41 encoding = utf-8
42
43
44 % for u in userlist:
45 <%
46 if u.username == 'adehnert':
47     continue
48 %>\
49 % for l in u.links:
50 % if len(l) >= 3:
51 [${l[2]}]
52 name = ${l[0]}
53 %endif
54
55 % endfor
56 % endfor

Benjamin Mako Hill || Want to submit a patch?