forked from h43z/rssify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ini
30 lines (26 loc) · 1.1 KB
/
config.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
[options]
# Templates directory
templates = ./templates
# Url where feeds are accessible (the server will use this url to construct the link
# returned as response to `/add` call)
feeds_url = http://127.0.0.1:5000
# Path where feeds should be written to
directory = .
# Feeds are defined as sections. The name of the section will be the title of the
# feed. Each section may have the following options:
# - url: Required. URL containing the items of the feed. If it matches a template,
# no other options are required.
# - item_title: Required. CSS selector for item titles
# - item_url: CSS selector for item urls
# - item_content: CSS selector for item contents
# - item_date: CSS selector for item dates
# - item_date_format: Required if item_date is set. Date formats separated by |
# If an feed element needs to be built after applying a function to an html element,
# a template needs to be defined
# Example from the original rssify:
# [Jodel Engineering Blog]
# url = https://jodel.com/engineering/
# item_title = .post-title > a
# item_url = .post-title > a
# item_date = .post-date
# item_date_format = %%b %%d, %%Y