Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header('Content-Type: application/rss+xml');
- require_once('inc/config.inc.php');
- echo "<?xml version=\"1.0\"?>\n";
- $safe_name = str_replace(array('&', '<', '>'), array('&', '<', '>'), $site_name);
- ?>
- <rss version="2.0">
- <channel>
- <title><?php echo $safe_name; ?></title>
- <link><?php echo $base_url; ?></link>
- <description><?php echo $site_slogan; ?></description>
- <language>en-us</language>
- <?php require_once('inc/rss.inc'); ?>
- </channel>
- </rss>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement