forum.coppermine-gallery.net

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: flaquito on May 17, 2007, 09:27:32 pm

Title: Easy RSS feed
Post by: flaquito on May 17, 2007, 09:27:32 pm
Easy_RSS
Written by: Brent Gerig

This is the first plugin I've written, so it may not be perfect. However, I've tested it as much as I could and it seems to work well. I'd love feedback and bug reports, and I'll do what I can to continue developing it.

Summary:
This plugin adds an RSS feed of the most recent uploads to a gallery. It is based on the rss.php written by Tarique Sani and modified by versus7 (See original thread at http://forum.coppermine-gallery.net/index.php?topic=11081.0 (http://forum.coppermine-gallery.net/index.php?topic=11081.0)).

The RSS feed will always show last updates for the portion of the gallery where the link is obtained. For example, the RSS link in a particular album will show updates to that album, but the RSS link in a user gallery will show recent updates to that user's gallery only.

Features:

Installation:
Just use the plugin manager to upload the zip file, then click the 'i' to install it.
Note: Installing this plugin will copy the rss.php file to your root Coppermine folder. If the file already exists, it will not be overwritten, but the plugin will probably not work correctly. There's probably a way to do this without copying it, but I was having path problems.

Changes:

Ver 1.0.1

Ver 1.1


[Edit GauGau 2010-03-05]
This plugin has been added to the subversion repository: http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.4.x/plugins/

It has been updated as well to reflect the version checking routines in the plugin manager that are meant to make sure that galleries don't break because of plugins installed that aren't meant for that particular version of the gallery.

Download: https://sourceforge.net/projects/coppermine/files/Plugins/1.4.x/cpg1.4.x_plugin_easy-rss_v1.3.zip/download
[/Edit]
Title: Re: Easy RSS feed
Post by: ComputerLady on May 17, 2007, 11:33:37 pm
This sounds to be exactly what I've been looking for, and I feared I might have to tackle writing the plug-in myself! (Not sure I was up to the job!) Okay, downloading to install on my test setup before committing to my live sites. Anyone else doing testing?
Title: Re: Easy RSS feed
Post by: flaquito on May 18, 2007, 01:26:50 am
Great! I hope it does what you need it to. Let me know how works out, and if there's anything that needs to be clarified or changed.

-Brent
Title: Re: Easy RSS feed
Post by: MarkP on May 18, 2007, 05:16:37 am
Installed it and don't see anything. Infact I don't even see the plugin in the plugin area after install either
Title: Re: Easy RSS feed
Post by: flaquito on May 18, 2007, 05:39:59 am
Well that's odd. Just to be absolutely sure, I completely deleted the plugin from my gallery, re-downloaded the file from this thread, and uploaded and installed it. It worked just fine. Can you open the zip file and make sure you have a good download? The md5sum (as of ver 1.0, just in case I post an update in the future) should be 9a207fe2c55102aa6f5b5ea79bdfcbb1 and it should have the following files:

Easy_RSS/lang/english.php
Easy_RSS/codebase.php
Easy_RSS/rss.php
Easy_RSS/configuration.php
Easy_RSS/rss.gif
Easy_RSS/include/init.inc.php
Easy_RSS/clear.gif
Title: Re: Easy RSS feed
Post by: MarkP on May 18, 2007, 05:51:14 am
Yep everything is there.
Title: Re: Easy RSS feed
Post by: MarkP on May 18, 2007, 05:57:06 am
Had to go into php my admin to remove the plugin it does not show up in the plugin list. Might be because of some other plugin I use these plugins:

Installed Plugins 
Name Stats v1.1    
Author Frantz
Description Displays gallery stats by date. (adapted from Nibblers mod's)
   
      
Name Gallery Directory v1.1    
Author wirewolf at Academy Photo Gallery
inspired by Frantz's Photo Summary v1.0 plugin inspired from fotofreek's mod
Description Add a menu link to a Bulleted Category Directory Page with link to each photo under their respective Albums
   
      
Name File replacer v1.0    
Author Nibbler
Description Allows files to be replaced by a replacement file. Enhanced to work together with the modpack (watermarking, minithumbs, thumb cropping, thumb sharpening, backup orig file) 01-14-2007 Stramm.
   
      
Name Photo Summary v2.0    
Author Frantz inspired from fotofreek's mod and wirewolf's preview css window popup
Description Add a menu link to a photo summary page with link to each photo with preview image popup
   
      
Name Pic Poster v1.0    
Author Stramm stramm@gmx.net stramm.st.funpic.org
Description Displays the name of the uploader above the intermediate image on your Coppermine Photo Gallery.
   
      
Name Update History v2.0    
Author Frantz
Description Displays last updates from the gallery. (adapted from Nibblers mod)
admin page for plugin settings and archive link
Title: Re: Easy RSS feed
Post by: MarkP on May 18, 2007, 06:03:57 am
Ok I moved the priority up to 0 and it is working now.
Title: Re: Easy RSS feed
Post by: flaquito on May 18, 2007, 06:14:56 am
Ok I moved the priority up to 0 and it is working now.
Interesting. Thanks for testing that. If you don't mind doing just a bit more testing, I'd be curious to know which plugin it's compatible with. Maybe I can fix that.

Also, I just finished up a slightly updated version (v1.0.1) that fixes a bug that I completely missed in displaying the Yahoo! button. I'll attach it to my initial post as soon as I can figure out how to edit that post. I can't find a modify button anywhere, and I haven't been around the forums long enough to know if that's been disabled or something.
Title: Re: Easy RSS feed
Post by: flaquito on May 18, 2007, 06:38:01 am
Well, until I can modify my initial post, here's version 1.0.1. md5sum is f8699f6bd19e420b019203635d113fc0.

This fixes the problem with the Yahoo! button not displaying, plus it removes my clear.gif and uses the already-existing spacer.gif.

Edit: Deleted attachment. Please see initial post for most recent version.
Title: Re: Easy RSS feed
Post by: MarkP on May 18, 2007, 06:41:57 am
I have removed it. The plugin breaks the link in the user files. After installing this plugin I get this error when opening user galleries:

The selected album/file does not exist !

gallery/plugins/Easy_RSS/codebase.php - Line: 263
Title: Re: Easy RSS feed
Post by: Hein Traag on May 18, 2007, 07:47:32 am
Well, until I can modify my initial post, here's version 1.0.1. md5sum is f8699f6bd19e420b019203635d113fc0.

This fixes the problem with the Yahoo! button not displaying, plus it removes my clear.gif and uses the already-existing spacer.gif.

Flaquito, next time remember to also update the first post with the new version of the plugin zip file  ;)

Hein
Title: Re: Easy RSS feed
Post by: flaquito on May 18, 2007, 07:52:10 am
Flaquito, next time remember to also update the first post with the new version of the plugin zip file  ;)

Hein

I'd love to, but like I said in my previous posts, unless I'm missing something I don't have the ability to edit my previous posts. In the meantime, thanks for adding the file -- you can go ahead and remove the first version, too.
Title: Re: Easy RSS feed
Post by: Hein Traag on May 18, 2007, 07:55:06 am
My bad, your correct.

Added dutch.php zipped to this post for future release of this plugin.

Good work!
Title: Re: Easy RSS feed
Post by: Joachim Müller on May 18, 2007, 08:25:24 am
I'd love to, but like I said in my previous posts, unless I'm missing something I don't have the ability to edit my previous posts.
Thanks for your contribution. Regular users can't edit their postings, because of abuse of this feature in the past. I have added you to the contributor group, you should now be able to edit your postings accordingly. Moving thread to plugin contributions.

Great work

