| 1 | Index: wp-rss2.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-rss2.php (revision 3713) |
|---|
| 4 | +++ wp-rss2.php (working copy) |
|---|
| 5 | @@ -9,7 +9,9 @@ |
|---|
| 6 | $more = 1; |
|---|
| 7 | |
|---|
| 8 | ?> |
|---|
| 9 | -<?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; ?> |
|---|
| 10 | +<?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; |
|---|
| 11 | +if ( file_exists(TEMPLATEPATH . "/rss2.xsl") ) { |
|---|
| 12 | + echo '<?xml-stylesheet href="'.get_template_directory_uri().'/rss2.xsl" type="text/xsl" media="screen"?>';} ?> |
|---|
| 13 | |
|---|
| 14 | <!-- generator="wordpress/<?php bloginfo_rss('version') ?>" --> |
|---|
| 15 | <rss version="2.0" |
|---|