Re: [rt-users] RT REST parser on php (json? xml?)
On 06/09/2012 10:11 PM, Sam Schmidt wrote: I just finished adding a parser to my PHP RT library here: https://github.com/dersam/RTPHPLib It should parse most responses from RT into an array (at least as far as I've tested). Cool! I'll test it and tell you about the experience. Thanks for your contrib -- Atte. Andres Altamirano Subdirección Innovación Tecnológica Dirección de Informática Pontificia Universidad Católica de Chile Campus San Joaquin. Vicuña Mackena 4860 Fono: +56 2 3547183 smime.p7s Description: S/MIME Cryptographic Signature
Re: [rt-users] RT REST parser on php (json? xml?)
I just finished adding a parser to my PHP RT library here: https://github.com/dersam/RTPHPLib It should parse most responses from RT into an array (at least as far as I've tested).
Re: [rt-users] RT REST parser on php (json? xml?)
On 06/04/2012 01:05 PM, Thomas Sibley wrote: On 06/04/2012 12:58 PM, Andres Altamirano wrote: Older than xml too? No... which is why I didn't say that. Thanks for your useful help. -- Atte. Andres Altamirano Subdirección Innovación Tecnológica Dirección de Informática Pontificia Universidad Católica de Chile Campus San Joaquin. Vicuña Mackena 4860 Fono: +56 2 3547183 smime.p7s Description: S/MIME Cryptographic Signature
Re: [rt-users] RT REST parser on php (json? xml?)
On 06/04/2012 12:58 PM, Andres Altamirano wrote: > Older than xml too? No... which is why I didn't say that.
Re: [rt-users] RT REST parser on php (json? xml?)
On 06/04/2012 11:01 AM, Thomas Sibley wrote: On 06/04/2012 10:46 AM, Andres Altamirano wrote: I'd like to know if there are scripts, o code on php to parse RT REST. It's difficult to do it from php without having to build a parser. Does anybody knows one? I have seen many restful app which are using xml or json. There are a lot of interfaces to do the parsing job in these cases. Why RT don't uses that sort of specs? I can't help you with PHP, but the reason RT's REST-like interface doesn't use JSON is because it predates JSON. ;) Older than xml too? -- Atte. Andres Altamirano Subdirección Innovación Tecnológica Dirección de Informática Pontificia Universidad Católica de Chile Campus San Joaquin. Vicuña Mackena 4860 Fono: +56 2 3547183 smime.p7s Description: S/MIME Cryptographic Signature
Re: [rt-users] RT REST parser on php (json? xml?)
On 06/04/2012 10:46 AM, Andres Altamirano wrote: > I'd like to know if there are scripts, o code on php to parse RT REST. > It's difficult to do it from php without having to build a parser. Does > anybody knows one? > > I have seen many restful app which are using xml or json. There are a > lot of interfaces to do the parsing job in these cases. > > Why RT don't uses that sort of specs? I can't help you with PHP, but the reason RT's REST-like interface doesn't use JSON is because it predates JSON. ;)