Easy RSS feed - Page 6 Easy RSS feed - Page 6
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Easy RSS feed

Started by flaquito, May 17, 2007, 09:27:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Halfhidden

@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.

uk_martin

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.

uk_martin

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

Fabricio Ferrero

@uk_martin: Update! You're running many version behind. You're in risk to be hacked. No support for outdated versions.
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

uk_martin

Quote from: 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.

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...


Nibbler

1). find


foreach($data AS $picture) {



Change to


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.

uk_martin

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


capecodgal

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.



Chinedu813

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.

Nibbler

Add the trailing slash to your gallery url in Coppermine's config.

Chinedu813

Thank you that was the fix

cly

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?

Joachim Müller

Merged your extra thread with the existing one. Thanks for your contribution, will look into it asap.

Ludo

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?

Joachim Müller


Ludo

?
My gallery is linked under my avatar, and icons should appear even on the home page.

magnusjohnsson

Quote from: Nibbler on November 08, 2008, 04:58:15 PM
Edit the rss.php and remove the <description> bit.

How much to remove, only the <description> row once (found 2)?

top10ufo

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

What you will need to modify in rss.php:

After:
$lower_limit = 0;

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


After:
    $thumb_url = "$image_url$picture[filepath]$CONFIG[thumb_pfx]$picture[filename]";

Add:

    $thumb_url = strip_ext($thumb_url)."";


Find:
    $description = '<a href="' . $link_url . $picture['pid'] . '"><img src="' . $thumb_url . '" border="1" vspace="2" hspace="2"> <align="center" ></a><br>';

Change to:
    $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

Heroe

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 :)

Joe Carver

Edit file: plugins/Easy_RSS/rss.php

Look for this section:
//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:
QuoteXML 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