xfeed RRS isues xfeed RRS isues
 

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

xfeed RRS isues

Started by Chris S, March 06, 2020, 04:53:51 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Chris S

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?


ron4mac

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?

Chris S

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

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.   


ron4mac

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.