Jump to main content Jump to doc navigation

The board.xml controller is what powers the board XML (RSS) feeds.

This controller does not use the wrapper template, but does extend the Discuss.Controllers.board controller for virtually all other behavior. Exceptions noted below under Options.

Basic Information

Since Version 1.0
Controller File controllers/web/board.xml.class.php
Controller Class Name DiscussBoardXmlController
Controller Template pages/board.xml.tpl
Manifest Name board

Options

If you don't know what the manifest is, please go back to the Getting Started document. The options below need to go into the "board.xml" options array of the manifest.

This controller accepts all options from the board controller, with the following changes/additions:

Key Default Description
tpl disBoardPostXml A tpl chunk for the individual listings.
mode rss This dedicates some special behaviour in getting the list of items in the feed.
get_category_name true Makes the category_name placeholder available in individual posts.

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Digital Penguin
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • Following Sea
  • Anton Tarasov
  • eydolan
  • Raffy
  • Lefthandmedia
  • Murray Wood
  • Snow Creative
  • Nick Clark
  • Helen
  • JT Skaggs
  • krisznet
  • YJ
  • Yanni
  • Richard

Budget

$366 per month—let's make that $500!

Learn more