Skip to content

Conversation

@AnInternetTroll
Copy link
Contributor

@AnInternetTroll AnInternetTroll commented Feb 11, 2026

resolves #4492

Summary

Generate RSS and Atom feeds at build time for the blog on the main designsystemet.no website for all available languages. Strongly inspired by how sitemap.xml is generated, as well as many helper functions copied all over github and stackoverflow

In addition these feeds have been checked with https://validator.w3.org/feed/ and should be valid

Lastly, I couldn't get react router to build when using path aliases, so some stuff had to be changed to be relative links unfortunately

Checks

@changeset-bot
Copy link

changeset-bot bot commented Feb 11, 2026

⚠️ No Changeset found

Latest commit: cab6625

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mimarz
Copy link
Collaborator

mimarz commented Feb 12, 2026

Cool! @Barsnes is busy today, but I think its best he has a look at this since he's our react router expert :D

In the meantime could you please fix the formating/sort errors? :)

Comment on lines +14 to +28
const dayStrings = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
const monthStrings = [
'Jan',
'Feb',
'Mar',
'Apr',
'May',
'Jun',
'Jul',
'Aug',
'Sep',
'Oct',
'Nov',
'Dec',
];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -1,4 +1,4 @@
import en from '@internal/components/src/_locales/en';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason for changing this?
We have @internal/components installed as a package in www

Comment on lines +2 to +4
import i18n from './i18n';
import en from './locales/en';
import no from './locales/no';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason for changing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RSS for bloggen

3 participants