Make default feed format pluggable
|Reported by:||rubys||Owned by:||anonymous|
Provide a filter hook that a plugin could replace that would allow the plugin to control the default feed format. Additionally, the filter could provide the mime_type, display_name, short_name, and long_name to themes so that they could adjust, if they so desire.
The provided patch adjusts the default theme to make use of this new filter. Simply drop in this plugin and activate it, and the pages automatically adapt. Deactivate the plugin, and the pages revert back to RSS 2.0.
Additional plugins could be defined for RSS 0.92 or RSS 1.0.
This patch does *not* change the default feed format from RSS 2.0.