| 1 |
# File: publisher.conf |
|---|
| 2 |
# default configuration file for the FeedTree publisher |
|---|
| 3 |
# http://feedtree.net/ |
|---|
| 4 |
# |
|---|
| 5 |
# File format (version 2): |
|---|
| 6 |
# key = 12345 |
|---|
| 7 |
# key = "string" |
|---|
| 8 |
# key = [ "a", "list", "of", "things" ] |
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
###################################################################### |
|---|
| 12 |
## Feed information |
|---|
| 13 |
###################################################################### |
|---|
| 14 |
|
|---|
| 15 |
# list of feed URLs to be fetched by the publisher & pushed to FeedTree |
|---|
| 16 |
# (comma-separated, square-bracket-enclosed) |
|---|
| 17 |
feeds = [ |
|---|
| 18 |
|
|---|
| 19 |
# just a simple feed URL |
|---|
| 20 |
"http://dsandler.org/wp/feed/atom/", |
|---|
| 21 |
|
|---|
| 22 |
# more complex example: a feed with a private fetch URL and a public URL |
|---|
| 23 |
{ url: "http://dsandler.org/wp/feed/rss2/", # private fetch URL |
|---|
| 24 |
public_url: "http://dsandler.org/wp/feed/" # public URL |
|---|
| 25 |
}, |
|---|
| 26 |
] |
|---|
| 27 |
|
|---|
| 28 |
# how often (in seconds) to reload each feed looking for new items (default = 120) |
|---|
| 29 |
fetch_interval_sec = 120 |
|---|
| 30 |
|
|---|
| 31 |
# how often a heartbeat should be sent in absence of new items (default = 600) |
|---|
| 32 |
heartbeat_interval_sec = 600 |
|---|
| 33 |
|
|---|
| 34 |
# file to store cached feed data (previously-seen entries) in |
|---|
| 35 |
feed_cache_file = "publisher_feeds.cache" |
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
###################################################################### |
|---|
| 39 |
## Keystore information |
|---|
| 40 |
###################################################################### |
|---|
| 41 |
|
|---|
| 42 |
# path to a JKS or PKCS#12 keystore file |
|---|
| 43 |
keystore = "demokey.jks" |
|---|
| 44 |
|
|---|
| 45 |
# type of the keystore (e.g. JKS or PKCS12; default JKS) |
|---|
| 46 |
keystore_type = "JKS" |
|---|
| 47 |
|
|---|
| 48 |
# password for the keystore (default = blank) |
|---|
| 49 |
keystore_password = "monkey" |
|---|
| 50 |
|
|---|
| 51 |
# identifier of the key to be used for signing (default = "default") |
|---|
| 52 |
key_name = "demokey" |
|---|
| 53 |
|
|---|
| 54 |
# password to access <key_name> (default = blank) |
|---|
| 55 |
key_password = "monkey" |
|---|
| 56 |
|
|---|
| 57 |
|
|---|
| 58 |
###################################################################### |
|---|
| 59 |
## Common FeedTree/Pastry network parameters |
|---|
| 60 |
###################################################################### |
|---|
| 61 |
|
|---|
| 62 |
# port to run the FeedTree node on (default 29690; this is the port that |
|---|
| 63 |
# must be forwarded to the Publisher host in a NAT situation) |
|---|
| 64 |
# note that this must be changed to something else (e.g, 29691) if 29690 is |
|---|
| 65 |
# occupied (i.e. by a FeedTree proxy running on the same host) |
|---|
| 66 |
node_port = 29691 |
|---|
| 67 |
|
|---|
| 68 |
# port for the Publisher web interface |
|---|
| 69 |
web_port = 8502 |
|---|
| 70 |
|
|---|
| 71 |
# TODO: add access control for the web interface to this file |
|---|
| 72 |
|
|---|
| 73 |
|
|---|
| 74 |
###################################################################### |
|---|
| 75 |
## Less common FeedTree/Pastry network parameters |
|---|
| 76 |
###################################################################### |
|---|
| 77 |
|
|---|
| 78 |
# host to contact when starting (bootstrap.feedtree.net will boot you into |
|---|
| 79 |
# the global FeedTree network) |
|---|
| 80 |
bootstrap = "bootstrap.feedtree.net" |
|---|
| 81 |
|
|---|
| 82 |
# port on the bootstrap to contact (29690 is the FeedTree default) |
|---|
| 83 |
bootstrap_port = 29690 |
|---|
| 84 |
|
|---|