Thomas Koch 4a58996e44 Fix caching
Nginx's std cfg only returns 304 with If-Unmodified-Since header, if the date
is exactly the one it expects, not the date the client did its last request.

This makes sense as it is much easier to compare two strings for equality than
to parse the date received from the client and check the ordering with the
server known last_modified value.
2025-01-11 13:38:20 +02:00
2025-01-11 13:38:20 +02:00
.
2025-01-10 11:39:54 +02:00
2025-01-10 20:17:06 +02:00
2025-01-10 20:17:06 +02:00
.
2025-01-10 11:39:54 +02:00
.
2025-01-10 11:39:54 +02:00

Simple planet like planet venus but in rust and maintained.

todo

Also see todos in the source files

do clippy and rustfmt

TODO error handling everywhere

write templates for html and atom/rss feeds

use a nice lib to process the config file

  • should check whether dirs exists and are writeable
  • should check whether feed urls can be parsed

Credits

While writing this, I read and also copied code from:

  • agro
  • haded by Akshay Gupta
  • planetrs by Vagdish/Adau, Dirkjan Ochtman, Josh Matthews
Description
No description provided
Readme 1,002 KiB