Use git for pub date in RSS #2
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "kindrobot/protoadandsuperbowl:kr-fix_rss"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
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
Hopefully that's not too cumbersome.