summaryrefslogtreecommitdiff
path: root/app/views/rss/updates.rdf.builder
AgeCommit message (Collapse)Author
3 daysClean up rss and rdf feed. The items list was missing and host names were hard codederdgeist
2026-08-09Escape feed content with Builder rather than by handerdgeist
Builder escapes by default; the three feed templates no longer call CGI.escapeHTML. This fixes two sites that never escaped at all: the tag feed's externally supplied :tag segment, interpolated into its title, self link and id, and dc:creator in the RDF template. Subscribers see one difference: quotes and apostrophes arrive raw, which is valid in element text. config/initializers/xmlparser.rb, which redefined Builder::XmlBase#_escape as the identity function, is gone. XML::Node#replace_with went with it, no callers.
2026-07-31Bind aggregates over scoped tags to their subtreeerdgeist
CccConventions::TAG_SCOPES maps "update" and "pressemitteilung" to /updates and "disclosure" to /disclosure. Page.aggregate applies the mapping, so an aggregate over one of those tags is bounded by its subtree regardless of what the shortcode says. Tags stay unrestricted; positions are publish-gated. Both RSS actions call Page.aggregate rather than repeating its tag join. Empty feeds no longer crash: Atom falls back to the current time for the required <updated>, and the optional dc:date is omitted.
2026-06-27Stop forcing escaped HTML into the database just because XML Builder was used wrongerdgeist
2025-01-28Big overhaul patch and style changesCharlie Root
2009-11-18rdf needs the path to be the urlhukl
2009-11-18added template for old RDF feed - needs to be validated thoughhukl