maghoff / atomix

Atom feed generator that takes JSON input
ISC License
0 stars 0 forks source link

Automatically deduce date of last updated post #1

Open maghoff opened 9 years ago

maghoff commented 9 years ago

The timestamp generated for /feed/updated is the timestamp when the feed was generated. This means there is a new timestamp every time the feed is generated, so if the feed is regenerated without changes, it will still be changed.

If we instead find the timestamp of the latest updated post and use that for the feed, the timestamp will only be updated when there are actual changes.