Tableau.RSSExtension (tableau v0.24.0)
View SourceGenerate one or more RSS feeds.
Configuration
Configuration is a keyword list of configuration lists with the key being the name of the XML file to be generated.
:enabled
- boolean - Extension is active or not.:title
- string (required) - Title of your feed.:description
- string (required) - Description of your feed.:language
- string - Language to use in the<language>
tag. Defaults to "en-us".:include
- keyword list - List of front matter keys and values to include in the feed. If a post has any value in the list, it'll be included. Defaults to including everything.:exclude
- keyword list - List of front matter keys and values to exclude from the feed. If a post has any value in the list, it'll be included. Defaults to not excluding anything.
Example
config :tableau, Tableau.RSSExtension,
enabled: true,
feeds: [
super: [
enabled: true,
language: "pt-BR",
title: "The Super Feed",
description: "Includes all posts on the site"
],
posts: [
enabled: true,
language: "pt-BR",
title: "My Elixir Devlog",
description: "My Journey on Becoming the Best Elixirist",
exclude: [category: "til"] # excludes posts with this category
],
til: [
enabled: true,
language: "en-US",
title: "Today I Learned",
description: "Short log of what I learn every day",
include: [category: "til"]
]
]