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

XML API returns malformed data

Created 12th February 2013 @ 06:15

Add A Reply Pages: « Previous 1 2

nTraum

\V/ Gold
LAME

The whole database is poorly designed (and by poorly I mean wtfyoumad-poorly), accessing data from it therefore isn’t that easy.
Modularized code? No. It basically contains of a dozens big files. Documentation? Not present. Seperation of view and program logic? Not present.
Any kind programming paradigm? Not existing. ORM? nopy nope, pure sql statements.

Don’t even get me started guys.


Last edited by nTraum,

slate

(ETF2L Donator)
AMG

cannot reproduce.

for example:

http://etf2l.org/feed/match/?comp=170&team=15758

outputs doublequotes, ampersand and single quotes in “M&M’s” as unicode entities

like:
http://pastebin.com/Bp7jRZTq

or am I missing something?

-slate


Last edited by slate,

Spike Himself

TC

nvm im dumb

also this, for chris:

http://validator.w3.org/check?uri=http%3A%2F%2Fetf2l.org%2Ffeed%2Fmatch%2F%3Fcomp%3D170%26team%3D15758&charset=%28detect+automatically%29&doctype=Inline&group=0

so yeah, basically what slate said – this issue does not exist
damnit, now we did end up spending time on it anyway! :D


Last edited by Spike Himself,

Arie

(serveme.tf)
FB
[FB]

:D :D :D

So did Chris just c/p Chrome’s rendering of the XML? Because that would take out the html entities.

Admirable

(Toucan Ambassador)

lol get raped!

Spike Himself

TC

Quoted from Arie

:D :D :D

So did Chris just c/p Chrome’s rendering of the XML? Because that would take out the html entities.

It seems that’s what happened, yes

octochris

(0v0)

Considering this error was not found in Chrome, but in a client application that has nothing to do with it…you might also note that it was confirmed in a post by nTraum.


Last edited by octochris,

nTraum

\V/ Gold
LAME

I didn’t confirm the error, I confirmed the statement that Dave is working on a new API. Sorry for being unclear.

Arie

(serveme.tf)
FB
[FB]

Quoted from octochris

Considering this error was not found in Chrome, but in a client application that has nothing to do with it…you might also note that it was confirmed in a post by nTraum.

URL or GTFO, or you got trolled by ETF2L site admins that quickly patched it ;)

Add A Reply Pages: « Previous 1 2