Ticket #817 (closed enhancement: duplicate)
Hooks to preprocess page output
| Reported by: | DarTar | Owned by: | unassigned |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3.1 |
| Component: | architecture | Version: | 1.1.6.5 |
| Severity: | normal | Keywords: | formatters |
| Cc: | DotMG, BrianKoontz, JavaWoman |
Description (last modified by DarTar) (diff)
As of the current implementation, the output of the formatter is sent straight to the browser after it's generated. If we added hooks for preprocessing the output before displaying it, we could allow different kinds of output manipulation, including:
- processing template information
- applying postformatters (e.g. a typographic engine to replace punctuation with correct XHTML entities)
- dynamically changing the content of <head> (e.g., custom CSS, meta elements, title)
- sending specific HTTP headers to the browser
Related tickets
Change History
Note: See
TracTickets for help on using
tickets.