views-view-rss.tpl.php 565 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * @file
  4. * Default template for feed displays that use the RSS style.
  5. *
  6. * @ingroup views_templates
  7. */
  8. ?>
  9. <?php print "<?xml"; ?> version="1.0" encoding="utf-8" <?php print "?>"; ?>
  10. <rss version="2.0" xml:base="<?php print $link; ?>"<?php print $namespaces; ?>>
  11. <channel>
  12. <title><?php print $title; ?></title>
  13. <link><?php print $link; ?></link>
  14. <description><?php print $description; ?></description>
  15. <language><?php print $langcode; ?></language>
  16. <?php print $channel_elements; ?>
  17. <?php print $items; ?>
  18. </channel>
  19. </rss>