You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,20 @@ Related configuration:
63
63
The hook is plain Python run by MkDocs itself - no extra package needs to be installed.
64
64
Note that it relies on MkDocs hooks and on internals of the Material blog plugin, so it needs to be revisited when upgrading Material or migrating to [Zensical](https://zensical.org/).
65
65
66
+
## RSS feed
67
+
68
+
Announcements are published as RSS and JSON feeds by the [mkdocs-rss-plugin](https://guts.github.io/mkdocs-rss-plugin/), configured under `rss:` in [mkdocs.yml](mkdocs.yml):
69
+
70
+
-[feed_rss_created.xml](https://www.utplsql.org/feed_rss_created.xml) - newest posts first (the one to subscribe to),
71
+
-[feed_rss_updated.xml](https://www.utplsql.org/feed_rss_updated.xml) - most recently updated posts first,
72
+
-`feed_json_created.json` and `feed_json_updated.json` - the same as [JSON Feed](https://www.jsonfeed.org/).
73
+
74
+
Only posts under `docs/announcements/posts/` are included (`match_path`), up to 20 newest.
75
+
Dates come from `date.created` / `date.updated` in the post front matter (git history is used when `date.updated` is missing), and `categories` become RSS categories.
76
+
The item description is the post `description:` or the summary generated by [hooks/latest_posts.py](hooks/latest_posts.py) - the same text as on the home page card.
77
+
78
+
The feeds are linked from the home page, the Announcements page and the RSS icon in the footer, and Material adds `<link rel="alternate" type="application/rss+xml">` to every page, so feed readers find them automatically.
79
+
66
80
## Local setup
67
81
68
82
If you want to generate and preview the website locally, you will need to have [python and pip installed](https://squidfunk.github.io/mkdocs-material/getting-started/))
0 commit comments