-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtrump_report_settings.py
99 lines (79 loc) · 3.14 KB
/
trump_report_settings.py
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
from shared import RssInfo, EXPIRE_HOUR, EXPIRE_DAY
ALL_URLS = {
"https://revolver.news/feed" :
RssInfo("revolvernews.png",
"Revolver News",
"https://revolver.news/"),
"https://justthenews.com/rss.xml" :
RssInfo("justthenewslogo.svg",
"Just The News",
"https://justthenews.com/"),
"https://citizenfreepress.com/feed/" :
RssInfo("citizenfreepress.webp",
"Citizen Free Press",
"https://citizenfreepress.com"),
"https://patriots.win/fakefeed" : #No RSS feed, custom parser will handle
RssInfo("patriotswin.webp",
"Patriots.win",
"https://patriots.win"),
"https://thefederalist.com/feed/" :
RssInfo("federalist.webp",
"The Federalist",
"https://thefederalist.com/"),
"http://bonginoreport.com/index.rss" :
RssInfo("bonginoreport.png",
"Bongino Report",
"https://bonginoreport.com"),
"https://freebeacon.com/feed/" :
RssInfo("freebeacon.png",
"Free Beacon",
"https://freebeacon.com"),
"https://feeds.feedburner.com/breitbart" :
RssInfo("breitbart.webp",
"Breitbart",
"https://breitbart.com"),
"https://nypost.com/feed/" :
RssInfo("nypost.webp",
"New York Post",
"https://nypost.com"),
"https://www.washingtonexaminer.com/feed/" :
RssInfo("washingtonexaminer.webp",
"Washington Examiner",
"https://washingtonexaminer.com"),
"https://conservativereview.com/feeds/feed.rss" :
RssInfo("conservativereview.webp",
"Conservative Review",
"https://conservativereview.com"),
"https://townhall.com/feed/" :
RssInfo("logo-townhall.svg",
"Townhall",
"https://townhall.com"),
}
USER_AGENT = "AI Report -- https://trumpreport.info"
#This specifies the order of the sites in the report, derived from ALL_URLS keys.
site_urls = [
"https://feeds.feedburner.com/breitbart",
"https://patriots.win/fakefeed",
"https://revolver.news/feed",
"https://justthenews.com/rss.xml",
"https://thefederalist.com/feed/",
"https://freebeacon.com/feed/",
"https://townhall.com/feed/",
"https://citizenfreepress.com/feed/",
"http://bonginoreport.com/index.rss",
"https://nypost.com/feed/",
"https://www.washingtonexaminer.com/feed/",
"https://conservativereview.com/feeds/feed.rss",
]
domain = "https://trumpreport.info"
URL_IMAGES = domain + "/static/images/"
FAVICON = domain + "/static/images/TrumpReport.webp"
LOGO_URL = domain + "/static/images/TrumpReport.webp"
WEB_DESCRIPTION = "Trump Report"
WEB_TITLE = "TrumpReport"
ABOVE_HTML_FILE = '/srv/http/trumpreport/trumpreportabove.html'
WELCOME_HTML = ('<font size="4">(Displays instantly, refreshes hourly -- See also <b><a target="_blank" href = '
'"https://linuxreport.net/">LinuxReport</a></b> or <b><a target="_blank" href = '
'"https://aireport.keithcu.com">AI Report</a></b>) - Fork me on <a target="_blank"'
'href = "https://github.com/KeithCu/LinuxReport">GitHub</a> or <a target="_blank"'
'href = "https://gitlab.com/keithcu/linuxreport">GitLab.</a><br/><b>Note:</b> You can turn off underlines and courier in the Config dialog. Enjoy! -<a target="_blank" href = "https://keithcu.com/wordpress/?page_id=407/">Keith</a>. </font>')