Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: RFC Metaserver overhaul
Home

[Freeciv-Dev] Re: RFC Metaserver overhaul

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Peter Dam Mains <lancelot@xxxxxxxxxxx>
Cc: "'Reinier Post'" <rp@xxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: RFC Metaserver overhaul
From: Paul Zastoupil <paul@xxxxxxxxxxxxx>
Date: Tue, 5 Nov 2002 17:28:58 -0800

I think I'm going to go with Reinier on this one.  We don't really need
XML, I'm not sure that it gains us anything.  We only need key/value
pairs.  No need for any parser that way.

Besides Dam, you've already had your chance at the metaserver ;)

(Sorry, no harm meant, I had to say something. Good to see you on the
list btw. )

On Wed, Nov 06, 2002 at 02:17:58AM +0100, Peter Dam Mains wrote:
> XML is a standard supported on pretty much every platform, every
> language , so choosing XML would give you the parser for free. I don't
> see any argument against choosing XML. :)
> 
> /Peter Dam Mains
> 
> -----Original Message-----
> From: freeciv-dev-bounce@xxxxxxxxxxx
> [mailto:freeciv-dev-bounce@xxxxxxxxxxx] On Behalf Of Reinier Post
> Sent: 5. november 2002 17:02
> To: freeciv-dev@xxxxxxxxxxx
> Subject: [Freeciv-Dev] Re: RFC Metaserver overhaul
> 
> 
> On Sat, Nov 02, 2002 at 11:51:05PM +0000, Vasco Alexandre Da Silva Costa
> wrote:
> > On Sat, 2 Nov 2002, Raimar Falke wrote:
> > 
> > > On Sat, Nov 02, 2002 at 04:24:52PM +0000, Vasco Alexandre Da Silva 
> > > Costa wrote:
> > > > I propose we format the information from the server to the 
> > > > metaserver in XML. Here is a sample of the proposed format minus 
> > > > XML info:
> > > >
> > > > <metainfo version="1.0">
> > > >   <game name="Freeciv">
> > > ...
> > > >   </game>
> > > > </metainfo>
> > >
> > > I propose using the ini format (as implemented in common/registry). 
> > > You can express the same. Advantage is that we have an existing 
> > > parser (and also writer).
> > 
> > For the server this may be true. But for a PHP metaserver it is not. 
> > Also, since we are bothering to use HTTP for the metaserver this time,
> 
> > why not use web formats? Besides, the server only needs to send XML, 
> > not parse it.
> > 
> > For the info requested by the client to the metaserver I was thinking 
> > of using an easily parseable format:
> 
> I don't see the point of having a specific format other than the
> standard attribute-value formatting defined by HTTP POSTs.
> 
> -- 
> Reinier
> 

-- 
Paul Zastoupil


[Prev in Thread] Current Thread [Next in Thread]