Hwaro::Content::Seo::Feeds
Inherits Reference / Object
Constants
User template keys that override the built-in feed output, per feed
type. templates/rss.xml.jinja loads under the key "rss.xml"
(template keys strip only the final template extension).
Class methods
Template context for user feed templates. Everything a feed body
needs is precomputed here with the same helpers the programmatic
generators use (URLs absolute + percent-encoded, dates normalized
and preformatted), so a template never has to re-derive feed
semantics — XML escaping via the xml_escape filter is the
template author's job.
Keep the page the build actually wrote when two pages collide on one URL (path-sort-first winner, matching render.cr#compute_output_url_winners). Used for main, section, language, and taxonomy feeds so no surface advertises a loser.
Safe subdirectory under output_dir for a section/lang/taxonomy
feed. Returns nil (and warns) when the URL escapes the public tree.
Config feeds.filename and empty custom names resolve to a single
basename under the feed's output directory.