rust-lang / mdBook

Create book from markdown files. Like Gitbook but implemented in Rust
https://rust-lang.github.io/mdBook/
Mozilla Public License 2.0
17.99k stars 1.62k forks source link

RSS support #2210

Open flaging opened 1 year ago

flaging commented 1 year ago

Problem

RSS/feed is an important function for readers to following independent sites, so can you add some support for this?

Proposed Solution

No response

Notes

No response

sspaeti commented 10 months ago

I generated the Feed based on my sitemap.xml I generated with https://github.com/rust-lang/mdBook/issues/1491#issuecomment-1037671733.

Here is a simple Python script https://gist.github.com/sspaeti/5b8e235172e3cefe650ca818ec159584 that I use to generate the RSS feed file. One problem tough, it always uses the date of when it was generated, instead of when the file actually changed. Not sure how useful it is.

I have the same problem with my sitemap.xml tough. Maybe I can change that in a later iteration.