Joachim
Title: Re: Easy RSS feed
Post by: flaquito on May 18, 2007, 08:39:35 am
Well, after looking at it more carefully, it appears that the original rss.php file that I used was much more broken than I thought, and doesn't currently support categories. So, at least for now, categories don't have the ability to have rss feeds. This most recent version has those changes, and also fixes the user gallery error that Mark was having. In addition, it now has Dutch support included (thanks, Hein!). Newest version and list of changes/fixes is in the first post.

Thanks for your contribution. Regular users can't edit their postings, because of abuse of this feature in the past. I have added you to the contributor group, you should now be able to edit your postings accordingly. Moving thread to plugin contributions.

Great work

Joachim

Thanks, Joachim. That makes things so much easier. I promise I won't abuse it. :)
Title: Re: Easy RSS feed
Post by: Pakistani1 on May 29, 2007, 10:59:56 am
how can i display the rss.php in a html block of mxbb portal .. ?
Title: Re: Easy RSS feed
Post by: kevFISH on May 30, 2007, 01:18:28 am
Thanks for that :)
Searched for 'rss' found this thread, downloaded file, installed it, all works fine and good to go.

Wish life was always this easy :lol:
Title: Re: Easy RSS feed
Post by: flaquito on May 30, 2007, 03:01:20 am
how can i display the rss.php in a html block of mxbb portal .. ?

Well, I don't know anything about mxbb or its coppermine integration, but if you can add code to it, you can reference http://www.yoursite.com/your_cpg/rss.php directly. Assuming that you have access on the php side of things to an album variable, you can call something like rss.php?album=$album. Feel free to PM me and I'll help out more if I can.

Thanks for that :)
Searched for 'rss' found this thread, downloaded file, installed it, all works fine and good to go.

Wish life was always this easy :lol:

I'm glad it's working so well for you. Thanks for the feedback!
Title: Re: Easy RSS feed
Post by: TranzNDance on June 01, 2007, 09:34:38 am
Thanks for this plugin, flaquito. I don't know if it's a universal issue or not, but the feed wouldn't validate with encoding 'iso-8859-1'. Since Coppermine uses utf, perhaps the plugin should use it, too, since some of the entered text gets affected by changing to a different character encoding.

This was what I changed in rss.php:
Code: [Select]
header ("content-type: text/xml; charset=utf-8");
//maybe you must change the encoding to iso-8859-1.
$rssHeader = <<<EOT
<?xml version="1.0" encoding="utf-8"?>

I made additional changes to the rss file so that it is compatible with Google Screensaver, which was requested in another thread: http://forum.coppermine-gallery.net/index.php?topic=44162.msg210132#msg210132
Title: Re: Easy RSS feed
Post by: superdave on June 09, 2007, 05:12:05 pm
great plugin ... i installed and am using it with no errors.

thanks for your hard work.

as a suggestion for future versions, perhaps creating an admin module to adjust features without having to uninstall/reinstall the mod.

cheers

dave
Title: Re: Easy RSS feed
Post by: Hijacker on June 10, 2007, 07:12:14 am
Hi there!

I did some minor modifications to the package. The changes are as the following:
- Changed Feed-Charset from iso-8859 to UTF-8 (like recent Coppermine versions are, too)
- Added a radio button to choose "Title, if not available: Caption" + implementation for the feed
- Adjusted the english lang file according to above changes
- Added german lang file

I'll attach all the changed files. If you want to add these to your main package, just go ahead :)

P.S.: Argh, 3 attachments max. Gotta make a second post for the german lang file ^^
P.P.S.: Heh, php extensions not allowed for upload. I'll rename them to .php.txt. Just remove the .txt.
Title: Re: Easy RSS feed
Post by: Hijacker on June 10, 2007, 07:13:16 am
And the german lang file...

//edit: If there is a bug anywhere or a mistake in the translations... Please bear with me. I did this at 6-7am and I really need to get some sleep now ;)
Title: Re: Easy RSS feed
Post by: andyleery on June 11, 2007, 12:12:53 am
Hello, I have got a problem with this hack.
XML-Verarbeitungsfehler: "Junk" nach Dokument-Element
Adresse: http://www.bollybilder.de/rss.php
Zeile Nr. 12, Spalte 1:<?xml version="1.0" encoding="iso-8859-7"?>

