x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 

Forum

[FAQ] Matches XML Feed

Created 22nd July 2008 @ 10:36

Add A Reply Pages: 1

ST8

Ive just implemented an xml feed for upcoming matches and results. It currently shows scheduled fixtures for the next 3 days and recent results.

URL: http://etf2l.org/?feed=match

You can add the following additional query strings:

&comp=1,2,3
Shows only selected competitions

&team=16
Shows only scheduled matches & results for a certain team

&show=10
Limits how many matches to show, default is 20

[FOG] yu

This is very nice thingy, but can you add XML feed also for ‘RECENT RESULTS’? (with team country)

DeNeusbeer

(Legend)
HoT<3

try http://etf2l.org/?feed=match&days_ahead=-1&show=5

[FOG] yu

oh my god.. i’ve tried so many times to find right parameter.. THANK you very, very much! )) i’ll show you what i want it for later )

DeNeusbeer

(Legend)
HoT<3

mind it’s not an exact copy of the recent results widget on the side, but it was the closest i could get without changing any code.

[FOG] yu

mind it’s not an exact copy of the recent results widget on the side

..thinking… but what the differences? oO

Orange

KORE
element //

possible to make players XML feed?
etf2l.org/user.php?id=2
etf2l.org/user.php?steamid=STEAM_0:0:XXXXXX or 0:0:XXXXXX

on result teamname, username and div.

Orange

KORE
element //

bump my question

ST8

Would have thought so, ill add it to the list!

ST8

Done

http://etf2l.org/?feed=player&id=etf2lid
http://etf2l.org/?feed=player&steamid=steamid

Nigh

¿
TF2.ro

Any way to filter the country ?
Like http://etf2l.org/?feed=match&days_ahead=-1&show=5&country=Romania

Edit: Stupidness of asking an obvious thing that i’ve did it my self xD

Edit2: Is is posible ST8 to convert that XML Feed into RSS directly ? So i can use it like a Wordpress widget ?


Last edited by Nigh,

MaxC

Something like this, perhaps?
http://www.onlinegamer.se/xmlread.php

You can grab the sourcecode from here. Do what you want with it.

http://www.onlinegamer.se/xmlread.rar

/MaxC

Mors Immortalis

KoP!?

Hey guys, any idea why sometimes we don’t get map scores in the feed?
like here

<result r1="3" r2="3">
<map id="1" r1="2" r2="6"/>
<map id="2" r1="4" r2="1"/>
</result>

if there is a def win for a match, it doesn’t have map scores, what is, lets say – normal

< result r1="3" r2="3"> < /result >

but sometimes there is just no map scores even if the match was played
like here for example http://etf2l.org/feed/match/?days_ahead=-1&days=15&country=Poland&show=99


Last edited by Mors Immortalis,

Add A Reply Pages: 1