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]   Go Down

Author Topic: xfeed RRS isues  (Read 241 times)

0 Members and 1 Guest are viewing this topic.

Chris S

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
xfeed RRS isues
« on: March 06, 2020, 04:53:51 pm »

Hi, I have been using he following code with the xfeed plugin version 1.5 since 2014:

http://fishnbc.com/cpg/index.php?file=xfeed/xfeed&album=random&cat=0          (for random photos from the gallery)

and format:

http://fishnbc.com/cpg/index.php?file=xfeed/xfeed&album=1&cat=1           (to get photos from a specific album)


I just upgraded to xfeed plugin version 1.6 and the above feeds stopped working properly.

  http://fishnbc.com/cpg/index.php?file=xfeed/xfeed&album=random&cat=0  now keeps displaying the same photos instead of random photos, and

  http://fishnbc.com/cpg/index.php?file=xfeed/xfeed&album=1&cat=1  now keeps displaying the same photos regardless of album and/or category.


Can anybody tell me what went wrong?

Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1442
Re: xfeed RRS isues
« Reply #1 on: March 06, 2020, 05:44:09 pm »

If you click on the link for random images above, you get XML that, each time you refresh it, is a different set of images. So the plugin is working as expected.
I suspect your main page is being cached. Is use of cloudflare or something enabled in your hosting account?
Logged

Chris S

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: xfeed RRS isues
« Reply #2 on: March 06, 2020, 08:50:50 pm »

If you click on the link for random images above, you get XML that, each time you refresh it, is a different set of images. So the plugin is working as expected.
I suspect your main page is being cached. Is use of cloudflare or something enabled in your hosting account?

Thank-you, for your answer!
My site doesn't seem to be set to cache RRS or images and the host hasn't activated cloudflare on my account; however the feed is going through a third party widget and displayed on my site via an iframe, so I sent the third party an enquiry about that and am waiting on an answer.

To elaborate on the second issue;  In some (but not all) cases the feed displays photos from the wrong album, ie;
http://fishnbc.com/cpg/index.php?file=xfeed/xfeed&album=60
  is displaying photos from album 204 instead.  Album 204 is displayed in most or all cases where the wrong album photos are being displayed.   

Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1442
Re: xfeed RRS isues
« Reply #3 on: March 06, 2020, 09:41:24 pm »

Unless you need the rss feed for another use, you might want to consider CPM Fetch to display gallery images in another package.
https://forum.coppermine-gallery.net/index.php/topic,65412.0.html

It also wouldn't be too difficult to come up with a small rss reader widget that could reside on your site.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.