-
Notifications
You must be signed in to change notification settings - Fork 0
/
planet-leo.ini
65 lines (55 loc) · 2.07 KB
/
planet-leo.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Every planet needs a [Planet] section
[Planet]
name = Planet Leo
link = http://leoeditor.com
owner_name = Leo Editor mailing list
owner_email = [email protected]
# 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
# feed_timeout: number of seconds to wait for any given feed
cache_directory = ../planet-leo-pages/cache
new_feed_items = 3
log_level = DEBUG
feed_timeout = 20
# output_theme: "theme" of the output
# output_dir: Directory to place output files
# items_per_page: How many items to put on each page
output_dir = ../planet-leo-pages
output_theme = asf
# additional files to copy (note the wildcards!)
bill_of_materials:
images/#{face}
activity_threshold = 0
filters = xpath_sifter.py
# Options placed in the [DEFAULT] section provide defaults for the feed
# sections. Placing a default here means you only need to override the
# special cases later.
[DEFAULT]
# Hackergotchi default size.
# If we want to put a face alongside a feed, and it's this size, we
# can omit these variables.
facewidth = 65
faceheight = 85
# Any other section defines a feed to subscribe to. The section title
# (in the []s) is the URI of the feed itself. A section can also be
# have any of the following options:
#
# name: Name of the feed (defaults to the title found in the feed)
#
# Additionally any other option placed here will be available in
# the template (prefixed with channel_ for the Items loop). We use
# this trick to make the faces work -- this isn't something Planet
# "natively" knows about. Look at fancy-examples/index.html.tmpl
# for the flip-side of this.
[http://leo-editor.github.io/feeds/all.atom.xml]
name = Official Leo Editor Blog
face = leo_65x79.png
facewidth = 65
faceheight = 79
[http://www.maphew.com/atom/]
name = a hewer of maps (Matt Wilkie)
filters = xpath_sifter.py?require=//atom:category[@term='leo']
[http://blog.suspended-chord.info/leo.xml]
name = a→ab (Jacob Peck)
#TODO: figure out how to use xpath filter to trim for just Leo articles