forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 plugins => Topic started by: Chris S on March 06, 2020, 04:53:51 pm

Title: xfeed RRS isues
Post by: Chris S 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?

Title: Re: xfeed RRS isues
Post by: ron4mac 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?
Title: Re: xfeed RRS isues
Post by: Chris S 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.   

Title: Re: xfeed RRS isues
Post by: ron4mac 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.