This you will see, if you visit the Link "http://www.bollybilder.de/rss.php".
How can I fix it?
Title: Re: Easy RSS feed
Post by: TranzNDance on June 11, 2007, 12:21:58 am
That's because javascript code is getting injected right before the xml code. Did you add that somewhere?
Code: [Select]
<script language="javascript" type="text/javascript">
<!--
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=yes,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
// -->
</script>
<?xml version="1.0" encoding="iso-8859-7"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
>
[snip]
Title: Re: Easy RSS feed
Post by: andyleery on June 11, 2007, 09:20:00 am
Must be an hack which added it. Dont know where I can find this code :-(! Do you have some ideas?
Title: Re: Easy RSS feed
Post by: andyleery on June 11, 2007, 09:30:05 am
I have found it, thx for your help!
I have also another problem, may you can help me there also? ^^
-> http://forum.coppermine-gallery.net/index.php?topic=26532.msg211116
Title: Re: Easy RSS feed
Post by: Joachim Müller on June 11, 2007, 09:32:20 am
No cross-posting >:(!
Title: Re: Easy RSS feed
Post by: levy on June 16, 2007, 02:55:03 pm
How can i change the feed's display to Title or Caption without having to uninstall and reinstall? Thanks.
Title: Re: Easy RSS feed
Post by: easyjava on June 17, 2007, 01:13:12 pm
Hello, I have got a problem with this hack.
XML-Verarbeitungsfehler: "Junk" nach Dokument-Element
Adresse: http://www.bollybilder.de/rss.php
Zeile Nr. 12, Spalte 1:<?xml version="1.0" encoding="iso-8859-7"?>

This you will see, if you visit the Link "http://www.bollybilder.de/rss.php".
How can I fix it?

i have the same problem but i haven't javascript :(
Title: Re: Easy RSS feed
Post by: celebrienne on June 30, 2007, 09:02:22 pm
Hi there,

thanks for the plugin, just installed it and it works so far, but I've got some question and/or suggestions which features might be useful to add. I know the plugin is called "easy" RSS feed, but anyway...

-> Is there a way to display the album's name as the title of each feed item? Right now my feed items have no titles/captions in the feed reader because I don't give them titles or captions (and I'm not planning to do so because of the number of images which are added everyday).
-> Is there a way to display a full album per feed item? I often batch 30-60 images per album and having each image delivered as a separate feed item isn't really ideal; it makes the feed look kinda spammy and overwhelming if you got like 300 new feed items in your feed reader ;-)

If I got you right, this plugin doesn't work for categories right now. I really encourage you to implement this feature if you can. My image gallery is celebrity related (where celebrity = category) and the main reason I wanted a RSS feed plugin for coppermine, is because I want my visitors who are fans of a certain celebrity be able to subscribe via RSS to a certain celebrity, so he/she will always be notified if new images of his favorite celebrities are published.

OK, that's it for right now. Thanks for the plugin again!

Bye,
Celebrienne
Title: Re: Easy RSS feed
Post by: rubenix on July 02, 2007, 07:16:38 pm
Hi All, I'm having problems with this plugin.

After doing a few modifications as per TranzNDance's suggested in a previous thread (javascript getting injected before the plugin) I thought the rss was working but still not working and gives me an xml error instead...

Surprisingly it only works with Safari browser, not FF nor IE7...

Can you please check this out for me...Thanks so much in advance! I really need this plugin working in my site

http://www.rubenix.net (http://www.rubenix.net)
Title: Re: Easy RSS feed
Post by: ComputerLady on July 02, 2007, 10:37:07 pm
Hi, forgive me for asking what may seem an obvious question, but I'm still rather confused yet excited about this plugin. The best way for me to resolve those would be to see a live demo of what a feed will look like I guess. If anyone would care to share that, I would greatly appreciate it!  :D

My main concern is if images themselves are being shared via the feed, and - if so - which ones. The thumbnails? Larger sizes? I've already taken steps to better protect the content stored on my site (visible watermarks), and code to block those trying to pass my work off as their own. But, if I'm blasting copies of those files out via a feed that shoots down some of those protection strategies!

Another fear is that removing this plug-in could prove to be a major challenge if tested on a live site. I'm having to rebuild mine (again!) from scratch as my hosting company cross-linked some of my databases during a server move. (Using only ONE database now so that can't happen again!) Needless to say, I don't want to have to toss everything out and start over yet again!

Thanks for comments!
Title: Re: Easy RSS feed
Post by: rubenix on July 03, 2007, 02:03:02 pm
me again!!

have to say that for some unknown reason today is not working with safari neither!

here the error I get from feedvalidator.org:

line 42, column 0: XML parsing error: <unknown>:42:0: xml declaration not at start of external entity [help]

    <?xml version="1.0" encoding="UTF-8" ?>


How can I solve this??
Title: Re: Easy RSS feed
Post by: TranzNDance on July 03, 2007, 04:48:49 pm
Which feed gives that error?
Title: Re: Easy RSS feed
Post by: rubenix on July 03, 2007, 05:08:01 pm
Which feed gives that error?

This one:
http://www.rubenix.net/rss.php

Code: [Select]
<?php 
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery - RSS Feed                                      //
// ------------------------------------------------------------------------- //
// Copyright (C) Dr. Tarique Sani                                           //
// http://tariquesani.net/                                                  //
// modifications by versus7 - www.oixalia.gr - oixalia@oixalia.gr //
// further modifications by Brent Gerig
// This program is free software; you can redistribute it and/or modify     //
// it under the terms of the GNU General Public License as published by     //
// the Free Software Foundation; either version 2 of the License, or        //
// (at your option) any later version.                                      //
// ------------------------------------------------------------------------- //
// Just put into the same directory as your coppermine installation         //
// ------------------------------------------------------------------------ //
define('IN_COPPERMINE'true);
define('INDEX_PHP'true);
global 
$CONFIG,$ALBUM_SET,$META_ALBUM_SET,$CURRENT_CAT_NAME,$FORBIDDEN_SET_DATA,$lang_plugin_easyrss;
require(
'include/init.inc.php');
require(
'plugins/Easy_RSS/include/init.inc.php');
//How many items you want to show in RSS feed
$thumb_per_page $CONFIG[plugin_easyrss_num];
$thumb_count 0;
$lower_limit 0;
if(
count($FORBIDDEN_SET_DATA) > ){
    
$forbidden_set_string =" AND aid NOT IN (".implode(","$FORBIDDEN_SET_DATA).")";
} else {
    
$forbidden_set_string '';
}
if(isset(
$_GET['album'])){
    
$album $_GET['album'];
}
//If it is a numeric album get the name and set variables
if ((is_numeric($album))){
     
$album_name_keyword get_album_name($album);
     
$CURRENT_CAT_NAME $album_name_keyword['title'];
     
$META_ALBUM_SET "AND aid IN (".(int)$_GET['album'].")".$ALBUM_SET;

     
//Set the album to last uploaded
     
$album 'lastup';
}
//If the album is not set set it to lastup - this is the default
if(!isset($album)){
     
$album 'lastup';
}
/*
if ((isset($_GET['cat']) && $_GET['cat'] > 1)){ 
     $cat = $_GET['cat'];
     $album_name_keyword = get_album_name($cat);
     $CURRENT_CAT_NAME = $album_name_keyword['title'];
     
     $META_ALBUM_SET = "AND aid IN (".$cat.")".$ALBUM_SET;
}
*/
//Changes these to point to your site if the following is not giving correct results.
$link_url $CONFIG['ecards_more_pic_target']."displayimage.php?pos=-";
$image_url $CONFIG['ecards_more_pic_target']."albums/";
$META_ALBUM_SET .= $forbidden_set_string;
$data get_pic_data($album$thumb_count$album_name$lower_limit$thumb_per_page);
header ("content-type: text/xml");
//maybe you must change the encoding to iso-8859-1.
$rssHeader = <<<EOT
<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
>
<channel>
    <title>$CONFIG[gallery_name]</title>
    <link>$CONFIG[ecards_more_pic_target]</link>
    <description>$CONFIG[gallery_description] - $album_name</description>
    <generator>$CONFIG[ecards_more_pic_target]rss.php</generator>
EOT;
echo $rssHeader;
foreach($data AS $picture) {

    $titlefield = $CONFIG[plugin_easyrss_titlefield];
    $caption_text = "<br>".$picture[hits]." ".$lang_plugin_easyrss['views'];
    $caption_text .= "<br>".date('M d, Y',$picture[ctime]);
   
    $thumb_url = "$image_url$picture[filepath]$CONFIG[thumb_pfx]$picture[filename]";
    $keywords = explode(" ",trim($picture[keywords]));
    $category_string = "";
    foreach($keywords as $keyword){
         $category_string .= "<category>$keyword</category>";
    }
    $pubDate = gmdate("D, d M Y H:i:s", $picture[ctime]);
    if($titlefield == "tthenc")
    {
    if($picture['title'])
        {
          $titlefield = "title";
          $title = $picture['title'];
        }
        elseif($picture['caption'])
        {
            $titlefield = "caption";
            $title = $picture['caption'];
        }
    else
        $title = $lang_plugin_easyrss['no'].$lang_plugin_easyrss['label_notorc'];
    }
    elseif($picture[$titlefield])
        $title = $picture[$titlefield];
    else
        $title = $lang_plugin_easyrss['no'].$lang_plugin_easyrss['label_'.$titlefield];
   
    $description = '<a href="' . $link_url . $picture['pid'] . '"><img src="' . $thumb_url . '" border="1" vspace="2" hspace="2"> <align="center" ></a><br>';
    if($titlefield == "title")
        $description .= bb_decode($picture[caption]);
    $description .= bb_decode($caption_text);   
    $description =  htmlspecialchars($description);
   
    $item = '<item>
              <title>'.$title.'</title>
              <link>' . $link_url . $picture[pid] . '</link>
              <pubDate>' .$pubDate.' GMT</pubDate>                   
          '.$category_string.'
              <description>'.$description.'</description>           
             </item>';

    echo $item;
}
$rssFooter = <<<EOT
</channel>
</rss>
EOT;
echo $rssFooter;

?>

Created using Easy Rss Feed plugin
Title: Re: Easy RSS feed
Post by: rubenix on July 10, 2007, 09:19:00 pm
Some help will be really apreciated!!  ;)
Title: Re: Easy RSS feed
Post by: Joachim Müller on July 11, 2007, 10:32:22 am
http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#lamesupport
Title: Re: Easy RSS feed
Post by: rubenix on July 11, 2007, 01:51:24 pm
sorry Gau-Gau for being quite impatience, i Know this is a support board and I really apreciate everybody's work to solve problems.

Sorry again and hope to get an answer for my problem whenever somebody has the time to look after it...
Title: Re: Easy RSS feed
Post by: ComputerLady on July 17, 2007, 11:36:41 pm
Took the plunge on this one and am very happy with it. Feed uses only thumbnail images, for anyone interested, so minimal risks in so far as theft. Again, nice job on this and much appreciated!
Title: Re: Easy RSS feed
Post by: Qayyom on August 03, 2007, 09:31:33 am
I am having the problem (attached-screen shot)

can i change/paste the rss.php in root directory manually?

please guide me to solve the problem

please check the problem at my site:

VISIT:-                                                      www.PICSnCLIPS.net (http://www.PICSnCLIPS.net)


Title: Re: Easy RSS feed
Post by: ComputerLady on August 03, 2007, 10:31:16 pm
I am having the problem (attached-screen shot)
can i change/paste the rss.php in root directory manually?
please guide me to solve the problem
please check the problem at my site:
VISIT:-                                                      www.PICSnCLIPS.net (http://www.PICSnCLIPS.net)

Did you install it correctly? It should go into the root directory of your gallery automatically. Yes, that is where the rss.php file is supposed to go.
Title: Re: Easy RSS feed
Post by: Qayyom on August 13, 2007, 11:21:37 am
I paste the rss.php file in root directory manually

but result you can check.

in left to right sequence...

1st option is totally not working (but it was working previously)

and other both are showing files in first step/page (as in screenshot) but when you click on files they are not open

how can i solve the problem (sorry again)

either i have to reinstall the package or...?

www.PICSnCLIPS.NET (http://www.PICSnCLIPS.NET)
Title: Re: Easy RSS feed
Post by: ComputerLady on August 13, 2007, 03:39:16 pm
When you run a test on the feed, it has a few errors:
http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.picsnclips.net%2Frss.php
Nothing that should block anything from linking to it anyway. Almost identical to those I get for the feed on my own site, so I have to assume that's a flaw in the PHP somewhere. But, again, nothing that has caused the plug-in to fail.
Title: Re: Easy RSS feed
Post by: Qayyom on August 15, 2007, 01:55:07 pm
I just reinstall the package again and i think it works...

but why it shows errors (I don't know it is really serious problem or not) on http://feedvalidator.org

http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.picsnclips.net (http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.picsnclips.net)

...and how can i resolve these errors showing at the feed tester site

with best regards!
Title: Re: Easy RSS feed
Post by: Wookie on November 01, 2007, 08:08:34 pm
I've modified this plugin to show votes per image, I want it to show the rating (pic_rating) and time to. When I add a line for the rating it will show it, but it will knock the votes and time off the rss feed

Code: [Select]
foreach($data AS $picture) {

    $titlefield = $CONFIG[plugin_easyrss_titlefield];

    $caption_text = "<br>".$picture[votes]." ".$lang_plugin_easyrss['votes'];
    $caption_text .= "<br>".date('M d, Y',$picture[ctime]);
    $caption_text = "<br>".$picture[pic_rating]." ".$lang_plugin_easyrss['rating'];

Like this, and all it shows to the rss feed is the pic rating for example 4000, but it wont show the votes or time.

If I move the pic rating line up to the space above like below

Code: [Select]
foreach($data AS $picture) {

    $titlefield = $CONFIG[plugin_easyrss_titlefield];
    $caption_text = "<br>".$picture[pic_rating]." ".$lang_plugin_easyrss['rating'];
    $caption_text = "<br>".$picture[votes]." ".$lang_plugin_easyrss['votes'];
    $caption_text .= "<br>".date('M d, Y',$picture[ctime]);

It will show votes and time...but no rating!

How can I show all three, that is Votes, date and rating?

I'm gueesing its something quite simple that I am missing and an easy fix...but I cant for the life of me work out what it is.

Regards

Wookie





Title: Re: Easy RSS feed
Post by: encrypt on November 13, 2007, 11:45:18 pm
Hy, i installed the plugin, but i can't find the rss.php file in the gallery root folder.
I tried to reinstall the plugin , but the same problem occured.
I need someone to help me!
thanks!

Mihai from Romania
The link of my page is http://www.avatare-e.ro

Title: Re: Easy RSS feed
Post by: Joachim Müller on November 14, 2007, 08:22:02 am
i installed the plugin, but i can't find the rss.php file in the gallery root folder.
The gallery root probably isn't writable for the script, so it can't copy that file to that location. Review permissions or copy that file manually.
Title: Re: Easy RSS feed
Post by: mrsleep99 on November 28, 2007, 11:37:42 pm
Code: [Select]
XML Parsing Error: xml declaration not at start of external entity
Location: http://www.website.com/library/rss.php
Line Number 6, Column 1:<?xml version="1.0" encoding="iso-8859-7"?>
^

Installed but the RSS icon doesn't work, the Google one does however...
any ideas?
Title: Re: Easy RSS feed
Post by: Nibbler on November 28, 2007, 11:53:26 pm
You need to remove whatever is being put out before what should be the first line of the rss file.

Code: [Select]
<?xml version="1.0" encoding="iso-8859-7"?>
Might be whitespace or some other plugin interfering.
Title: Re: Easy RSS feed
Post by: mrsleep99 on November 29, 2007, 12:01:24 am
How do you tell what is being put out before it?  :-\
Title: Re: Easy RSS feed
Post by: Nibbler on November 29, 2007, 12:10:45 am
View the source of the feed.
Title: Re: Easy RSS feed
Post by: mrsleep99 on November 29, 2007, 02:08:36 am
You mean rss.php? I'm confused  :-\
Title: Re: Easy RSS feed
Post by: Joachim Müller on November 29, 2007, 08:51:24 am
Go to http://www.picsnclips.net/rss.php in your browser, then do a right-click, "view source". Simple as that.
Title: Re: Easy RSS feed
Post by: mrsleep99 on November 29, 2007, 09:11:21 am
I've got 6 lines of blank space, how do I get rid of it though ?  ??? Thank you!
Title: Re: Easy RSS feed
Post by: Nibbler on November 29, 2007, 10:19:42 am
Check any files you have modded or added to Coppermine for the whitespace and delete it.
Title: Re: Easy RSS feed
Post by: mrsleep99 on November 29, 2007, 11:55:25 pm
So if I've added plug ins I have to go through every single file and look for 6 spaces of white space and delete it? I don't know how else to interpret that, sorry just trying to get this to work!!  ??? Thank you!!
Title: Re: Easy RSS feed
Post by: Nibbler on November 30, 2007, 12:27:28 am
Correct. When you find them report back on the plugin's thread so it can be fixed.
Title: Re: Easy RSS feed
Post by: mrsleep99 on November 30, 2007, 01:18:32 am
Will the 6 blank spaces be at the bottom of one of the files or just ANYWHERE in the file? And will it only be one file? I've got like 8 or 9 plugins  :-[
Title: Re: Easy RSS feed
Post by: Joachim Müller on November 30, 2007, 08:50:28 am
Then disable the other plugins one by one and test after each step if the RSS feeds then work. Welcome to the world of troubleshooting - you're about to find out what coding and troubleshooting is about.
Title: Re: Easy RSS feed
Post by: natrlhy on December 10, 2007, 07:45:22 pm
Can this plugin be modified to allow the RSS feeds to look for updated Private Albums as well and have this displayed on a Google or Yahoo page?
Title: Re: Easy RSS feed
Post by: dills84 on February 20, 2008, 04:26:37 pm
I'm receiving an Internal 500 when trying to reach the feed.

www.dillonpic.com/gallery/rss.php (http://www.dillonpic.com/gallery/rss.php)

the RSS mod worked fine for me. but this seemed more customizeable... any ideas? file permissions are set to 777
Title: Re: Easy RSS feed
Post by: TranzNDance on February 20, 2008, 06:59:08 pm
I'm receiving an Internal 500 when trying to reach the feed.

www.dillonpic.com/gallery/rss.php (http://www.dillonpic.com/gallery/rss.php)

the RSS mod worked fine for me. but this seemed more customizeable... any ideas? file permissions are set to 777
It loads for me. Maybe temporary issue or did you fix it in the meanwhile?
Title: Re: Easy RSS feed
Post by: dills84 on February 21, 2008, 04:29:16 pm
It loads for me. Maybe temporary issue or did you fix it in the meanwhile?

i went back to using the rss feed MOD that somebody else posted. The plugin still doesnt work for me, causes and Error 500.
Title: Re: Easy RSS feed
Post by: soleiltan2 on February 23, 2008, 01:07:56 am
This plugin worked perfectly...from install to validation.

Except for this

Code: [Select]
Recommendations
This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

line 10, column 70: Missing atom:link with rel="self" [help]

    <generator>http://sandrailsonly.com/coppermine/rss.php</generator></channel>                                                                      ^Source: http://www.sandrailsonly.com/coppermine/rss.php
<?xml version="1.0" encoding="iso-8859-7"?>
<rss version="2.0"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
>
<channel>
   <title>Photo &amp; Video Gallery</title>
   <link>http://sandrailsonly.com/coppermine/</link>
   <description>Upload your fav photo; watch killer vids! - Last additions</description>
   <generator>http://sandrailsonly.com/coppermine/rss.php</generator></channel>
</rss>

The other posted RSS mods....were flawed, taking too much time to change code issues. This is the ONLY RSS feed mod that I was able to get working.

Thanks for the Easy RSS feed!  ;D

Title: Re: Easy RSS feed
Post by: Marius on March 10, 2008, 07:09:32 pm
Hi
I recently upgraded my Coppermine driven site to v1.4.16, hosted on shared account with Php 4.4.7 and MySQL 4.0, also installed the Easy Rss v1.1 plugin, but the feed doesn't work for index page, it shows this error page: "The selected album/file does not exist !" instead of Last uploads pics
I want to mention that in albums page it works, like http://mysite/rss.php?album=lastup, even for My Favorites, though is nothing in there.
Anyone have a suggestion or advice about this?

See the error here: http://www.desktop-wallpapers.ro/rss.php

Regards
Marius
Title: Re: Easy RSS feed
Post by: Putoguiri on May 27, 2008, 01:13:37 am
Hello,

I've installed the easy rss plugin with an modified rss.php (to make it work with piclens), all went well until I decided to uninstall the plugin, make a little modification and reinstall it. Since then it gives me the "Internal Error 500" each time I tried to acces the rss.php.

I even tried to install the original again, making sure everything was deleted first. Nothing.

Any ideas?

Ps: Looking at the log files of my server didn't really help

[Tue May 27 00:24:11 2008] [error] [client ??.??.??.???] script not found or unable to stat: /web/htdocs/www.museabuse.com/home/gallery/rss.php


Thank you.
Title: Re: Easy RSS feed
Post by: Ludo on July 04, 2008, 09:13:21 pm
Very useful and...easy ;D plugin, but it needs a fix to work with titles containing HTML entities.
In rss.php, change the line
Code: [Select]
              <title>'.($picture[$titlefield]?$picture[$titlefield]:$lang_plugin_easyrss['no'].$lang_plugin_easyrss['label_'.$titlefield]).'</title>to
Code: [Select]
              <title>'.($picture[$titlefield] ? html_entity_decode($picture[$titlefield], ENT_NOQUOTES) : $lang_plugin_easyrss['no'].$lang_plugin_easyrss['label_'.$titlefield]).'</title>
Other fixes and code cleanup required if you want to avoid PHP warnings and to get the feed fully validated.

Title: Re: Easy RSS feed
Post by: driver58 on July 24, 2008, 12:13:14 am
hi
thank no problem
http://www.gallerytr.com/rss.php
Title: Re: Easy RSS feed
Post by: nazcarpine on July 27, 2008, 07:58:53 am
Great plugin. This is what am I looking for.  ;D ;D
Title: Re: Easy RSS feed
Post by: HF OADA on July 31, 2008, 11:28:33 pm
I've uploaded this plugin, but when I try to install it. It doesn't do anything. So please tell me what I must do to get this thing working.
Title: Re: Easy RSS feed
Post by: nointerest on August 05, 2008, 02:37:53 am
@flaquito:

I am translating the Plugin into German. I have difficulty understanding the following parts:

Caption

Last additions

views

No (in the first part of phrases, not those concerning the config).

Could you please give me a context to this things? I understand the seperate words, but not their meaning. That is important however in order to create a logical, meaningful translation.
Title: Re: Easy RSS feed
Post by: Scott O on August 11, 2008, 10:41:06 pm
Does anyone know of a hack or way to get this to work with Google's FeedBurner service?

I have everything set-up correctly.  The only thing I need to do is suppress the original feed that this generates from being shown as an available feed for this site by browsers like Firefox and IE.

I looked at the different files included in this plug-in, but I'm not familiar enough with code to know what I'm looking for.

Thanks in advance.
Title: Re: Easy RSS feed
Post by: Scott O on August 12, 2008, 05:05:03 am
I've been thinking more about what would be required to get this plug-in to work with Feedburner (http://www.feedburner.com).  Here's what I believe the plug-in needs to do to accomplish that:


OPTIONAL:

If someone is really feeling adventurous, they could allow people who are already using this plug-in to redirect to a Feedburner feed.  To accomplish that, I believe the following would need to occur:


I'm willing to go in and edit the code of the existing plug-in, but I have no idea what I need to change.  If someone could spell out instructions, I would be eternally grateful and happy to donate to their "tip jar."

Thanks!
Title: Re: Easy RSS feed
Post by: Scott O on August 12, 2008, 05:12:14 am
OKAY- Hold the phone!

I've noticed that if you use the feed generated by this plug-in as the source for a FeedBurner feed, then subscribe to that Feedburner feed in Bloglines, it continually show the same items as "new" over and over again.  As far as I can tell, this only happens in Bloglines. 

The original (non-Feedburner) feed generated by this plug-in works fine in Bloglines.

Strange.  Any ideas?
Title: Re: Easy RSS feed
Post by: bgrega on August 13, 2008, 04:13:13 am
Sorry in advance for this post.  I'm not a coder, or a developer but I've been tasked with putting up a blog page that needs to have an RSS feed.  I loaded the Easy RSS feed.  It was, well, EASY.  But, How do I configure it to get feeds from other sources?  ie.  Washinghton Post, MSNBC, etc....

Thanks,

Bryan
Title: Re: Easy RSS feed
Post by: flaquito on August 13, 2008, 04:23:45 am
Easy RSS feed only provides a feed. You're looking for a feed reader/aggregator. Search around for documentation or some sort of plugin for whatever blog software you're using.

For everyone else who's made requests, I'm no longer actively developing this plugin. I've enjoyed reading all of the comments from people who are successfully using it, and I apologize to anyone who has had trouble getting it to work. The plugin does what I need it to do, so I'm not working on it anymore. If I do make any changes, I'll certainly update the download. In the meantime, feel free to modify and distribute it however you'd like.
Title: Re: Easy RSS feed
Post by: bgrega on August 13, 2008, 05:11:28 pm
Thank you flaquito.

I will be looking.
Title: Re: Easy RSS feed
Post by: nointerest on August 15, 2008, 11:44:05 pm
I think I have figured out my missing words. I have therefore completed the translation into German. I add the german language file to this post.

As always - if you have suggestions to phrase something better please contact me via PN and I will correct it.
Title: Re: Easy RSS feed
Post by: Scott O on August 17, 2008, 10:16:25 pm
OKAY- Hold the phone!

I've noticed that if you use the feed generated by this plug-in as the source for a FeedBurner feed, then subscribe to that Feedburner feed in Bloglines, it continually show the same items as "new" over and over again.  As far as I can tell, this only happens in Bloglines. 

The original (non-Feedburner) feed generated by this plug-in works fine in Bloglines.

Strange.  Any ideas?

Alright, I think I figured it out.  By default this feed it set up to show number of views on an item.  Every time the view count changed, it would be picked up as a new feed item in Bloglines.  Not sure why Bloglines would show it as new whereas some other feed readers just ignored it.

Anyway, I removed the following line from the rss.php file, removed (deleting the rss file and settings when prompted), then reinstalled the plug-in.  It seems to have corrected the problem.

Code: [Select]
    $caption_text = "<br>".$picture[hits]." ".$lang_plugin_easyrss['views'];
Also when I removed and reinstalled, I was given the option to suppress the auto-detect of the feed generated by this plug-in, so I'm able to use it with Feedburner.  I inserted my own code pointing to the Feedburner feed into my header.

Title: Re: Easy RSS feed
Post by: davieb on October 30, 2008, 04:49:44 pm
Hi I think this is the first RSS feed I've ever got to work out of the box  ;D

However is it possible to remove the image description from the feed? The idea i have is to use the feed on the front page of our site but some members have a habit of writting REALLY long descriptions which throws the page out of whack.

Cheers
Title: Re: Easy RSS feed
Post by: goku on November 06, 2008, 07:44:50 pm
hiiiz sorry to annoy but i installed this plugin but it doesnt show anything. i read the forum and did find the same issue but im not exactly sure what to do with php my admin to fix it. can u please help me in simple language :)
Title: Re: Easy RSS feed
Post by: goku on November 06, 2008, 08:01:16 pm
heyz it sumhow started working. i can see the feeds and yahoo google add butttons below but the problem is if i click on the feed button this error is displayed. please help
Code: [Select]
XML Parsing Error: XML or text declaration not at start of entity
Location: http://www.gokufanclub.com/cpg/rss.php
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-7"?>
Title: Re: Easy RSS feed
Post by: Joachim Müller on November 07, 2008, 02:58:44 pm
Works as expected for me on http://www.gokufanclub.com/cpg/ :
However, you should make sure not to use an apostrophe in your description, as that translates to &#39;, which looks pretty ugly imo.
Title: Re: Easy RSS feed
Post by: davieb on November 08, 2008, 04:37:43 pm
Hi I think this is the first RSS feed I've ever got to work out of the box  ;D

However is it possible to remove the image description from the feed? The idea i have is to use the feed on the front page of our site but some members have a habit of writting REALLY long descriptions which throws the page out of whack.

Cheers

Any help on this anyone?
Title: Re: Easy RSS feed
Post by: Nibbler on November 08, 2008, 04:58:15 pm
Edit the rss.php and remove the <description> bit.
Title: Re: Easy RSS feed
Post by: almararn on November 12, 2008, 02:48:23 am
Nice app, but is there any way of getting the album description in the feed ?
Title: Re: Easy RSS feed
Post by: Ludo on November 13, 2008, 11:29:36 pm
However, you should make sure not to use an apostrophe in your description, as that translates to &#39;, which looks pretty ugly imo.

Very useful and...easy ;D plugin, but it needs a fix to work with titles containing HTML entities.
In rss.php, change the line
Code: [Select]
              <title>'.($picture[$titlefield]?$picture[$titlefield]:$lang_plugin_easyrss['no'].$lang_plugin_easyrss['label_'.$titlefield]).'</title>to
Code: [Select]
              <title>'.($picture[$titlefield] ? html_entity_decode($picture[$titlefield], ENT_NOQUOTES) : $lang_plugin_easyrss['no'].$lang_plugin_easyrss['label_'.$titlefield]).'</title>
;)
Title: Re: Easy RSS feed
Post by: cly on November 19, 2008, 09:26:14 pm
Hello,

I have fixed the problem with categories, it should work now. At least, it works for me :-)

In addition, I have added the album name in the feed title in case one wants to subscribe to several feeds in the same gallery.
You can now also choose to use the picture filename as entry name, it is useful if people don't write titles nor captions.

Christophe.
Title: Re: Easy RSS feed
Post by: ff on December 13, 2008, 08:24:04 am
Maybe it's just me.

Unzipped `Easy_RSS-1.2.zip'
Moved `Easy_RSS' from directory `Easy_RSS-1.2' into `plugins'
Selected Easy RSS to be installed from pluginmgr.php, but when selecting the install-button at the Easy RSS settings it won't install anything
I already tried to set the permissions of the root directory of my album to 777, but no results

Any hints?

(album at http://www.xarno.nl/fotoalbum/)

All I want to do is show the normal images in a RSS-feed so they can be showed at my new digital picture frame ;)
Title: Re: Easy RSS feed
Post by: HF OADA on December 13, 2008, 11:59:16 am
Maybe it's just me.

Unzipped `Easy_RSS-1.2.zip'
Moved `Easy_RSS' from directory `Easy_RSS-1.2' into `plugins'
Selected Easy RSS to be installed from pluginmgr.php, but when selecting the install-button at the Easy RSS settings it won't install anything
I already tried to set the permissions of the root directory of my album to 777, but no results

Any hints?

(album at http://www.xarno.nl/fotoalbum/)

All I want to do is show the normal images in a RSS-feed so they can be showed at my new digital picture frame ;)
I've had the same problem to install it. But when you set the language of Coppermine to English, then go to the Plug-in Manager. Install the Easy RSS and then it's been installed. Then you can set the language of Coppermine back to Durch and you have your Easy RSS working.
Title: Re: Easy RSS feed
Post by: ff on December 13, 2008, 05:20:14 pm
I've had the same problem to install it. But when you set the language of Coppermine to English, then go to the Plug-in Manager. Install the Easy RSS and then it's been installed. Then you can set the language of Coppermine back to Durch and you have your Easy RSS working.

That did the trick.

I think I blew some stuff with my 'own' theme ;)

I had to switch to the default theme and turn the language switch on to be able to change the language.
It didn't work with my own theme :)

Now reconfiguring the feed so that I get the normal pictures and more than 10.

Thank you for your tip.
Title: FramechannelRSS (edit of Easy RSS feed)
Post by: ff on December 27, 2008, 08:22:18 pm
Now reconfiguring the feed so that I get the normal pictures and more than 10.

Done :)

I've edited your plugin to a 'new' one which is an image-only feed.
My digital picture frame and http://www.framechannel.com/ (http://www.framechannel.com/) only support this kind of feed.

At framechannel.com you can choose multiple feeds to be shown at random, at my frame I can only choose one feed.
I wanted multiple categories, but not all to be shown at my frame.

Basically I just edited your rss.php and renamed it to framechannelrss.php and created a framechannelrss.gif.
The references to them are also edited.

Now I can just go to the desired album, copy the feed-url and paste it at framechannel.com

The installation is the same as it was with Easy RSS feed:

Title: Re: Easy RSS feed
Post by: tilusnet on January 22, 2009, 08:31:34 pm
Hi all,

Once installed and configured, how can I reconfigure the plugin?
I seem to not be able to do it in the Coppermine.... Any hints?

Thanks, and by the way, an excellent and transparent plugin! Well done!
Title: Re: Easy RSS feed
Post by: tilusnet on January 22, 2009, 08:45:12 pm
Hi all,

Once installed and configured, how can I reconfigure the plugin?
I seem to not be able to do it in the Coppermine.... Any hints?

Thanks, and by the way, an excellent and transparent plugin! Well done!

I found a solution: you have to edit the database:
Table: e107_cpg_config
Entries: plugin_easyrss_*

I can live with this config at the moment.
Title: Re: Easy RSS feed
Post by: ff on February 04, 2009, 10:26:12 am
Randomise RSS?

I've been looking for a way to randomise the created feed.
I wan't to have randomly chosen images in stead of the last X-images.

I guess some of the variables in
Code: [Select]
$data = get_pic_data($album, $thumb_count, $album_name, $lower_limit, $thumb_p
er_page);
has to be changed.

Am I correct?
I thought about
Code: [Select]
$thumb_count = 0;?
Title: Re: Easy RSS feed
Post by: Halfhidden on February 09, 2009, 07:46:33 pm
Is there anyway that this rss feed can be edited to show the last comments?
Thanks :)
Title: Re: Easy RSS feed
Post by: uk_martin on February 12, 2009, 11:20:56 pm
Houston, We have a problem.

I installed the Easy RSS 1.2 plug-in, and all seemed well in the plugin manager, HOWEVER, I notice that everyone else on here has their rss.php in the root of the gallery, and I don't. I have to navigate to /gallery/plugins/Easy_RSS/rss.php to find the file, and when I try to open it, all I get is a page with:

Code: [Select]
Warning: require(plugins/Easy_RSS/lang/english.php) [function.require]: failed to open stream: No such file or directory in /home/brummie/public_html/gallery/plugins/Easy_RSS/include/init.inc.php on line 21

Warning: require(plugins/Easy_RSS/lang/english.php) [function.require]: failed to open stream: No such file or directory in /home/brummie/public_html/gallery/plugins/Easy_RSS/include/init.inc.php on line 21

Fatal error: require() [function.require]: Failed opening required 'plugins/Easy_RSS/lang/english.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/brummie/public_html/gallery/plugins/Easy_RSS/include/init.inc.php on line 21

Looking at the directory in FTP, all the CHMOD settings seem not to be quite right. I'd have thought that they would need to be 755 to be able to execute, but they all seem to be 644

Any idea what may be going wrong? Is there a way to install this manually in case the plugin manger is at fault?

Thanks in advance.

Martin
Title: Re: Easy RSS feed
Post by: Pascal YAP on February 12, 2009, 11:24:13 pm
Cut RSS.PHP from your actual directory, and Past this file in the Gallery's root.
Try it.
Enjoy
Title: Re: Easy RSS feed
Post by: uk_martin on February 13, 2009, 05:53:13 pm
Cut RSS.PHP from your actual directory, and Past this file in the Gallery's root.
Try it.
Enjoy

Thanks for that...it works...sort of - http://www.brummiesfans.com/gallery/rss.php

Any idea how I can clean up all the broken image links though?

Title: Re: Easy RSS feed
Post by: Halfhidden on February 13, 2009, 06:25:51 pm
@uk_martin have you removed the "powered by Coppermine" notice from your site..... It is a license requirement to display this. It is the very least you can do especially if you are asking for further assistance from the support team.
Title: Re: Easy RSS feed
Post by: uk_martin on February 13, 2009, 07:57:03 pm
Ooops, sorry about that. The footer text was there, but it got caught up with all the rest of the text being changed to red, and the bottom of the page has a red background. I've altered the CSS to show it in yellow.
Title: Re: Easy RSS feed
Post by: uk_martin on February 13, 2009, 08:22:35 pm
Actually going back to why I have broken image links, I think I've worked out the problem. They are links to WMV files in the gallery. How can the feed be restricted to showing just JPG/GIF/PNG's?

Thanks
Title: Re: Easy RSS feed
Post by: Fabricio Ferrero on February 13, 2009, 08:27:07 pm
@uk_martin: Update! You're running many version behind. You're in risk to be hacked. No support for outdated versions.
Title: Re: Easy RSS feed
Post by: uk_martin on February 13, 2009, 08:41:06 pm
@uk_martin: Update! You're running many version behind. You're in risk to be hacked. No support for outdated versions.

OK, thanks for that. I've started downloading the latest version, and I'll get onto the upgrade a little later.

Anyway...a summary of the problems with this so that I don't forget...
1) to find a way to limit thumbnails to photos and not videos
2) to see why, when an thumbnail is clicked, I get a 404 "Not Found" error page with a line indicating (for example) - "The requested URL /gallery/displayimage-2976.html was not found on this server."

Still, one thing at a time...

Title: Re: Easy RSS feed
Post by: Nibbler on February 13, 2009, 08:58:20 pm
1). find

