File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
services :
2
2
rss2newsletter :
3
- image : rss2newsletter
3
+ image : robertvanbarlingen/ rss2newsletter
4
4
container_name : rss2newsletter
5
5
restart : unless-stopped
6
6
volumes :
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ class rss2newsletter:
244
244
json_data = {
245
245
"name" : name ,
246
246
"subject" : name ,
247
- "lists" : [1 ],
247
+ "lists" : [int ( self . config [ "LISTMONK" ][ "LIST_ID" ]) ],
248
248
"content_type" : "richtext" ,
249
249
"body" : body ,
250
250
"messenger" : "email" ,
Original file line number Diff line number Diff line change 1
1
[FEED]
2
2
# Full URL to your website's feed
3
- URL = YOUR_FEED_URL
3
+ URL = https://edgeofdusk.com/newsletter/rss.xml
4
4
5
5
# How often to check for new feed entries in seconds
6
- POLL_INTERVAL = 300
6
+ POLL_INTERVAL = 30
7
7
8
8
# rss2newsletter uses this file to keep track of new feed entries
9
9
PROCESSED_ENTRIES_FILE = processed_entries.txt
10
10
11
11
12
12
[LISTMONK]
13
13
# Full URL to listmonk server
14
- URL = http ://localhost:9000
14
+ URL = https ://listmonk.edgeofdusk.com
15
15
16
16
# Credentials
17
- USERNAME = YOUR_USERNAME
18
- PASSWORD = YOUR_PASSWORD
17
+ USERNAME = robert
18
+ PASSWORD = MmIhr4THeBCh5fUv
19
19
20
20
# The ID of your "rss2newsletter" list (create this list in listmonk)
21
- LIST_ID = 1
21
+ LIST_ID = 3
22
22
23
23
# Use this for testing, campaigns will be created but no emails will be sent out (one is true, zero is false)
24
- DRY_RUN = 1
24
+ DRY_RUN = 0
25
25
26
26
27
27
[NEWSLETTER]
You can’t perform that action at this time.
0 commit comments