Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 2 3 4 5 [6] 7   Go Down

Author Topic: Easy RSS feed  (Read 181224 times)

0 Members and 1 Guest are viewing this topic.

Halfhidden

  • Guest
Re: Easy RSS feed
« Reply #100 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.
Logged

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Easy RSS feed
« Reply #101 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.
Logged

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Easy RSS feed
« Reply #102 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
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Easy RSS feed
« Reply #103 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.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Easy RSS feed
« Reply #104 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...

Logged

Nibbler

  • Guest
Re: Easy RSS feed
« Reply #105 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.
Logged

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Easy RSS feed
« Reply #106 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

Logged

capecodgal

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 123
Re: Easy RSS feed
« Reply #107 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.


Logged

Chinedu813

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Easy RSS feed no /
« Reply #108 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.
Logged

Nibbler

  • Guest
Re: Easy RSS feed
« Reply #109 on: February 23, 2009, 12:23:58 am »

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

Chinedu813

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Easy RSS feed
« Reply #110 on: February 23, 2009, 12:55:44 am »

Thank you that was the fix
Logged

cly

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
updating "Plugin-Downloads for cpg1.4.x" ?
« Reply #111 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Easy RSS feed
« Reply #112 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.
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Easy RSS feed
« Reply #113 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Easy RSS feed
« Reply #115 on: March 30, 2009, 04:52:28 pm »

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

magnusjohnsson

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Easy RSS feed
« Reply #116 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)?
Logged

top10ufo

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
  • www.top10ufo.com
    • Best UFO Videos
Re: Easy RSS feed
« Reply #117 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

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
Logged

Heroe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 124
    • abroadbg.com
Re: Easy RSS feed
« Reply #118 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 :)
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Easy RSS feed
« Reply #119 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
Pages: 1 2 3 4 5 [6] 7   Go Up
 

Page created in 0.036 seconds with 20 queries.