$host = getRSSHost(); $protocol = SERVER_PROTOCOL; if ($protocol == 'https_admin') { $protocol = 'http'; } $locale = getRSSLocale(); $validlocale = getRSSLocaleXML(); $modrewritesuffix = getRSSImageAndAlbumPaths("modrewritesuffix"); header('Content-Type: application/xml'); $rssmode = getRSSAlbumsmode(); $albumfolder = getRSSAlbumnameAndCollection("albumfolder"); $collection = getRSSAlbumnameAndCollection("collection"); $albumname = getRSSAlbumTitle(); $albumpath = getRSSImageAndAlbumPaths("albumpath"); $imagepath = getRSSImageAndAlbumPaths("imagepath"); $size = getRSSImageSize(); $items = getOption('feed_items'); // # of Items displayed on the feed $gallery = new Gallery(); ?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/"> <channel> <title><?php echo strip_tags(get_language_string($gallery->get('gallery_title'), $locale)) . ' ' . strip_tags($albumname); ?> </title> <link><?php echo $protocol . "://" . $host . WEBPATH; ?> </link>
<?php $host = getRSSHost(); $protocol = SERVER_PROTOCOL; if ($protocol == 'https_admin') { $protocol = 'http'; } $locale = getRSSLocale(); $validlocale = getRSSLocaleXML(); $modrewritesuffix = getRSSImageAndAlbumPaths("modrewritesuffix"); require_once ZENFOLDER . '/' . PLUGIN_FOLDER . "/image_album_statistics.php"; require_once ZENFOLDER . '/' . PLUGIN_FOLDER . "/zenpage/zenpage-template-functions.php"; header('Content-Type: application/xml'); $themepath = THEMEFOLDER; $catlink = getRSSNewsCatOptions("catlink"); $cattitle = getRSSNewsCatOptions("cattitle"); if (!empty($cattitle)) { $cattitle = ' - ' . html_encode($cattitle); } $option = getRSSNewsCatOptions("option"); $titleappendix = gettext(' (Latest news)'); if (isset($_GET['withimages'])) { $option = "withimages"; $titleappendix = gettext(' (Latest news and images)'); } $s = getOption('feed_imagesize'); // un-cropped image size $items = getOption("zenpage_rss_items"); // # of Items displayed on the feed $gallery = new Gallery(); ?>