Make games RSS feed more sensible
This commit is contained in:
parent
898d0208cb
commit
223fb2d88c
1 changed files with 25 additions and 3 deletions
26
generate.py
26
generate.py
|
@ -872,11 +872,33 @@ def history():
|
||||||
eachdate = enddate
|
eachdate = enddate
|
||||||
while eachdate >= startdate:
|
while eachdate >= startdate:
|
||||||
for game in games:
|
for game in games:
|
||||||
if game["initialdate"] == eachdate:
|
|
||||||
yearlist.append({"date":eachdate,"name":game["name"],"console":game["console"],"action":"Added"})
|
|
||||||
try:
|
try:
|
||||||
if game["firstplayed"] == eachdate:
|
if game["firstplayed"] == eachdate:
|
||||||
|
try:
|
||||||
|
if game["beat"] != eachdate:
|
||||||
yearlist.append({"date":eachdate,"name":game["name"],"console":game["console"],"action":"Started"})
|
yearlist.append({"date":eachdate,"name":game["name"],"console":game["console"],"action":"Started"})
|
||||||
|
except:
|
||||||
|
try:
|
||||||
|
if game["completed"] != eachdate:
|
||||||
|
yearlist.append({"date":eachdate,"name":game["name"],"console":game["console"],"action":"Started"})
|
||||||
|
except:
|
||||||
|
yearlist.append({"date":eachdate,"name":game["name"],"console":game["console"],"action":"Started"})
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
if game["initialdate"] == eachdate:
|
||||||
|
try:
|
||||||
|
if game["beat"] != eachdate:
|
||||||
|
yearlist.append({"date":eachdate,"name":game["name"],"console":game["console"],"action":"Added"})
|
||||||
|
except:
|
||||||
|
try:
|
||||||
|
if game["completed"] != eachdate:
|
||||||
|
yearlist.append({"date":eachdate,"name":game["name"],"console":game["console"],"action":"Added"})
|
||||||
|
except:
|
||||||
|
yearlist.append({"date":eachdate,"name":game["name"],"console":game["console"],"action":"Added"})
|
||||||
|
try:
|
||||||
|
if game["gameplay"] == eachdate:
|
||||||
|
if game["firstplayed"] != eachdate:
|
||||||
|
yearlist.append({"date":eachdate,"name":game["name"],"console":game["console"],"action":"Playing"})
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue