Use git for pub date in RSS #2

Merged
dozens merged 1 commits from kindrobot/protoadandsuperbowl:kr-fix_rss into master 2022-08-25 18:27:15 +00:00

I noticed that the RSS feed was using stat to figure out when a file was
modified for its pub date. This has the unfortunate side effect that the
comics are out of order in the RSS feed based on if they are modified
(e.g. for a typo.) This uses git to find out when the file was first
introduced and uses that as the pub date. A note, the file will first
have to be committed before updating the RSS feed, so the steps may look
something like

just build
git commit .
just rss
git commit .

Hopefully that's not too cumbersome.

I noticed that the RSS feed was using stat to figure out when a file was modified for its pub date. This has the unfortunate side effect that the comics are out of order in the RSS feed based on if they are modified (e.g. for a typo.) This uses git to find out when the file was first introduced and uses that as the pub date. A note, the file will first have to be committed before updating the RSS feed, so the steps may look something like just build git commit . just rss git commit . Hopefully that's not too cumbersome.
kindrobot added 1 commit 2022-08-25 18:23:51 +00:00
c6b12cd331 Use git for pub date in RSS
I noticed that the RSS feed was using stat to figure out when a file was
modified for its pub date. This has the unfortunate side effect that the
comics are out of order in the RSS feed based on if they are modified
(e.g. for a typo.) This uses git to find out when the file was first
introduced and uses that as the pub date. A note, the file will first
have to be committed before updating the RSS feed, so the steps may look
something like

	just build
	git commit .
	just rss
	git commit .

Hopefully that's not too cumbersome.
dozens merged commit bbff6d9319 into master 2022-08-25 18:27:15 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: dozens/protoadandsuperbowl#2
There is no content yet.