Page MenuHomeFreeBSD

website: add RSS feed to status pages
ClosedPublic

Authored by vladlen on Sun, Jun 21, 11:25 AM.
Tags
Referenced Files
Unknown Object (File)
Sun, Jul 12, 3:33 PM
Unknown Object (File)
Fri, Jul 10, 10:52 PM
Unknown Object (File)
Thu, Jul 9, 2:24 PM
Unknown Object (File)
Thu, Jul 9, 12:10 AM
Unknown Object (File)
Fri, Jul 3, 11:41 PM
Unknown Object (File)
Fri, Jul 3, 11:37 PM
Unknown Object (File)
Thu, Jul 2, 7:58 PM
Unknown Object (File)
Thu, Jul 2, 7:11 AM
Subscribers
None

Details

Summary

implements request from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252876

  1. RSS feed for latest 20 status reports is added.

RSS is generated for every url with status report (en and ru currently)

  1. The url link to RSS feed added to /status/ and /ru/status/ pages

P.S. hugo generates RSS feed for every directory, default RSS template
shows all files in the directory, the link has format /directory/feed.xml .
This patch assign own RSS template for /status directories of all languages.

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I cannot download the patch and build it in my local machine.
These days I am busy with personal issues.

But on a quick look, seems fine.

Thank you so much, there's an open PR in bugzilla about this.

Can we fix https://www.freebsd.org/status/feed.xml instead of adding a new one?

This file is the template exactly for this link. Hugo uses naming convention
[section name].[type].xml (type is 'rss')
status.xml changes RSS-feed for all '/status' pages from default template.
The link https://gohugo.io/templates/rss/#custom-templates

Other names:
status.rss.xml
rss.xml

Can we fix https://www.freebsd.org/status/feed.xml instead of adding a new one?

This file is the template exactly for this link. Hugo uses naming convention
[section name].[type].xml (type is 'rss')
status.xml changes RSS-feed for all '/status' pages from default template.
The link https://gohugo.io/templates/rss/#custom-templates

Other names:
status.rss.xml
rss.xml

Exactly, this review is totally perfect.
I was going to made this change loooooong time ago but I totally forgot 😅

This revision is now accepted and ready to land.Fri, Jun 26, 5:45 PM
This revision was automatically updated to reflect the committed changes.