Skip to content

How can I create a custom RSS feed when using Statiq.dev (with Clean Blog theme). #194

Answered by daveaglick
TechWatching asked this question in Q&A
Discussion options

You must be logged in to vote

Have you seen this page in the guide: https://www.statiq.dev/guide/web/feeds? It includes all the various front-matter settings you can use to define what the feed should contain. In general, any YAML or JSON file that contains the frontmatter FeedRss as a value will be treated as a feed file. So to create additional feeds, create YAML files and add FeedRss: true, etc. to the top of them. Those files can go right in your own input folder and the output RSS file should have a similar path as the input YAML file (with the appropriate extension, of course).

For many of these values you might want to use computed metadata values like this:

FeedItemTitle: => doc.GetString("Title") + " In My Fe…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@TechWatching
Comment options

@daveaglick
Comment options

@TechWatching
Comment options

@TechWatching
Comment options

Answer selected by TechWatching
Comment options

You must be logged in to vote
3 replies
@TechWatching
Comment options

@AlexHedley
Comment options

@TechWatching
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants