1+ ---
2+ # Whether to give the bot a bot tag (true) or not (false). Recommended to mark it but the option is here if you already
3+ # marked it manually and it starts throwing user_already_exists errors
4+ markAsBot : true
5+
6+ # How often to check for new posts in minutes
7+ postCheckInterval : 10
8+
9+ # How often to check for a new day in minutes (for unpinning posts)
10+ dayCheckInterval : 10
11+
12+ # The timezone to use for the bot (as reference for unpinning posts at midnight)
13+ # You can see the options here: https://www.inmotionhosting.com/support/website/tz-ref-table/
14+ timezone : ' America/Toronto'
15+
16+ # Posts from how many days ago are you willing to backpost when the bot starts
17+ dayCutOff : 7
18+
19+ # Set to true to add all posts to the db without posting them. Good to set for one run to clear out backposts if you
20+ # dont want any old posts posted when the bot is first ran. Set to false to post normally
21+ stopPosts : false
22+
23+
24+ # ------------------------------------------------------------------------------
25+
26+
27+ # The instances and communities used by the bot
28+ instances :
29+ programming.dev : # The instance name
30+ godot : # The community slug (value in url) in that instance
31+ - " godot" # The feed to use (do a new line with a dash in front for each feed)
32+
33+ unreal_engine : # Another community in the instance
34+ - " unreal"
35+
36+ unity :
37+ - " unity"
38+
39+
40+ # The rss feeds used to pull posts from
41+ feeds :
42+ godot : # The name of the feed (used in the instances section to mark feed to use)
43+ url : ' https://godotengine.org/rss.xml'
44+ pinCategories : # If a bot has a category section that lists this category, pin it for the amount of days
45+ - Release : 7
46+ - Pre-release : 7
47+
48+ unreal :
49+ url : ' https://www.unrealengine.com/en-US/rss'
50+ content : ' summary'
51+
52+ unity :
53+ url : ' https://blogs.unity3d.com/feed/'
54+
55+
56+ # Additional possible values:
57+ # joinfeeds will only include posts in common between the source feed and those in the list - It is processed first
58+ # exclude will remove posts from the feed based on the contents of another feed - It is processed second.
59+ # pinCategories will pin posts in the feed that match the category name for the specified amount of days
60+ # content is the name of the field in the feed that contains the post content. Defaults to 'summary' if not specified
61+ # datefield is the name of the field in the feed that contains the post date. Defaults to 'pubDate' if not specified
62+ #
63+ # ---
64+ #
65+ # EXAMPLE
66+ #
67+ # feeds:
68+ # example: # The name of the feed (used in the instances section to mark feed to use)
69+ # url: 'https://example.com/rss'
70+ # pinCategories:
71+ # - News: 7
72+ # content: 'summary'
73+ # datefield: 'pubDate'
74+ # joinfeeds:
75+ # - 'example2' # the feed contains posts from example2, which we want. So we join example2 to get posts that are in both example and example2.
76+ # exclude:
77+ # - 'example3' # the feed contains posts from example3, which we don't want. So we exclude example3 to get posts that are in example only.
78+ #
79+ # example2:
80+ # url: 'https://example.com/rss2'
81+ #
82+ # example3:
83+ # url: 'https://example.com/rss3'
0 commit comments