Cheers to everyone on this topic.
Bloody good work.
I've been able to get this running on my site as well (albeit with a lot of stuffing around on my part. Turned out i needed to reinstall CoolIris in the end!!)
http://gallery.sidz.id.auIf anybody knows how, setting this up as a plugin would be mighty handy!!
If you are going to install this in your coppermine gallery, make sure you follow these steps.
1. Install the EasyRSS plugin
2. Upload snark's latest rss.php file to your root directory.
3. modify the codebase.php (found in the plugin folder under EasyRSS): Remove the function easyrss_header and replace it with the following:
function easyrss_header() {
global $CONFIG,$lang_plugin_easyrss;
require ('plugins/Easy_RSS/include/init.inc.php');
//A/ so here is the Header for PicLens
$add_header_info = "";
// $add_header_info = "<!-- Step 1: Add a Photos RSS feed to this webpage. //-->";
$add_header_info .= "\n<link id=\"gallery\" rel=\"alternate\" href=\"rss.php?album=".$_GET['album']."&page=".$_GET['page']."&imgpos=".$_GET['pos']."\" type=\"application/rss+xml\" title=\"Image Gallery\" />";
// $add_header_info .= "\n<!-- Step 2: Include the PiclensLite JavaScript. //-->";
$add_header_info .= "\n<script type=\"text/javascript\" src=\"http://lite.piclens.com/current/piclens_optimized.js\">";
$add_header_info .= "</script>\n<style type=\"text/css\"> .mbf-item {display:none;} </style>".$otherHead;
return $add_header_info;
}
4. Edit the rss.php file for your required settings.
- If you do not create normal_ picture types, make sure you use .$full_url in the media:content line (around line 333).
- comment out or put in the correct logo for your site (around line 47)
etc.
Hopefully that should be it.
cheers again everyone.