1
0
mirror of https://tildegit.org/solderpunk/gemfeed synced 2024-11-08 19:59:22 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
Solderpunk
333cc83282 Separate out argument parsing and sanitising from actual feed construction logic. 2020-03-17 17:30:45 +01:00
Solderpunk
802326058e Add docstrings for all functions except main(). 2020-03-17 15:45:49 +01:00
Solderpunk
cb2bca2edb Remove support for .gem extension, as the Best Practices document mentions only .gmi and .gemini. 2020-03-17 15:12:11 +01:00
Solderpunk
63365f0742 Don't produce empty feeds. 2020-03-17 13:35:37 +01:00
Solderpunk
3fdaabb810 Remove old debugging print(). 2020-03-17 13:35:26 +01:00
Solderpunk
eff47ef24f Take advantage of the fact that find_files now sorts files by timestamp. 2020-03-17 13:33:38 +01:00
Solderpunk
5d95fed964 Include only 10 (by default) most recent files in the feed. 2020-03-17 13:26:32 +01:00
Solderpunk
63f7622d4c Extract feed title from index.gmi if it exists and is world readable. 2020-03-17 13:09:51 +01:00
Solderpunk
b5cc680fbc Fix stat nonsense, git can die in a fire. 2020-03-16 22:44:33 +01:00
Solderpunk
43a3858c89 Merge branch 'master' of https://tildegit.org/solderpunk/gemfeed 2020-03-16 22:24:54 +01:00
Solderpunk
6584b37cba Merge branch 'master' of https://tildegit.org/solderpunk/gemfeed 2020-03-16 22:24:33 +01:00
Solderpunk
a3b463e3a2 Merge branch 'master' of https://tildegit.org/solderpunk/gemfeed 2020-03-16 22:22:47 +01:00
Solderpunk
abe72a0d09 Include only world readable files. 2020-03-16 22:21:37 +01:00
Solderpunk
a3e9eadc8f Include only world readable files. 2020-03-16 22:18:37 +01:00
Solderpunk
af6caf2369 Better URL handling. 2020-03-16 20:29:52 +01:00
Solderpunk
113d75f1db Add command line options for feed subtitle and author details. 2020-03-16 20:09:17 +01:00
Solderpunk
76d6efcb83 Pay attention to user-specified output filename when constructing feed URL. 2020-03-16 20:02:21 +01:00
Solderpunk
a08de42c36 Add rel attribute for entry links. 2020-03-16 20:01:55 +01:00
Solderpunk
f61fa0a82e Add command line options for base URL and feed title. 2020-03-16 19:51:14 +01:00
Solderpunk
7798412d74 Break into functions. 2020-03-16 18:54:49 +01:00
Solderpunk
fac6f4ad73 Initial proof-of-concept implementation. 2020-03-16 18:42:58 +01:00
solderpunk
93283c56c5 Initial commit 2020-03-16 13:39:09 -04:00