@@ -55,34 +55,42 @@ You can also run rssit as a command-line application by submitting a URL path di
5555
5656Configuration is primarily done at ` ~/.config/rssit/config.ini ` . Here is a sample configuration:
5757
58- [core]
59- hostname = localhost
60- port = 8123
58+ ``` ini
59+ [core]
60+ hostname = localhost
61+ port = 8123
6162
62- [default]
63- output = rss
63+ [default]
64+ output = rss
65+ ```
6466
6567You can also add specific configurations for any generator and feed.
6668
67- [twitter]
68- output = atom
69+ ``` ini
70+ [twitter]
71+ output = atom
6972
70- [twitter/u/Support]
71- title = Support from Twitter
72- description = Twitter's Support User
73+ [twitter/u/Support]
74+ title = Support from Twitter
75+ description = Twitter' s Support User
76+ ```
7377
7478Since configuration is applied from parent folders to children,
7579with the configuration above, http://localhost:8123/f/twitter/u/Support will result in this configuration:
7680
77- title = Support from Twitter
78- description = Twitter's Support User
79- output = atom
81+ ```ini
82+ title = Support from Twitter
83+ description = Twitter' s Support User
84+ output = atom
85+ ```
8086
8187Configuration is lazily applied, so the following entry is perfectly acceptable,
8288and would modify the previous URL's configuration accordingly:
8389
84- [twitter/u]
85- output = rss
90+ ``` ini
91+ [twitter/u]
92+ output = rss
93+ ```
8694
8795If you only wish to modify the configuration per-request, you can do so via standard GET request parameters:
8896
@@ -101,13 +109,17 @@ which uses data from the "social" output format to download media.
101109To use download.py, clone the [ dlscripts repo] ( https://github.com/qsniyg/dlscripts/ ) somewhere,
102110and add the following to your configuration:
103111
104- social_hooks = python path/to/download.py
112+ ``` ini
113+ social_hooks = python path/to/download.py
114+ ```
105115
106116RSSit will then send the data to the program's stdin.
107117
108118To disable hooks entirely (useful for one-off usages):
109119
110- nohooks = true
120+ ``` ini
121+ nohooks = true
122+ ```
111123
112124### Common options
113125
0 commit comments