Add Optional XSL styling to feeds output
|Reported by:||jrconlin||Owned by:|
It would be very helpful to allow folks to optionally specify an XSL style sheet for the various output feeds.
Currently, I accomplish this by adding the following code:
<?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>';
if (RSS_XSL_STYLE_SHEET) -- jrc
echo '<?xml-stylesheet href="'.RSS_XSL_STYLE_SHEET.'" type="text/xsl" media="screen"?>'."\n";
(obviously replicated where appropriate in the other feed files as well).
In my wp-config.php file I specify the define as:
Again, obviously, the usual portability wrappers could be used instead of the hardcoded path.
Change History (8)
- Keywords bg|needs-patch added
- Owner changed from anonymous to skippy
- Priority changed from normal to lowest
- Status changed from new to assigned