-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlinux_report_settings.py
38 lines (36 loc) · 2.23 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
from shared import RssInfo, SiteConfig
from typing import List, Dict
# Remove local LinuxReportConfig; now using shared SiteConfig
CONFIG: SiteConfig = SiteConfig(
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/linuxreportfancy.webp",
WEB_DESCRIPTION="Linux News",
WEB_TITLE="Linux Report",
ABOVE_HTML_FILE="/srv/http/LinuxReport2/linuxreportabove.html",
)