XF 2.2 RSS Feeder not working as expected in XenForo 2.2

RisteD

Member
So, i've configured everything that should be fetched from my site, the rss where it should be fetched is:
First of all there was planning to be all news placed in my custom site that can be fetched from my forum and place a new topic in announcements, but when i did not success via fixing the bug i was edited my news rss in my site and place only 1 item newer in rss, but again still not working as expected, here is the result by manually calling import data from rss.
Response:
array(6) {
["active"] => array(1) {
[1] => string(1) "0"
}
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(17) "/admin.php?feeds/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
["feeds/toggle"] => string(0) ""
}
 

Chris D

XenForo developer
Staff member
It seems to import a thread on my development forum.

1600638005947.png

Without more details it will be difficult to ascertain what the issue might be.

I recommend testing accessing it from a different server, perhaps such as the Admin demo, to rule out any issues with the server itself.
 

Chris D

XenForo developer
Staff member
The RSS feed only contains one item. That item seems to have been posted to your Obavestenja section. That same item has been posted to my local install.

I'm not sure what you're expecting to see but it looks like everything is behaving correctly.
 

RisteD

Member
The RSS feed only contains one item. That item seems to have been posted to your Obavestenja section. That same item has been posted to my local install.

I'm not sure what you're expecting to see but it looks like everything is behaving correctly.
See in my forum that there is no announcement in forum about graph issue. The first related to gametracker was my 1st announcement but not the second.
Like a said there is a bug, cache or rss fetcher module bug in forum. I set it up to automatic check for every 10 minutes, but it seems that the second (newest) news from my site is missing which was

Graph for players not showing up​

We are aware that graph for servers in some cases won't show up. We are aiming to fix this issue as soon as possible.
Which u can see also http://prntscr.com/ukrgf9
You can see it for urself also on https://gametracker.vip

I've earlier in my previous posts mentioned that before my RSS on my custom site that i've developed it, it was coded to put all items from base about news, but i've experienced problems in getting the items like i'm trying to explain then i switched my rss in my website to put only newest site announcements only which was limit set to just 1 and still not working.
 

Chris D

XenForo developer
Staff member
I can see now the entry in your forum is different to the one in the RSS feed.

As I said before, though, that's not something I can reproduce. I did ask you to test it on a different forum, such as via the Admin demo, which you didn't report back on.

You can see here that the correct thread has been posted from the RSS feed:


Given that we cannot reproduce the issue, there is no bug and there is likely another issue at play that is specific to your forum.

As you have had issues initially setting up the feed, all I can really recommend at this point is deleting the feed entirely and setting it up again. Hopefully you will now have consistent results.
 

RisteD

Member
The first time everything will work, if you check on my forum https://forum.gametracker.vip in obavestenja you will notice the one thread containing with prefix GameTracker about Optimization. that was 1st call.

Then automatic call wasn't working anymore. Even i did manually import on that RSS.
Wait let me put some news in my site then we will see. Don't delete anything from test D
 

Chris D

XenForo developer
Staff member
The issue appears to be with the feed itself.

We have mechanisms in place to ensure we do not import duplicate items. One way we do that - and is required to be a valid RSS feed - is via the GUID field.

You can see our RSS feeds have one:

XML:
    <item>
      <title>RSS Feeder not working as expected in XenForo 2.2</title>
      <pubDate>Sun, 20 Sep 2020 23:24:35 +0000</pubDate>
      <link>https://xenforo.com/community/threads/rss-feeder-not-working-as-expected-in-xenforo-2-2.185457/</link>
      <guid>https://xenforo.com/community/threads/rss-feeder-not-working-as-expected-in-xenforo-2-2.185457/</guid>
...

Your RSS feed does not have one:

XML:
        <item><title>Tomorrow Sync</title><description>We will have scheduled task for tomorrow:

- Ranking will be temporarily disabled for all games from 10:00 PM server time to 11:00 PM.</description><link>https://gametracker.vip</link></item>

The <guid> in our case is just the link to the content. It doesn't have to be a link but it does have to be some sort of unique ID, such as the database ID of the content, or similar.

e.g. GameTracker.vip Optimization could be ID 1 and Graph for players not showing up could be ID 2 and so on.

Once you've added a unique ID to each item, they will import correctly.

Currently XF sees your unique ID as whatever the <link> of the content is, but for both the original item and the current item the link is:

XML:
<link>https://gametracker.vip</link>
 

RisteD

Member
The link is currenly that inside content thread you'll see the

Continue reading link and then he redirects to the link.
Maybe i should add the ID from the news article inside guid?
 
Top