Code: [Select]
foreach($data AS $picture) {


Change to

Code: [Select]
foreach($data AS $picture) {

    if (!is_image($picture['filename'])) {
        continue;
    }

2) Same reason all your files are broken at the moment - SEF urls plugin. Fix or disable it.
Title: Re: Easy RSS feed
Post by: uk_martin on February 14, 2009, 09:14:20 pm
Thanks for all the help guys. And thanks to the creators of the plugin!

I did the update (no thanks to a flakey FTP server which kept bombing out lol, but I got there eventually)

Thanks also to Nibbler for the fixes to the problems that I was having. The results of it all can now be seen on the Photo Wall on my home page - www.brummiesfans.com

Title: Re: Easy RSS feed
Post by: capecodgal on February 15, 2009, 08:47:22 pm
Hi,

Is it possible to change in rss.php something so that the link is the album title and not the file title?

Also so that the entry would show say 3 thumbs of that album, then the next entry in rss is the next last updated album instead of repeating? If your last update had 50 files you would never see more then updates on one album the way it is currently setup

Current example:
http://selenagomezweb.com/photos/rss.php


I realized it was reading the file title but there doesn't seem to be an option for the album title, then summarize what was added to that album and move onto the next album that was updated.


Title: Re: Easy RSS feed no /
Post by: Chinedu813 on February 22, 2009, 11:25:11 pm
currently running Coppermine 1.4.19
I have installed Easy Rss v1.1 and it creates an Rss link as well as all other links, without "/" causing a Page not found error.
See example:
http://starqualityentourage.com/Starpicsrss.php
as opposed to
http://starqualityentourage.com/Starpics/rss.php

Then all subsequent urls are incorrect in this same way
example:
http://starqualityentourage.com/Starpicsdisplayimage.php?pos=-1
as opposed to
http://starqualityentourage.com/Starpics/displayimage.php?pos=-1



Please help me to modify the php page that controls this.  FUnny thing is I installed it in antoher galler about a year ago and it worked. anyway please help.
Title: Re: Easy RSS feed
Post by: Nibbler on February 23, 2009, 12:23:58 am
Add the trailing slash to your gallery url in Coppermine's config.
Title: Re: Easy RSS feed
Post by: Chinedu813 on February 23, 2009, 12:55:44 am
Thank you that was the fix
Title: updating "Plugin-Downloads for cpg1.4.x" ?
Post by: cly on March 17, 2009, 02:14:36 pm
Hello,
I have just browsed the plugin-download page posted a few days ago (http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=314386&release_id=668547)

I think the version of easy_rss could be upgraded to 1.2, as I posted a few enhancements some time ago on http://forum.coppermine-gallery.net/index.php/topic,43848.msg276204.html#msg276204.
What is the "official" to notify a new version?
Title: Re: Easy RSS feed
Post by: Joachim Müller on March 17, 2009, 06:05:20 pm
Merged your extra thread with the existing one. Thanks for your contribution, will look into it asap.
Title: Re: Easy RSS feed
Post by: Ludo on March 30, 2009, 09:52:00 am
Suddenly plugin icons (RSS, My Yahoo, etc.) have stopped displaying at the bottom of my gallery pages, as long as <link> line in <head> section.
I don't know exactly when this happened, I didn't install more plugins after Easy RSS. Reinstalled plugin without any effect.
Any idea for troubleshooting?
Title: Re: Easy RSS feed
Post by: Joachim Müller on March 30, 2009, 03:45:15 pm
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
Title: Re: Easy RSS feed
Post by: Ludo on March 30, 2009, 04:52:28 pm
?
My gallery (http://vanrokken.altervista.org/) is linked under my avatar, and icons should appear even on the home page.
Title: Re: Easy RSS feed
Post by: magnusjohnsson on August 04, 2009, 10:27:00 am
Edit the rss.php and remove the <description> bit.

How much to remove, only the <description> row once (found 2)?
Title: Re: Easy RSS feed
Post by: top10ufo on October 27, 2009, 05:14:29 pm
Hello all,

This is a great plugin, but I ran into the problem of thumbs not showing for files other than images. This wasn't going to work for me as I have PDF's and also modded for Youtube videos (files have a .youtube file extention). So I modded the rss.php to make it work for all files regardless of file extension and it works great. The only problem I have found is if the file name has an "_" in it. Other than that it works just fine.

My RSS Feed: http://top10ufo.com/photos/rss.php (http://top10ufo.com/photos/rss.php)

What you will need to modify in rss.php:

After:
Code: [Select]
$lower_limit = 0;
Add this function:
Code: [Select]
function strip_ext($name)
  {
       $ext = strrchr($name, '.');
       if($ext !== false)
       {
           $name = substr($name, 0, -strlen($ext));
       }
       return $name;
   }

After:
Code: [Select]
    $thumb_url = "$image_url$picture[filepath]$CONFIG[thumb_pfx]$picture[filename]";
Add:
Code: [Select]
    $thumb_url = strip_ext($thumb_url)."";
Find:
Code: [Select]
    $description = '<a href="' . $link_url . $picture['pid'] . '"><img src="' . $thumb_url . '" border="1" vspace="2" hspace="2"> <align="center" ></a><br>';
Change to:
Code: [Select]
    $description = '<a href="' . $link_url . $picture['pid'] . '"><img src="' . $thumb_url . '.jpg" border="1" vspace="2" hspace="2"> <align="center" ></a><br>';


I hope this helps anyone else who needed this functionality
 ;D
Title: Re: Easy RSS feed
Post by: Heroe on November 09, 2009, 10:04:00 am
Thanks for the grate plugin but i have one problem.
I install y'r plugin on my gallery and everything seems to work except that i cant change the encoding http://www.abroadbg.com/rss.php . How can i change the encoding to UTF-8 because my gallery is in cyrillic and the encoding is UTF-8.

Thanks in advance :)
Title: Re: Easy RSS feed
Post by: Joe Carver on November 09, 2009, 04:01:57 pm
Edit file: plugins/Easy_RSS/rss.php

Look for this section:
Code: [Select]
//maybe you must change the encoding to iso-8859-1.
$rssHeader = <<<EOT
<?xml version="1.0" encoding="iso-8859-7"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
>

I hope this helps - however I cannot say with certainty this will solve your problem.
The link returned this error:
Quote
XML Parsing Error: XML or text declaration not at start of entity
Location: http://www.abroadbg.com/rss.php
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-7"?>
Which might mean something other than an error with the encoding type.
Good Luck
Title: Re: Easy RSS feed
Post by: Heroe on November 09, 2009, 05:25:36 pm
I try that after reading all the topic but no changes, The link should work correct.
Title: Re: Easy RSS feed
Post by: paquets on January 04, 2010, 11:05:03 am
I don't know if this will help but I found that the charset issue with this plugin (which is great by the way) can be easily solved by commenting out keywords in rss.php. By doing that I managed to get a feed that was validated by feedburner.

in rss.php find:
Code: [Select]
$keywords = explode(" ",trim($picture[keywords])); 
and simply comment it out:
Code: [Select]
//$keywords = explode(" ",trim($picture[keywords])); 
It worked for me.
paquets
Title: Re: Easy RSS feed
Post by: drownedgod on February 19, 2010, 10:43:27 am
Same concern with celebriene. I love this plugin but I have a screen caps gallery and I usually upload 50-200 photos per album per update. Is there a way to make the feed list just the albums? thanks in advance!


Hi there,

thanks for the plugin, just installed it and it works so far, but I've got some question and/or suggestions which features might be useful to add. I know the plugin is called "easy" RSS feed, but anyway...

-> Is there a way to display the album's name as the title of each feed item? Right now my feed items have no titles/captions in the feed reader because I don't give them titles or captions (and I'm not planning to do so because of the number of images which are added everyday).
-> Is there a way to display a full album per feed item? I often batch 30-60 images per album and having each image delivered as a separate feed item isn't really ideal; it makes the feed look kinda spammy and overwhelming if you got like 300 new feed items in your feed reader ;-)

If I got you right, this plugin doesn't work for categories right now. I really encourage you to implement this feature if you can. My image gallery is celebrity related (where celebrity = category) and the main reason I wanted a RSS feed plugin for coppermine, is because I want my visitors who are fans of a certain celebrity be able to subscribe via RSS to a certain celebrity, so he/she will always be notified if new images of his favorite celebrities are published.

OK, that's it for right now. Thanks for the plugin again!

Bye,
Celebrienne
Title: Re: Easy RSS feed
Post by: une2008 on March 22, 2010, 12:33:41 pm
Hi,

I have a problem with the resize of the rss photos.
I will see the albums/userpics/normal_15_83_2---Tree_web.jpg  in the rss.
Only change the settings but i dont know, how i can do that...

Can u help me?

Thanks
Title: Re: Easy RSS feed
Post by: une2008 on March 22, 2010, 12:35:19 pm
Hi,

I have a problem with the resize of the rss photos.
I will see the albums/userpics/normal_15_83_2---Tree_web.jpg  in the rss.
Only change the settings but i dont know, how i can do that...

Can u help me?

Thanks

I see only 100x75 thumbs....
I will see the big format...
Title: Re: Easy RSS feed
Post by: Joachim Müller on March 22, 2010, 02:56:55 pm
@une2008: you could at least read the thread you're replying to...
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
Title: Re: Easy RSS feed
Post by: une2008 on March 22, 2010, 08:43:30 pm
I am sorry, it will not happen!
Because I had to quickly resolve problems that I have let go!

Can you help me with this problem?

Thanks
Title: Re: Easy RSS feed
Post by: Joachim Müller on March 23, 2010, 07:15:52 am
Are you playing stupid on purpose? Stop cluttering this announcement thread if you can't respect basic board rules. For the lazy like you, let me quote the part of the board rules that you constantly ignore:
8. Post links
When posting a support request, it's helpfull for supporters in most cases to see what the actual page looks like, that's why it's mandatory that you always post a link to your coppermine gallery page when asking for support. If your site contains adult content, make sure to post a warning together with your link!

Supporters might get into issues if they accidentally visit a page that interferes with their employer's internet policy. If your site contains adult content (even mild nudity even falls into this category), post the words "not safe for work" next to the link.
Title: Re: Easy RSS feed
Post by: une2008 on March 23, 2010, 02:53:03 pm
Sorry!!

http://www.postribe.com/album is the website
http://www.postribe.com/album/rss.php?album=lastup (i will see the normal picture here)

have i now understand it good?
Title: Re: Easy RSS feed
Post by: une2008 on March 30, 2010, 12:36:12 pm
Hi,

Sorry for sending again the same question, but i dont get the answer!!

I have a problem with the resize of the rss photos.
I will see the albums/userpics/normal_15_83_2---Tree_web.jpg  in the rss.
Only change the settings but i dont know, how i can do that...

I see only 100x75 thumbs....
I will see the big format...


http://www.postribe.com/album is the website
http://www.postribe.com/album/rss.php?album=lastup (i will see the normal picture here)

Can u help me?

Thanks
Title: Re: Easy RSS feed
Post by: Joachim Müller on March 30, 2010, 03:11:33 pm
You'll have to re-code the plugin to accomplish that, which is beyond the scope of this board.
Title: Re: Easy RSS feed
Post by: une2008 on March 30, 2010, 06:04:01 pm
You'll have to re-code the plugin to accomplish that, which is beyond the scope of this board.

Sorry I do not know what to do, I do not understand
Title: Re: Easy RSS feed
Post by: Joachim Müller on March 31, 2010, 07:49:48 am
OK, the short version.:

Your question:
Can u help me?
My answer: no!
Title: Re: Easy RSS feed
Post by: une2008 on March 31, 2010, 02:38:58 pm
oke, Sorry
Title: Re: Easy RSS feed
Post by: une2008 on April 01, 2010, 07:17:03 pm
Can somebody others help me???

Please, and sorry for my anglish!!!

Thanks
Title: Re: Easy RSS feed
Post by: Joachim Müller on April 02, 2010, 09:42:40 am
Nobody can or rather: nobody is willing to do so. Stop cluttering this thread - you're out of it!