/** * Get the XML <rss> node corresponding to an album * * @param $album The album to include in RSS */ function get_album_mrss($album) { $title = stripslashes(nggGallery::i18n($album->name)); $description = ''; $link = nggMediaRss::get_permalink(0); $prev_link = ''; $next_link = ''; $images = nggdb::find_images_in_album($album->id); return nggMediaRss::get_mrss_root_node($title, $description, $link, $prev_link, $next_link, $images); }