-
☆ A M B ☆
- 1,231 Posts
[!FeedX? &preset=`rss` &url=`
http://www.teamwarfare.com/xml/viewteam_v2.asp|xq|team|xe|EliteRedBoneRangers` &preset=`league` &caheTime=`3600` &debug=`1`!]
My league preset is become fairly complex but even when I make a simple one it’s doubling data up.
It looks like you are specifying 2 presets -- both "rss" and "league" -- each of those will display output, won’t they?
Oh, and you also still have a typo copied from the dox in the download -- that should be "&cacheTime"
-
☆ A M B ☆
- 1,231 Posts
Yeah I just realised my typos there! I actually have it set correctly in my modx manager but it’s still duplicating information.
-
☆ A M B ☆
- 1,231 Posts
The exact same...
CLICK HERE
I may not of got my templates correct but I’m sure that I have... It’s running at the basics just now but as you can see, info is being doubled up.
Thanks
Interesting. Rank 4 appears to have no duplicates at all, while rank 3 duplicates some things but not others. Perhaps your coding is just fine but the incoming RSS feed is screwed?
-
☆ A M B ☆
- 1,231 Posts
OK, feed looks fine. From reviewing your debug console, it looks like the problems are related to:
a. Your loaded templates only include room for 8 players, while the feed has more than that for some of its listings; and
b. You only try to display info for scheduled matches, while the feed also has info for divisions where you have no pending matches.
Maybe the issues would clear themselves if you tried to display all of the available data?
If that works okay, then you could prune it, item by item, until it just showed what you wanted.
-
☆ A M B ☆
- 1,231 Posts
I have tried to create all the files needed for the feed but I ran in to problems with links being constantly repeated over and over, causing the page to error. I don’t really understand the debug template completely so probably done something wrong.