-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtechno_report_settings.py
74 lines (62 loc) · 2.18 KB
/
techno_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
from shared import RssInfo, EXPIRE_DAY
ALL_URLS = {
"http://detroiteq.com/feed" :
RssInfo("deq.png",
"Detroit Electronic Quarterly",
"http://detroiteq.com/",
EXPIRE_DAY),
"https://www.google.com/alerts/feeds/12151242449143161443/18325972585468687530" :
RssInfo("Google-News.png",
"Google Detroit Techno news",
"https://news.google.com/search?q=detroit techno",
EXPIRE_DAY),
"https://keithcu.com/BandcampTestRS/" :
RssInfo("RockSteadyDisco.png",
"RockSteady Disco",
"https://rocksteadydisco.bandcamp.com/music",
EXPIRE_DAY),
"https://keithcu.com/BandcampTest2/" :
RssInfo("Transmat.png",
"Transmat",
"https://transmatdetroit.bandcamp.com/music",
EXPIRE_DAY),
"https://placeintimeandspace.com/feed/" :
RssInfo("pits.png",
"Place In Time And Space",
"https://placeintimeandspace.com/",
EXPIRE_DAY),
"https://keithcu.com/PlanetETest" :
RssInfo("planete.png",
"Planet-E Communications",
"https://planetecommunications.bandcamp.com/music",
EXPIRE_DAY),
"https://keithcu.com/SampledDetroitTest" :
RssInfo("SampledDetroit.png",
"Sampled Detroit",
"https://sampleddetroit.bandcamp.com/music",
EXPIRE_DAY),
"https://keithcu.com/WomenOnWaxTest/" :
RssInfo("womenonwax.png",
"Women On Wax",
"https://womenonwax.com/",
EXPIRE_DAY),
}
USER_AGENT = "The Detroit Techno Report -- http://news.thedetroitilove.com/"
site_urls = [
"http://detroiteq.com/feed",
"https://www.google.com/alerts/feeds/12151242449143161443/18325972585468687530",
"https://keithcu.com/BandcampTestRS/",
"https://keithcu.com/BandcampTest2/",
"https://placeintimeandspace.com/feed/",
"https://keithcu.com/PlanetETest",
"https://keithcu.com/SampledDetroitTest",
"https://keithcu.com/WomenOnWaxTest/",
]
MAX_ITEMS = 11
URL_IMAGES = "http://news.thedetroitilove.com/static/images/"
FAVICON = URL_IMAGES + "technoreport.ico"
LOGO_URL = URL_IMAGES + "TechnoReport.png"
WEB_DESCRIPTION = "Detroit Techno, Arts and Events News"
WEB_TITLE = "The Detroit Report"
ABOVE_HTML_FILE = "/srv/http/flask/detroitreportabove.html"
WELCOME_HTML = ('<font size="4">(Refreshes Daily)</font>')