Punts for 2012-11-05
[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.mako.cc/planet/
11 owner_name = Benjamin Mako Hill
12 owner_email = mako@atdot.cc
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 = cache
18 new_feed_items = 2
19 log_level = DEBUG
20
21 # template_files: Space-separated list of output template files
22 template_files = templates/index.html.tmpl templates/atom.xml.tmpl templates/rss20.xml.tmpl templates/rss10.xml.tmpl templates/opml.xml.tmpl templates/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 = out
37 items_per_page = 40
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 % for u in userlist:
44 <%
45 if u.username == 'adehnert':
46     continue
47 %>\
48 % for l in u.links:
49 % if len(l) >= 3:
50 [${l[2]}]
51 name = ${l[0]}
52 %endif
53
54 % endfor
55 % endfor

Benjamin Mako Hill || Want to submit a patch?