Skip to content

Commit 485b41f

Browse files
committed
Update to handle 0.19
1 parent 142a6d2 commit 485b41f

File tree

4 files changed

+440
-350
lines changed

4 files changed

+440
-350
lines changed

config.yaml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
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
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
33
# marked it manually and it starts throwing user_already_exists errors
44
markAsBot: true
55

@@ -11,12 +11,12 @@ dayCheckInterval: 10
1111

1212
# The timezone to use for the bot (as reference for unpinning posts at midnight)
1313
# You can see the options here: https://www.inmotionhosting.com/support/website/tz-ref-table/
14-
timezone: 'America/Toronto'
14+
timezone: "America/Toronto"
1515

1616
# Posts from how many days ago are you willing to backpost when the bot starts
1717
dayCutOff: 7
1818

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
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
2020
# dont want any old posts posted when the bot is first ran. Set to false to post normally
2121
stopPosts: false
2222

@@ -30,10 +30,8 @@ maxPosts: 5
3030
# The time in milliseconds it will sleep before doing another post in the same post check
3131
postSleepDuration: 5000
3232

33-
3433
# ------------------------------------------------------------------------------
3534

36-
3735
# The instances and communities used by the bot
3836
instances:
3937
programming.dev: # The instance name
@@ -46,23 +44,20 @@ instances:
4644
unity:
4745
- "unity"
4846

49-
5047
# The rss feeds used to pull posts from
5148
feeds:
5249
godot: # The name of the feed (used in the instances section to mark feed to use)
53-
url: 'https://godotengine.org/rss.xml'
50+
url: "https://godotengine.org/rss.xml"
5451
pinCategories: # If a bot has a category section that lists this category, pin it for the amount of days
5552
- Release: 7
5653
- Pre-release: 7
5754

5855
unreal:
59-
url: 'https://www.unrealengine.com/en-US/rss'
60-
content: 'summary'
56+
url: "https://www.unrealengine.com/en-US/rss"
57+
content: "summary"
6158

6259
unity:
63-
url: 'https://blogs.unity3d.com/feed/'
64-
65-
60+
url: "https://blogs.unity3d.com/feed/"
6661
# Additional possible values:
6762
# joinfeeds will only include posts in common between the source feed and those in the list - It is processed first
6863
# exclude will remove posts from the feed based on the contents of another feed - It is processed second.
@@ -77,17 +72,17 @@ feeds:
7772
# feeds:
7873
# example: # The name of the feed (used in the instances section to mark feed to use)
7974
# url: 'https://example.com/rss'
80-
# pinCategories:
75+
# pinCategories:
8176
# - News: 7
8277
# content: 'summary'
8378
# datefield: 'pubDate'
84-
# joinfeeds:
79+
# joinfeeds:
8580
# - 'example2' # the feed contains posts from example2, which we want. So we join example2 to get posts that are in both example and example2.
8681
# exclude:
8782
# - 'example3' # the feed contains posts from example3, which we don't want. So we exclude example3 to get posts that are in example only.
88-
#
83+
#
8984
# example2:
9085
# url: 'https://example.com/rss2'
91-
#
86+
#
9287
# example3:
93-
# url: 'https://example.com/rss3'
88+
# url: 'https://example.com/rss3'

0 commit comments

Comments
 (0)