{{rss:url}}

The {{rss:url}} substitution parameter evaluates to the canonical URL for the generated RSS feed.

For example, this documentation site has the following headers set on the root node:

Canonical-URL: https://documentation.uriel.foo
RSS-URL: /rss.xml

As a result, when we use the {{rss:url}} parameter, it evaluates to the following value:

https://documentation.uriel.foo/rss.xml

Typical Usage

The intended use of this parameter is to include it in a template, where it is included on every page of your site.

For example, here the {{rss:url}} parameter is wrapped inside of a tag that references the RSS feed. The HTML looks like this:

<link rel="alternate"
      type="application/rss+xml"
      href="{{rss:url}}">

When the site is built, this evaluates to:

<link rel="alternate"
      type="application/rss+xml"
      href="https://documentation.uriel.foo/rss.xml">

Required Headers

The RSS-URL header must be set in order for this parameter to operate correctly. If you try to use this parameter without the RSS feed being enabled, you will get an error like this when Uriel tries to build the site:

copying 'static' to 'public', overwriting previous contents
initializing soju
initializing handlers
reading node files
rendering node content
parameter error:
  nodes/index
    templates/homepage.html
    templates/top.html
      '{{rss:url}}'
uriel: 'RSS-URL' header not set

See the RSS, Sitemap, robots.txt page for more information about getting Uriel to generate an RSS feed.

Tags: parameters, rss

This page was generated by Uriel with the following settings:

Page Details

Resource Path Project File
Node parameters/rss-url nodes/parameters/rss-url
Template default.html templates/default.html
URL /parameters/rss-url/ public/parameters/rss-url/index.html

Node Headers

Header (Lowercase) Value
tags parameters, rss
title {{rss:url}}
+-tags *
breadcrumb-separator &raquo;
canonical-url https://documentation.uriel.foo
rss-description Uriel Documentation
rss-image-height 32
rss-image-url /favicon-32x32.png
rss-image-width 32
rss-max-entries 50
rss-title Uriel Documentation
rss-url /rss.xml
sitemap-max-entries 10000
sitemap-url /sitemap.xml
tag-node tag
template default.html

Node Timestamps

Type Value
Created
Modified 2026-06-07T16:57:43-04:00

Node Methods

Method Value
get_parent_node() parameters/index
get_path() parameters/rss-url
get_node_type() file
get_url() /parameters/rss-url/
get_canonical_url() https://documentation.uriel.foo/parameters/rss-url/
get_name() rss-url
get_display_name() Rss Url
get_title() {{rss:url}}
get_escaped_title() {{rss:url}}
get_link() <a href="/parameters/rss-url/">{{rss:url}}</a>
get_canonical_link() <a href="https://documentation.uriel.foo/parameters/rss-url/">{{rss:url}}</a>
get_link_prefix() <p>
get_link_suffix() </p>
get_tags() ['parameters', 'rss']
get_dest_dir() ./public/parameters/rss-url
get_dest_file() ./public/parameters/rss-url/index.html
get_breadcrumb_separator() &raquo;