Skip to content

Commit

Permalink
limit number of entries in the releases feed to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Oct 25, 2024
1 parent 9dcdf67 commit f91fb86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-feed
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ releases = document.body.cssselect("#changelog article")
updated = None
entries = []

for release in releases:
for release in releases[:20]:
title = release.attrib["id"]
try:
time = datetime.strptime(title, "%Y%m%d%H").isoformat() + "Z"
Expand Down

0 comments on commit f91fb86

Please sign in to comment.