Advanced search  

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

Pages: [1]   Go Down

Author Topic: xfeed RRS isues  (Read 3732 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

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
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

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
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.017 seconds with 19 queries.