summaryrefslogtreecommitdiffstats
path: root/src/utils/helpers/rss.ts
Commit message (Collapse)AuthorAgeFilesLines
* chore: improve RSS feed generation timeArmand Philippot2022-02-131-10/+5
|
* chore(baseline): handle baseline translation manuallyArmand Philippot2022-01-301-1/+1
| | | | | | I cannot use formatjs to translate the website baseline since I need an async function to load the message. If I use the getIntlInstance helper outside NextJS, webpack is complaining about fs and path.
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-291-5/+5
|
* refactor(config): move defaultLocale as property of config.localesArmand Philippot2022-01-191-1/+1
| | | | | I will need the country code, so I think it makes more sense to gather them inside the same property.
* chore: add all posts from CMS to feedArmand Philippot2022-01-131-2/+10
|
* chore: add different feed formats (feed.xml, atom.xml, feed.json)Armand Philippot2022-01-131-2/+1
|
* chore: generate feedArmand Philippot2022-01-121-0/+54
I could loop until hasNextPage is false, but I'm not sure if it is the best solution. So, for now, only the first 100 posts will be added to the file.