-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlinux_report_settings.py
80 lines (67 loc) · 2.53 KB
/
linux_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
from shared import RssInfo, EXPIRE_HOUR, EXPIRE_DAY
ALL_URLS = {
"http://lxer.com/module/newswire/headlines.rss" :
RssInfo("lxer.webp",
"Lxer news",
"http://lxer.com/"),
"https://www.reddit.com/r/linux/.rss" :
RssInfo("redditlogosmall.webp",
"Reddit Linux sub",
"https://www.reddit.com/r/linux"),
"http://rss.slashdot.org/Slashdot/slashdotMain" :
RssInfo("slashdotlogo.webp",
"Slashdot",
"https://slashdot.org/"),
"https://lwn.net/headlines/newrss" :
RssInfo("barepenguin-70.webp",
"LWN.net news",
"https://lwn.net/"),
"https://news.ycombinator.com/rss" :
RssInfo("hackernews.webp",
"Ycombinator news",
"http://news.ycombinator.com/"),
"https://www.osnews.com/feed/" :
RssInfo("osnews-logo.webp",
"OS News.com",
"http://www.osnews.com/"),
"https://www.geekwire.com/feed/" :
RssInfo("GeekWire.png",
"GeekWire",
"http://www.geekwire.com/"),
"http://feeds.feedburner.com/linuxtoday/linux" :
RssInfo("linuxtd_logo.png",
"Linux Today",
"http://www.linuxtoday.com/"),
"https://planet.debian.org/rss20.xml" :
RssInfo("Debian-OpenLogo.svg",
"Planet Debian",
"http://planet.debian.org/"),
"https://breitbart.com/fakefeed" :
RssInfo("breitbart.webp",
"Breitbart Tech feed",
"https://breitbart.com/tech/"),
}
USER_AGENT = "Linux Report -- https://linuxreport.net/"
site_urls = [
"http://lxer.com/module/newswire/headlines.rss",
"https://www.reddit.com/r/linux/.rss",
"http://rss.slashdot.org/Slashdot/slashdotMain",
"https://lwn.net/headlines/newrss",
"https://news.ycombinator.com/rss",
"https://www.osnews.com/feed/",
"https://breitbart.com/fakefeed" ,
"https://www.geekwire.com/feed/",
"http://feeds.feedburner.com/linuxtoday/linux",
"https://planet.debian.org/rss20.xml",
]
URL_IMAGES = "https://linuxreport.net/static/images/"
FAVICON = "https://linuxreport.net/static/images/linuxreport192.ico"
LOGO_URL = "https://linuxreport.net/static/images/LinuxReport2.webp"
WEB_TITLE = "Linux Report"
WEB_DESCRIPTION = "Linux News"
ABOVE_HTML_FILE = 'linuxreportabove.html'
WELCOME_HTML = ('<font size="4">(Refreshes hourly -- See also <b><a target="_blank" href = '
'"https://covidreport.org/">CovidReport</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></font>')